PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
..Layout is used to find out and modify the layout of cells in a Layout control.
Example
// Enlarge the caption if the layout is in line
IF LAYOUT_MyLayout..Layout = layoutVerticalStacking THEN
LAYOUT_MyLayout.STC_NAME..Width = 320
END
Syntax

Finding out the layout of cells Hide the details

<Result> = <Layout control>..Layout
<Result>: Integer constant
Layout of cells:
layoutHorizontalStackingThe Layout control displays a cell per line, one below the other.
layoutVerticalStackingThe Layout control displays a cell per column, one beside the other.
<Layout control>: Control name
Name of Layout control used.

Modifying the layout of cells Hide the details

<Layout control>..Layout = <New layout>
<Layout control>: Control name
Name of Layout control used.
<New layout>: Integer constant
New layout of cells:
layoutHorizontalStackingThe Layout control displays a cell per line, one below the other.
layoutVerticalStackingThe Layout control displays a cell per column, one beside the other.
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment