Tool bar height
Tool bar height : Integer
Parameter | Type | Description | |
---|---|---|---|
Function result | Integer | ← | Height (expressed in pixels) of tool bar or 0 if tool bar is hidden |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The Tool bar height command returns the height of the current visible tool bar, expressed in pixels. Depending on the context, it can be either the 4D Design mode toolbar, or a custom toolbar created with Open form window (the Design mode toolbar is automatically hidden when a custom toolbar is displayed).
If no tool bar is displayed, the command returns 0.