Announcement

Collapse
No announcement yet.

Screen default-field refresh

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Screen default-field refresh

    In edit screen I set default path to a variable.

    The variable is set from another variable in after.actions of a previous screen.

    So I like that user, when go back (after have modified original variable), can reset/see original value.

    That not work; screen retain modified value, without edit field default refresh (but the variable is correct, with original value resetted).

    Is it correct ?

    Is there a way to force a default refresh ?

    Thanks for suggestions.

    Giorgio

  • #2
    Re: Screen default-field refresh

    Hi,

    Try setting the variable's value on the BEFORE tab of the screen. That way every time the screen is viewed the variable will display the same data.

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

    Comment


    • #3
      Re: Screen default-field refresh

      If I understand the question and the answer correctly: Have you tried this out, Mark? I have (some time ago), and I can't have it work. I think Giorgio is right: When the user return to the screen, either because %PreventNextPage% is true or the user pressed the Back button, the screen retains the modified value, not the value assigned in Actions Before.

      [This message has been edited by csd214 (edited 01-28-2002).]

      Comment


      • #4
        Re: Screen default-field refresh

        Hi,

        Sorry about that, you are correct, changing the variable doesn't reset the information that is stored in fields.

        Basically when you change the value in a field, Setup Factory stores that value, so that when you go back to the screen it retains the information. This makes sense to the user: if I enter my name into a field, and then go back to it I do not expect the field data to have changed.

        mark.
        MSI Factory The Next Generation Intelligent Setup Builder

        Comment


        • #5
          Re: Screen default-field refresh

          Yes, I have "accepted" this explanation as the possible reason to this behavior. That's why your answer to Giorgi was a bit surprising. – My challenge was to have the user to select a network drive/folder. Despite your assurance (by e-mail) that the LAN-variables are working properly, I can't rely on these variables to test the network connection. My solution was to use a Select Drive Screen with options limited to "Network Drives only" --> %SelectedDrive%. The next screen is "Edit Boxes" with browse button style = Directory, and with the initial value "%SelectedDrive%\". If the user select a folder on another drive, he is returned to the Edit Box Screen. In THIS CASE I wanted the value to be reset to its initial state; never say never… But the v6 solution works fine; much better than with v5 (I have to execute a file search on the network drive, but not on ALL the LAN drives.)

          Comment

          Working...
          X