Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2006
    Posts
    21

    moving to different screens using radio buttons

    ok, so I have a installation screen that displays radio buttons, and from that, I want to pull the results of that radio button and skip and go to a different screen. How do I do that? this is my code...

    if RadioSelection == "Domestic Installation" then
    Screen.Jump("Ready to Install (Domestic)");
    end
    if RadioSelection == "International Installation" then
    Screen.Jump("Ready to Install (INTL)");
    end

    what am I doing wrong?


    as always, Thanks!

  2. #2
    Join Date
    Aug 2004
    Posts
    98
    See the RadioButton screen section in the helpfile. There you'll find an example ...

  3. #3
    Join Date
    Mar 2006
    Posts
    24
    If you are still stuck, try this.........

    ---------------------------------------------
    -- Convert the selected radio button control to a number for the comparison.
    nSelectedControl = String.ToNumber(SessionVar.Expand("%RadioSelection %"));

    -- Check to see which radio button was selected by comparing the selected radio button and each raido button control ID.
    if (nSelectedControl == CTRL_RADIO_BUTTON_01) then

    Screen.Jump("Ready to Install (Domestic)");

    elseif (nSelectedControl == CTRL_RADIO_BUTTON_02) then

    Screen.Jump("Ready to Install (INTL)");

    end
    ---------------------------------------------

  4. #4
    Join Date
    Jan 2006
    Posts
    21
    got it!

    thanks!

Similar Threads

  1. Set RADIO buttons based on VARIABLE???
    By Joshua in forum Setup Factory 7.0
    Replies: 1
    Last Post: 02-16-2005, 08:02 AM
  2. Programatically putting text in Radio buttons.
    By jassing in forum Setup Factory 6.0
    Replies: 5
    Last Post: 03-04-2003, 02:56 PM
  3. HOWTO: Remove Unwanted Screens from a Setup
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-11-2002, 01:32 PM
  4. radio buttons screen-not enough choices
    By dan37_123 in forum Setup Factory 6.0
    Replies: 2
    Last Post: 09-17-2002, 08:16 AM

Posting Permissions

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