Hoppa till huvudinnehållet

make radio button and groupbox visible in runtimemodification

Kommentarer

2 kommentarer

  • Zack Robison
    I'm not sure exactly what you're asking, so please correct me if I misread you.  You have users re-loading a workflow over and over again, and you'd like to keep some user settings from within the workflow accross each instance?  You are also having a problem with both radio buttons being checked at once?

     

    So.  All of a workflow's variables disappear when it terminates.  You have two ways to hang on to the user's preference.  1) Don't terminate the workflow, instead point the end of the workflow back to the beginning and make sure that your important variables are scoped high enough that they will persist through the loop.  2) Store the variables that you want in the viewer using the "Set External Value" activity, then check for it when needed using "Get External Activity."  I would personally pick the second option.

     

    For the issue of having both radio buttons clicked, it sounds as though you are close by correctly assigning the radiobuttonformitem.checked property for the one that you want checked.  You may need to set the property for the other button to false first, or maybe you can get around this by setting a radio button group name in the form designer.
    0
  • Permanently deleted user
    Thanks for the reply.  I talked to geocortex support.  I should not check any radio button at design time, which set the checked radio button as default.  Then I check the radio button at runtime based on the conditions.  the radio button decides the corresponding groupbox's visibility, which is set at design time.
    0

Du måste logga in om du vill lämna en kommentar.