PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
FontSize is used to:
  • Find out the size of the font used in a control.
  • Modify the size of the font used in a control.
Versions 15 and later
Android This property is now available for Android applications.
New in version 15
Android This property is now available for Android applications.
Android This property is now available for Android applications.
Versions 17 and later
iPhone/iPad This property is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for iPhone/iPad applications.
iPhone/iPad This property is now available for iPhone/iPad applications.
Versions 18 and later
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
New in version 18
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
iPhone/iPad This property is now available for report controls in iPhone/iPad applications.
Versions 20 and later
Android This property is now available for table columns in Android applications.
New in version 20
Android This property is now available for table columns in Android applications.
Android This property is now available for table columns in Android applications.
Versions 21 and later
Universal Windows 10 App This property is now available for report controls in applications in Universal Windows 10 App mode.This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available for report controls in applications in Universal Windows 10 App mode.This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available for report controls in applications in Universal Windows 10 App mode.This property is now available in Universal Windows 10 App mode.
Example
// Modify the size of the font used in "EDT_CustomerName"
EDT_CustomerName.FontSize = 16
Syntax

Finding out the size of the font used in a control Hide the details

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

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

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

Limits

WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadUniversal Windows 10 AppWindows Mobile In an 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 Property FontSize 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 Property FontSize cannot be used on table columns.
Java The Property FontSize applies only to the following items:
  • Button,
  • Static,
  • Combo Box,
  • TreeView,
  • Table column.
WEBDEV - Server codeWEBDEV - Browser codePHP Within a page, the Property FontSize applies only to the following items:
  • 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