Announcement

Collapse
No announcement yet.

Conditionally show/hide section button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Conditionally show/hide section button

    Hi,
    I have a section button (the section shows a grid) that I want to show/hide based on the value of of database setting. (User roles)

    Now I can hide this button based on an appvar, but how can I set this appvar during startup?

    Kind regards,
    Theo

  • #2
    If you specify a startup program (based off of EXNABSTART) you can call the SetAppVar procedure.

    Alternately, you can specify a feature name for your button (in the Security section) and then conditionally disable the feature via the same startup program.

    Comment


    • #3
      Oeps, Sorry I knew that, I was looking in the startup section under behaviors.
      Kind regards,
      Theo

      Comment

      Working...
      X