|
|
|
|
LargeFontFactor (Function) In french: FacteurGrandePolice Returns the current enlargement ratio of a WINDEV window (only if Windows is in "large fonts" mode).
// Enlarge the "EDT_CustomerName" edit control // according to the enlargement ratio of the window EDT_CustomerName.X = EDT_CustomerName.X * LargeFontFactor() EDT_CustomerName.Width = EDT_CustomerName.Width * LargeFontFactor()
Syntax
<Result> = LargeFontFactor([<Window used>])
<Result>: Real - Current enlargement ratio of the specified window.
- 1 if:
- Windows is not in "large fonts" mode,
- the window is not enlarged in large fonts.
- 0 if an error occurs.
<Window used>: Optional window name Name of the window to be used. If this parameter is not specified, the current window will be handled.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|