ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Graphic string functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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: All text written following in the function is assigned.
WINDEVAndroidiPhone/iPadIOS WidgetMac Catalyst In a window, this sequence of characters is used to indicate the font size:
  • in an element of a List Box or Combo Box control.
  • in the title bar and/or status bar of a window.
  • in a Static Text control.
Example
WINDEV
// Display the "WINDEV, IDE #1 in France" title of the 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 web service 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: wd300obj.dll
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/30/2024

Send a report | Local help