PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WEBDEV 2024 → Making a control Inactive or Disable
Making a control Inactive or Disable
Iniciado por Carlos Antunez, 10,oct. 2014 21:02 - No hay respuesta
Publicado el 10,octubre 2014 - 21:02
Hi all and thanks in advanced for the help.

I have a combobox in one of my pages that I would like to disable (Grayed or whatever is called) based on a expression.

For example I have tried the following and non of them works

If this = this then
Thiscombobox..Sate = Inactive
End

or
If this = this then
Thiscombobox..State = Grayed
End


I can only Gray Out the control(Disabled, meaning the user cannot click on it) if I go into the description of the control and under the GUI tab I click on grayed, but I cannot do it grammatically.

Thanks for the help.