Jump to content

the default checked radio


Recommended Posts

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..

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...