|
Previous Top Next |
Prototype: | (Byte pVertical),Long |
pVertical | Indicates if the Dialog unit value should be for Vertical or Horizontal. |
Returns | Returns the dialog base units for height or width of a standard system font character. |
The Dialog Units are used in Clarion (and other languages) to get uniform sizes of dialogs independent on what fonts are used for the window and what resolution is used. This method returns the calculated values based on the GetDialogBaseUnits api. This method is used in the UsingLargeFonts method to determine the size of the dialog units.
Example:
ITW ITWindowsClass
Code
Loc:DialogUnitsString = 'Dialog units: ' &|
ITW.GetDialogUnit(False) & 'x' &|
ITW.GetDialogUnit(True)
See also: