PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
RibbonAdaptSize (Function)
In French: RubanAdapteTaille
Adapts the size of the controls found in a Ribbon control according to the size of their caption.
Note: This function is useful to automatically adapt the interface when changing language.
Example
Nation(nationEnglish)
RibbonAdaptSize(RIBBON_MyMenu)
Syntax
RibbonAdaptSize(<Ribbon>)
<Ribbon>: Character string (with or without quotes)
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.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment