AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones de cadenas gráficas
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
Versión mínima requerida
  • Versión 11
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local