Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2008
    Location
    Taiwan
    Posts
    9

    Get RadioButton Checked

    I have three RadioButton.
    That Object are RadioButton1,RadioButton2 and Radiobutton3.
    The three RadioButton have the some ground name is Choose.
    My sousecode is

    for i=1, 3 do
    vRadioButton = Button.GetState("RadioButton"..i);
    if vRadioButton then
    -- RadioButton.SetChecked("RadioButton"..i, true); --
    INIFile.SetValue(_TempFolder.."\\MySoftCD.ini", "RadioButton", "RadioButton"..i, "1");
    else
    INIFile.SetValue(_TempFolder.."\\MySoftCD.ini", "RadioButton", "RadioButton"..i, "0");
    end
    end

    so how do I get the check to
    vRadioButton = Button.GetState("RadioButton"..i);

  2. #2
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    Hello,

    this might work better:
    Code:
    vRadioButton = RadioButton.GetState("RadioButton"..i);
    Ulrich

Similar Threads

  1. Examples: Saving & Using Data in INI File Dynamically (License Agreement)
    By SiNisTer in forum AutoPlay Media Studio 7.5 Examples
    Replies: 3
    Last Post: 03-24-2009, 09:39 AM
  2. help with RadioButton
    By zoya in forum AutoPlay Media Studio 7.5 Suggestions
    Replies: 4
    Last Post: 04-19-2008, 02:07 PM
  3. Checked nodes
    By boshkash in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 03-31-2007, 08:13 AM
  4. Tree default checked
    By purg in forum AutoPlay Media Studio 6.0
    Replies: 5
    Last Post: 10-02-2005, 06:03 PM
  5. List box : How to get checked lines ?
    By DavDes in forum Setup Factory 7.0
    Replies: 2
    Last Post: 02-02-2005, 08:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts