ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Graphic string functions
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
Builds a sequence of characters used to specify the size of the font for a text found in a graphic string.
Remark: The entire text written after the function is affected.
WINDEVAndroidiPhone/iPadIOS WidgetMac Catalyst In a window, this sequence of characters is used to indicate the font size:
  • in an element found in a List Box or Combo Box control.
  • in the title bar and/or status bar of a window.
  • in a Static control.
Example
WINDEV
// Display the "WINDEV, IDE #1 in France" title of next window
NextTitle(gFontSize(12) + "WINDEV" + gFontSize(10) + ", #1 in France.")
Syntax
<Result> = gFontSize(<Font size>)
<Result>: Character string
Sequence of characters defining the font size for the rest of the text.
WINDEVAndroidiPhone/iPadIOS WidgetMac Catalyst This sequence of characters can be:
WEBDEV - Server code This sequence of characters is not interpreted by the controls in WEBDEV. This function can be used to format the string returned by a WEBDEV Webservice consumed by a WINDEV or WINDEV Mobile application.
<Font size>: Integer
New font size for the text after the call to gFontSize.
Remarks
  • The default font defined for the control used is restored after the call to gFontXXX.
  • All the other characteristics of the font are kept (italics, etc.).
Component: wd290obj.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help