Sign in to follow this  
Followers 0
Christopher Blue

Working with radio button groups...

4 posts in this topic

#1 ·  Posted (edited)

I know how to create radio button groups, but how do I check which button in the group is selected without pacing through each and every button?

Edited by Christopher Blue

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

There can be only one checked

from help...

$radio1 = GUICtrlCreateRadio  ("Radio 1", 10, 10, 120, 20)
$radio2 = GUICtrlCreateRadio ("Radio 2", 10,  40,  120,  20)
GUICtrlSetState ($radio2, $GUI_CHECKED)


oÝ÷ ÚÚç$ú'z+,zWµçbÂ¥vëjv«­¬ºÚ"µÍ[H    ÌÍÜY[ÖÌ×K ÌÍØÚXÚÙYÜY[ÂÌÍÜY[ÖÌWHHÕRPÝÜX]TY[È
    ][ÝÔY[ÈI][ÝËLLL
BÌÍÜY[ÖÌHHÕRPÝÜX]TY[È
    ][ÝÔY[È][ÝËL
L
BÕRPÝÙ]Ý]H
    ÌÍÜY[Ì  ÌÍÑÕRWÐÒPÒÑQ
BÈ]ÈÚXÚËÜ ÌÍÞHHÈPÝ[
    ÌÍÜY[ÊBRY][
ÕRPÝXY
    ÌÍÜY[ÖÉÌÍÞJK    ÌÍÑÕRWÐÒPÒÑQ
HH  ÌÍÑÕRWÐÒPÒÑQ[BIÌÍØÚXÚÙYÜY[ÈH    ÌÍÜY[ÖÉÌÍÞBBQ^]ÛÜQ[Y^

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Thanks Valuater!

Edited by Christopher Blue

Share this post


Link to post
Share on other sites

Thanks Valuater!

Welcome

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0