PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
CompactToolbar (Property)
In french: CompacteBarreOutils
..CompactToolbar is used to:
  • find out whether the toolbars found in the window are compacted.
  • compact (or not) the toolbars.
Compressing the toolbars consists in removing the space characters when:
  • an option of the toolbar becomes visible or invisible. The toolbar is automatically resized when an option becomes invisible.
  • a toolbar becomes visible or invisible. The other toolbars are automatically repositioned when a toolbar becomes invisible 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.
Note: This property corresponds to the "Compact the toolbars" option available in the "Details" tab of the window description.
Example
WIN_MainWin..CompactToolbar = True
TBAR_Bar1..Visible = True
WIN_MainWin..CompactToolbar = False
Syntax

Finding out whether the toolbars are compacted Hide the details

<Result> = <Window name>..CompactToolbar
<Result>: Boolean
  • True if the toolbars of the window are compacted,
  • False otherwise.
<Window name>: Character string (with or without quotes)
Name of window used.

Defining the compression of the toolbars Hide the details

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