PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
  • Limits for the controls and windows
  • Limits
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
..InitialWidth is used to:
  • Find out the initial width of a control or window.
    The initial width corresponds to the width defined in the window editor during the element description. This width can evolve and it can be modified. It is returned by ..Width.
  • Modify the base width used to anchor the controls "in width".
    When a control is anchored, the base width used to resize the control according to the window is the width defined during the control creation (returned by ..InitialWidth).
    To modify the width of a control anchored in width, you must also modify its initial width.
  • Find out the initial width of a report control.
    The initial width corresponds to the width defined in the report editor during the element description. This width can evolve and it can be modified. This new width is returned by ..Width.
Versions 15 and later
Android This property is now available for the Android applications.
New in version 15
Android This property is now available for the Android applications.
Android This property is now available for the Android applications.
Versions 16 and later
Universal Windows 10 App This property is now available for the Windows Phone applications.
New in version 16
Universal Windows 10 App This property is now available for the Windows Phone applications.
Universal Windows 10 App This property is now available for the Windows Phone applications.
Versions 17 and later
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This property is now available for the iPhone/iPad applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This property is now available in Windows Store apps mode.
iPhone/iPad This property is now available for the report controls in the iPhone/iPad applications.
New in version 18
Universal Windows 10 App This property is now available in Windows Store apps mode.
iPhone/iPad This property is now available for the report controls in the iPhone/iPad applications.
Universal Windows 10 App This property is now available in Windows Store apps mode.
iPhone/iPad This property is now available for the report controls in the iPhone/iPad applications.
Versions 20 and later
Android This property is now available for the Table controls and for the table columns in the Android applications.
iPhone/iPad This property is now available for the table columns in the iPhone/iPad applications.
New in version 20
Android This property is now available for the Table controls and for the table columns in the Android applications.
iPhone/iPad This property is now available for the table columns in the iPhone/iPad applications.
Android This property is now available for the Table controls and for the table columns in the Android applications.
iPhone/iPad This property is now available for the table columns in the iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Increases the width of "STC_Title" by 30 millimeters
STC_Title..Width = STC_Title..InitialWidth + 30
// Restores the initial width of control
EDT_Edit1..Width = EDT_Edit1..InitialWidth
// Enlarges TABLE_Table1 that is anchored in width by 30 pixels
TABLE_Table1..Width += 30
TABLE_Table1..InitialWidth += 30
Syntax

Finding out the initial width Hide the details

<Initial Width> = <Element Name>..InitialWidth
<Initial Width>: Integer
Width of the element defined in the window editor during its creation. This width is expressed in pixels.
<Element Name>: Character string (with or without quotes)
Name of the element (control or window) whose initial width must be calculated.
WINDEVAndroidiPhone/iPadWindows MobileUniversal Windows 10 AppJavaUser code (UMC)

Modifying the initial width of a control anchored in width Hide the details

<Control Name>..InitialWidth = <New Width>
<Control Name>: Character string (with or without quotes)
Name of the anchored control whose the initial width must be modified.
<New Width>: Integer
New initial width of the anchored control (including the border) expressed in pixels.
Remarks
WINDEVJavaUser code (UMC)

Limits for the controls and windows

In Windows 98, the size of elements is limited to ± 32 767. In Windows NT/2000, it is possible (but not recommended) to specify a size up to ± 2 147 483 647.

Limits

iPhone/iPad ..InitialWidth is not available for the Table controls. However, it is available for the table columns.
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment