Announcement

Collapse
No announcement yet.

How Do You Refresh a Menu (or the Heading of a Menu App)?

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

  • How Do You Refresh a Menu (or the Heading of a Menu App)?

    I have a menu app which displays contents of a global variable, say [var] in Heading Line 1 (Layout).

    On of the apps the menu points to allows the user select from a drop-down. That drop-down changes the contents of [var].

    I want Heading Line 1 to change whenever a new value is selected from the drop down (i.e. display the new value of [var]).

    I have tried putting this as the last statement in onValidateSuccess event of the switching app:

    sc_redir("menu_global","","_parent");

    This works great, the heading changes without a flicker. But once I do a switch, "Logout" in the menu bar (which points to "Leave" as Target) no longer works correctly. It returns me to the switching app selector. If I logout in a session without visiting the switching app, it works correctly.

    Is there a better way to achieve my objective?
Working...
X