PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Handling the Navigation Bar control by programming
  • Expanding the collapsed area
  • Other properties
Handling a Navigation Bar control by programming
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Overview
The Navigation Bar control can be handled by programming. To do so, use the variable of the Navigation Bar control in the code. The variable of the Navigation Bar control corresponds to the name of the Navigation Bar control. The type of the variable is a character string.
Note: The different areas found in the Navigation Bar control cannot be handled independently by programming.
Handling the Navigation Bar control by programming

Expanding the collapsed area

..Collapsed used in browser code on the Navigation Bar control is used to collapse or expand the middle area of the navigation bar.
You have the ability to use ..Collapsed in the rollover code of a control for example.
..Collapsed 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
BRO_Bar..Collapsed = True
END
gbClickOnBurger = False

Other properties

To find out the entire list of WLanguage properties that can be used with a Navigation Bar control, see Properties associated with the Navigation Bar control.
Minimum required version
  • Version 21
Comments
Click [Add] to post a comment