ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Control 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
LayoutAdaptSize (Function)
In french: DispositionAdapteTaille
Resizes a Layout control in order for all its cells to be entirely visible, without empty area.
Example
// Click on [Details]
LAYOUT_Parameter[2]..Visible = NOT LAYOUT_Parameter[2]..Visible
LayoutAdaptSize(LAYOUT_Parameter)
Syntax
LayoutAdaptSize(<Layout control>)
<Layout control>: Control name
Name of the Layout control to be used.
Remarks
  • Resizing the Layout control may resize its parent controls (especially if none of them is anchored to content).
  • Resizing the Layout control may not be possible or it may be limited by the constraints of control and/or parent controls: min/max size reached, anchoring, presence of scrollbar, ...
  • The overflow options of Layout control are ignored.
  • The option allowing (or not) the reduction of parent is ignored. Reminder: By default, the checkmark "Reduce the parent" performs the reduction when initializing the window (the window reduction is not performed during the execution). LayoutAdaptSize is used to reduce the parent of Layout control at any time.
Component: wd290obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help