AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The FontMinSize property gets and sets the minimum size of the font used in a Static Text control with the "Reduce font size" option ("Details" tab of the Static Text control description window).
Reminder: This option reduces the font size to allow long text to be displayed in full in the Static Text control. The minimum font can also be specified in the "Details" tab of the Static Text control description.
Example
// Fixe la taille minimale de la police
LIB_MonTitre.PoliceTailleMin = 8
Syntax

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

<Result> = <Static Text control>.FontMinSize
<Result>: Integer
  • 0 if this feature is not enabled (default value). In this case, the font is not reduced.
  • Minimum font size. This size is expressed in the unit specified for the element (returned by the SizeUnit property).
<Static Text control>: Control name
Name of the Static Text control to be used.

Changing the minimum size of the font used in a Static Text control Hide the details

<Static Text control>.FontMinSize = <Font size>
<Static Text control>: Control name
Name of the Static Text control to be used.
<Font size>: Integer
  • 0 to disable the feature. In this case, the font is not reduced.
  • Minimum font size. This size is expressed in the unit specified for the element (returned by the SizeUnit property).
Remarks
  • This property has no effect on RTF Static Text controls.
  • If the text is too long, an ellipsis is displayed.
  • The maximum font size is given by the FontSize property.
  • The size is expressed in the unit specified for the element (returned by the SizeUnit property).
Versión mínima requerida
  • Versión 25
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/05/2025

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