Skip to main content
Version: 20 R7 BETA

Tool bar height

Tool bar height -> Function result

ParameterTypeDescription
Function resultLongintHeight (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.

See also

HIDE TOOL BAR
Menu bar height
SHOW TOOL BAR