|
|
|
|
- Overview
- Handling the Navigation Bar control through programming
- Expanding the collapsed area
- Other properties
Handling a Navigation Bar control through programming
The Navigation Bar control can be handled through programming. To do so, use the variable of the Navigation Bar control in the code. The variable of Navigation Bar control corresponds to the name of Navigation Bar control. The variable type is a character string. Remark: The different areas found in the Navigation Bar control cannot be handled independently through programming. Handling the Navigation Bar control through programming Expanding the collapsed area When the Collapsed property is used in browser code on the Navigation Bar control, it collapses or expands the middle area of the navigation bar. You can use Collapsed in the hover code of a control for example. The Collapsed property has an action if the Navigation Bar control is in compact mode only. Example: // -- Load code of the page (browser) // Variable used to hide the drop-down menu in case of outside click gbClickOnBurger is boolean = False  // -- Click on the page (browser code) IF NOT gbClickOnBurger THEN // Hide the menu NAV_Bar.Collapsed = True END gbClickOnBurger = False
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|