PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → [WD20] how to enable a disabled checkbox
[WD20] how to enable a disabled checkbox
Iniciado por vido.vouk, 30,oct. 2015 12:11 - 3 respuestas
Publicado el 30,octubre 2015 - 12:11
I have a window with a checkbox.
In my window this checkbox is disabled by default (describing a check box -> GUI -> initial status)

In some circumstances I would like to ENABLE this checkbox in runtime.

This must be simple but I have not found in the help.
Publicado el 30,octubre 2015 - 12:41
Please try this: CBOX_CheckBox[1] = true

where:
CBOX_CheckBox is the checkbox control name
1 is option number (in this exemple the first line is enabled)

Bruno
Publicado el 30,octubre 2015 - 12:49
Hi

look at the ..state property, or the ..grayed property

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


On 10/30/2015 6:11 AM, vvido wrote:
I have a window with a checkbox. In my window this checkbox is disabled
by default (describing a check box -> GUI -> initial status)

In some circumstances I would like to ENABLE this checkbox in runtime.

This must be simple but I have not found in the help.
Publicado el 30,octubre 2015 - 13:53
Thanks to both, I knew it was simple.

Now I am using
CBOX_user..state = Active