PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WM 20: changing checkbox option title progamatically
WM 20: changing checkbox option title progamatically
Iniciado por guest, 04,feb. 2016 13:58 - 5 respuestas
Publicado el 04,febrero 2016 - 13:58
Hi All,

I'm sure this is simple...

How can I change the checkbox 'option' text by programming?

I can change the caption using:

CBOX_checkbox..caption="New Caption"


Is there a way to do this?

Thanks

Pete
Publicado el 04,febrero 2016 - 19:57
Not tested but try

CBOX_checkbox..caption="New Caption"

Where 'i' is the check box option position.
Publicado el 04,febrero 2016 - 20:28
Hi,

Did you mean something like:

CBOX_checkbox[subscript]..caption="New Caption"

http://help.windev.com/en-US/…
Publicado el 04,febrero 2016 - 21:04
Yes, exactly that - well spotted

Forum software remove my square brackets.
No idea where 'italics' came from:confused:
Publicado el 05,febrero 2016 - 10:02
Hi, please use the "formatted code" tag for an exact reproduction of any code! Thank you!

This can be any [{ABC+"DEF"}] ...
Publicado el 05,febrero 2016 - 13:21
Thanks Darren and Derek

Sorry Guenter!