PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → windev 21 checkbox question
windev 21 checkbox question
Iniciado por guest, 16,ago. 2017 14:23 - 2 respuestas
Publicado el 16,agosto 2017 - 14:23
Does anyone know how to find out witch checkbox is checked if in a control are several check boxes.

Is there some kind of property ?



thanks

Regards
Allard
Publicado el 16,agosto 2017 - 14:56
CurrentSubscript()
Publicado el 17,agosto 2017 - 00:04
Good afternoon you could do it like this. For example if you have a checkbox control with 3 options you could do this

FOR i = 1 _TO_ 3
SWITCH i
CASE 1
//If the first option is checked then
IF CBOX_NoName[ i ] = TRUE THEN

END
CASE 2
//If the second option is checked then
IF CBOX_NoName[ i ] = TRUE THEN

END
CASE 3
//If the third option is checked then
IF CBOX_NoName[ i ] = TRUE THEN

END
END
END

Hope this helps