Jump to content
Sign in to follow this  
Christopher Blue

Working with radio button groups...

Recommended Posts

Christopher Blue

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
Valuater

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
Christopher Blue

Thanks Valuater!

Edited by Christopher Blue

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.