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.
// Display the "WINDEV, IDE #1 in France" title of next window
NextTitle(gFontSize(12) + "WINDEV" + gFontSize(10) + ", #1 in France.")
<Result> = gFontSize(<Font size>)
<Result>: Character string
Sequence of characters defining the font size for the rest of the text.
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.
- 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.).