PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

New WINDEV 25 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..FontMinSize allows you to find out and change the minimum font size used in a Static control with the option "Reduce font size" ("Details" tab of the Static control description).
Reminder: This option allows you to reduce the font size to allow long text to be displayed in full in the Static control. The minimum font can also be specified in the "Details" tab of the Static control description.
Example
// Set minimum font size
STC_MyTitle..FontMinSize = 8
Syntax

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

<Result> = <Static control>..FontMinSize
<Result>: Integer
  • 0 if this feature is not enabled (default value). In this case, the font is not reduced.
  • Minimum font size.
<Static control>: Control name
Name of Static control to use.

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

<Static control>..FontMinSize = <Font size>
<Static control>: Control name
Name of Static control to use.
<Font size>: Integer
  • 0 to disable the feature. In this case, the font is not reduced.
  • Minimum font size.
Remarks
  • This property has no effect on RTF Static controls.
  • If the text is too long, an ellipsis is displayed.
  • The maximum font size is given by ..FontSize.
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment