PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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
The Property WidthMaxButton allows you to find out and set the maximum width of a button in a tab pane.
Example
ONG_My TabDyn.WidthMaxButton = 200
Syntax

Finding out the maximum width of a button found in a tab pane. Hide the details

<Result> = <Tab control>.MaxButtonWidth
<Result>: Integer
  • 0, no limit is defined for the maximum width of a button found in a tab pane.
  • Maximum width (in pixels) of a button found in a tab pane.
<Tab control>: Character string (with or without quotes)
Name of Tab control to use.

Modifying the maximum width of a button found in a tab pane. Hide the details

<Tab control>.MaxButtonWidth = <Width>
<Tab control>: Character string (with or without quotes)
Name of Tab control to use.
<Width>: Integer
  • Maximum width (in pixels) of a button found in a tab pane.
  • 0 to specify no limit.
Remarks
  • The Property MaxButtonWidth allows you to limit the size of the buttons when the Tab control uses the "Size flaps" option.: Proportional to caption" ("Details" tab in the description window of the control).
  • Case of dynamic tabs: The tab caption is automatically calculated. The Property MaxButtonWidth avoids too long labels and therefore too wide buttons..
  • If the caption of buttons exceeds the specified size, the caption is displayed with an ellipsis at the end ("...").
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment