This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20.6
Menu bar height

Menu bar height 


 

Menu bar height -> Function result 
Parameter Type   Description
Function result  Longint in Height (expressed in pixels) of menu bar (returns zero if menu bar is hidden)

Menu bar height returns the height of the menu bar, expressed in pixels.

The command returns 0:

  • if the menu bar is hidden
  • in SDI mode on Windows, if it is called from a process without a form window. For more information on this mode, please refer to the SDI mode on Windows section.

Note: When the application is running in SDI mode on Windows, Menu bar height returns the height of a single menu bar line even if the window is narrowed and the menu bar has been wrapped on two or more lines.



See also 

HIDE MENU BAR
Menu bar screen
SHOW MENU BAR

 
PROPERTIES 

Product: 4D
Theme: System Environment
Number: 440

 
PAGE CONTENTS 
 
HISTORY 

Created: 4D v6

 
ARTICLE USAGE

4D Language Reference ( 4D v20)
4D Language Reference ( 4D v20.1)
4D Language Reference ( 4D v20.2)
4D Language Reference ( 4D v20.3)
4D Language Reference ( 4D v20.4)
4D Language Reference ( 4D v20.5)
4D Language Reference ( 4D v20.6)