PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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
..MaxButtonWidth is used to find out and modify the maximum width of a button found in a tab pane.
Example
TAB_MyDynTab..MaxButtonWidth = 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 the 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 the Tab control to use.
<Width>: Integer
  • Maximum width (in pixels) of a button found in a tab pane.
  • 0 to specify no limit.
Remarks
  • ..MaxButtonWidth is used to limit the size of buttons when the Tab control is using the option "Size of panes: Proportional to caption" ("Details" tab in the description window of the control).
  • Case of dynamic tabs: The caption of the tab is automatically calculated. ..MaxButtonWidth is used to avoid the too long captions and therefore the too large 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