ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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
// Clic sur [Détail]
DISP_Paramètre[2]..Visible = NOT DISP_Paramètre[2]..Visible
LayoutAdaptSize(DISP_Paramètre)
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).
  • Layout control size modification may be impossible or limited by the constraints of the field and/or its parent fields: min/max size reached, anchoring, presence of elevator, etc.
  • The overflow options of Layout control are ignored.
  • The option allowing (or not) the reduction of parent is ignored. Reminder: By default, the "Minimize parent" checkbox performs minimization only during window initialization (window minimization is not performed during runtime).. LayoutAdaptSize is used to reduce the parent of Layout control at any time.
Component: wd300obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help