Jump to content
Sign in to follow this  
alienkillaz

the default checked radio

Recommended Posts

alienkillaz

ok so i have several radio's in my GuI and i want my script to read form an .ini to determine which radio to be selected when the gui is opened

$state = IniRead("setting.ini","setting","art","")
$therma = GUICtrlCreateRadio("thermaturgy",10,40)
if $state = "therma" Then 
    GUICtrlSetState($therma,$GUI_CHECKED)
    EndIf

and this is whats in my setting.ini:

[setting]
art=therma

it has been coded correctly but it simply does not work..

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.