ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Limitations
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
WEBDEV - Browser code This parameter is a string.
<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.
WEBDEV - Browser code This parameter is a string.
Remarks

Limitations

WINDEVWEBDEV - Server codeReports and QueriesUniversal Windows 10 AppiPhone/iPad In a report, the FontSize property can only be used on:
  • a Static 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.Remark: This property applies to the "ListView" controls in "List Box" display mode only.
iPhone/iPad The FontSize property cannot be used on table columns.
Java The FontSize property applies only to the following elements:
  • Button,
  • Static,
  • Combo Box,
  • TreeView,
  • Table column.
WEBDEV - Server codeWEBDEV - Browser codePHP In a page, the FontSize property applies only to the following elements:
  • Edit control,
  • Static,
  • Button,
  • Check box/Radio button,
  • List box, combo box,
  • Table,
  • Formatted display control,
  • HTML control,
  • Link,
  • HTML static,
  • Table column (not available in browser code),
  • Table cell (available in red-only and not available in browser code),
  • Pager (not available in browser code),
  • Site map path (not available in browser code and in PHP),
  • Group of controls (not available in browser code).
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/17/2024

Send a report | Local help