AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Barra de navegación
  • Overview
  • Handling the Navigation Bar control through programming
  • Expanding the collapsed area
  • Other properties
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Handling a Navigation Bar control through programming
Overview
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

Other properties

For a complete list of WLanguage properties that can be used with a Navigation Bar control, see Properties associated with Navigation Bar controls.
Versión mínima requerida
  • Versión 21
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 23/01/2023

Señalar un error o enviar una sugerencia | Ayuda local