PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

New WINDEV, WINDEV Mobile 23 feature!
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
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 Layout control to use.
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.
Components
WINDEVReports and Queries wd230obj.dll
Android wd230android.jar
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment