ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Ribbon functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
RibbonAdaptSize (Function)
In french: RubanAdapteTaille
Adapts the size of the controls found in a Ribbon control according to the size of their caption.
Remark: This function is useful to automatically adapt the interface when changing language.
Example
Nation(nationEnglish)
RibbonAdaptSize(RIBBON_MyMenu)
Syntax
RibbonAdaptSize(<Ribbon>)
<Ribbon>: Character string
Name of the Ribbon control to use.
Remarks
  • The size of controls and groupings is modified according to the captions.
  • The buttons on 3 "large" lines are enlarged or reduced. The alignments are kept.
  • The big rectangular buttons are enlarged or reduced. Their minimum size corresponds to InitialWidth.
  • To limit the evolution of the size of controls, bounds can be defined with MinWidth and MaxWidth.
Component: wd290obj.dll
Minimum version required
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help