Tool bar height
Tool bar height -> Function result
Parameter | Type | Description | |
---|---|---|---|
Function result | Longint | ← | 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.