ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The MaxButtonWidth property is used to get and set the maximum width of a button in a tab pane.
Example
ONG_MonOngletDyn.LargeurMaxBouton = 200
Syntax

Getting the maximum width of a button 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 in a tab pane.
  • Maximum width (in pixels) of a button in a tab pane.
<Tab control>: Control name
Name of the Tab control to be used.

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

<Tab control>.MaxButtonWidth = <Width>
<Tab control>: Control name
Name of the Tab control to be used.
<Width>: Integer
  • Maximum width (in pixels) of a button in a tab pane.
  • 0 to specify no limit.
Remarks
  • The MaxButtonWidth property is used to limit the size of buttons when the Tab Control uses the "Size panes: Proportional to label" option ("Details" tab in the control description window)..
  • Dynamic tabs: Tab labels are calculated automatically. The MaxButtonWidth property allows you to avoid having overly long text and overly large buttons.
  • If the text of buttons exceeds the specified size, the text 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

Last update: 09/21/2024

Send a report | Local help