ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
CompactToolbar (Property)
In french: CompacteBarreOutils
The CompactToolbar property is used to:
  • determine if the window toolbars are compacted.
  • compact (or not) the toolbars.
Compacting toolbars consists in removing spaces when:
  • an option of the toolbar is shown or hidden. The toolbar is automatically resized when an option is hidden.
  • a toolbar is shown or hidden. If a toolbar is hidden, the other toolbars are automatically repositioned to avoid leaving free space.
  • a toolbar is docked or undocked.
The toolbars are not compacted if the bars are moved by the user while still being docked.
Remark: This property corresponds to the "Compact toolbars" option available in the "Detail" tab of the window description.
Example
FEN_FenPrincipale.CompacteBarreOutils = True
BAR_Barre1.Visible = True
FEN_FenPrincipale.CompacteBarreOutils = False
Syntax

Determining whether the toolbars are compacted Hide the details

<Result> = <Window used>.CompactToolbar
<Result>: Boolean
  • True if window toolbars are compacted,
  • False otherwise.
<Window used>: Window name
Name of the window used.

Defining whether the toolbars should be compacted Hide the details

<Window used>.CompactToolbar = <Compact>
<Window used>: Window name
Name of the window used.
<Compact>: Boolean
  • True if window toolbars are to be compacted,
  • False otherwise.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help