DialogToGui - DfComUIObject
This is used to convert dialog units to gui units.
Type: Function
Return Data Type: Integer
Parameters
| Parameter | Type | Description |
|---|---|---|
| iHeight | integer | Dialog height to be converted to gui units |
| iWidth | Integer | Dialog width to be converted to gui units |
Syntax
Function DialogToGui integer iHeight Integer iWidth Returns Integer
Call Example
Get DialogToGui iHeight iWidth to IntegerVariable
Description
DialogToGui is used to convert dialog units to gui units. This is passed a dialog height and a dialog width and it returns a folded value representing those values in gui units. The Hi value represents the height, the Low value represents the width.
This function returns a folded integer value.
When the value of the property is retrieved, the value of these two properties is returned as a folded integer. The value of these parameters can be accessed using the hi() and low() functions.
Get DialogToGui of oView iDialogY iDialogX to iSize
Move (Hi(iSize)) to iGuiY
Move (Low(iSize)) to iGuiX
See Also
GuiToDialog | GuiClientSize | GuiWindowSize
Return Value
A folded integer value, representing the height (hi) and width (low) in gui units