ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Limitations
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The FontSize property is used to:
  • Identify the size of the font used in a control.
  • Change the size of the font used in a control.
Example
// Change the size of the font used in "EDT_CustomerName"
EDT_CustomerName.FontSize = 16
Syntax

Identifying the size of the font used in a control Hide the details

<Result> = <Control used>.FontSize
<Result>: Integer
Size of the font used in the specified object.
<Control used>: Control name
Name of the control to be used.

Changing the size of the font used in a control Hide the details

<Control used>.FontSize = <Font size>
<Control used>: Control name
Name of the control to be used.
<Font size>: Integer
New size of the font used in the specified control.
Remarks

Limitations

WINDEV In a report, the FontSize property can only be used on:
  • a Static Text control.
  • a Calculated control.
  • a Preset control.
  • a Link control.
WINDEV In a window, the FontSize property cannot be used on:
  • a Spin control,
  • a Web Camera control,
  • a Conference control.Note: This property only applies to ListView controls in standard "List Box" display mode.
Java The FontSize property can only be used with the following elements:
  • Button,
  • Static,
  • Combo Box,
  • TreeView,
  • Table column.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 10/02/2024

Send a report | Local help