+ Reply to Thread
Results 1 to 3 of 3

Thread: How Do I Conditionally Hide/Show A Dialog?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2015
    Location
    Merced, CA, Unitedd States
    Posts
    110

    Post How Do I Conditionally Hide/Show A Dialog?

    Hello:

    Hope this finds everyone well, I'm working on a major project and need to conditionally hide/show a dialog, how can I accomplish this?

    Here's what I've done so far:
    1. Created the checkboxes dialog with one option being "Create Shortcuts to %PRODUCTNAME% in My &Start Menu"
    2. In the Wizard Loop I've put an "If %OPTFLAG% Equals 1 on Position" (with a value of 2 thus representing the value of the second option in the variable %optflag%) and a corresponding end
    3. I've given the "Select Program Folder" dialog a label of "$STARTGROUP$" after the checkboxes screen and after the if/end from above.

    The question is what script function needs to be called in between the "if ... Equals 1 on Position" and the "end" in point 2 (above) to control the visibility of the dialog $STARTGROUP$? Thus if the box is checked (1 on position 2) the dialog shows, if it's not checked (0 on position 2) the user doesn't see it.

  2. #2
    Join Date
    Apr 2015
    Location
    Merced, CA, Unitedd States
    Posts
    110

    Default Re: How Do I Conditionally Hide/Show A Dialog?

    Update:

    After a lot of searching, I found this helpful thread (linked below) and I'm testing it out now to see if it works as I've described it above. I'll report back if it did or did not work as I would have liked.

    Linked Thread: http://www.lindersoft.com/forums/sho...ghlight=dialog

    Update: it looks like that forum post was helpful :-)

  3. #3

    Default Re: How Do I Conditionally Hide/Show A Dialog?

    Oh, Thank you for this link. It's really helpful for me)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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