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
..ElementWidth is used to:
  • Versions 19 and later
    Find out or modify the width of the cells in a Dashboard control.
    New in version 19
    Find out or modify the width of the cells in a Dashboard control.
    Find out or modify the width of the cells in a Dashboard control.
Notes:
  • Versions 19 and later
    The width of a cell found in a Dashboard control is defined in the "Details" tab of the description of a Dashboard control.
    New in version 19
    The width of a cell found in a Dashboard control is defined in the "Details" tab of the description of a Dashboard control.
    The width of a cell found in a Dashboard control is defined in the "Details" tab of the description of a Dashboard control.
  • Versions 20 and later
    WEBDEV - Server code This property is available for the Dashboard controls only.
    New in version 20
    WEBDEV - Server code This property is available for the Dashboard controls only.
    WEBDEV - Server code This property is available for the Dashboard controls only.
    WEBDEV - Server code This property is available for the Dashboard controls only.
Example
ORG_Main..ElementWidth = 200
ORG_Main..ElementHeight = 100
 
IF CBOX_Zoom = True THEN
ORG_Main..ElementWidth = 400
ORG_Main..ElementHeight = 200
END
// Reduce the height of all cells in the Dashboard control
IF DASH_Dashboard..ElementHeight > 50 THEN
DASH_Dashboard..ElementHeight = 50
END
Syntax

Finding out the width of elements or cells Hide the details

<Result> = <Control Name>..ElementWidth
<Result>: Integer
  • Versions 19 and later
    Width (in pixels) of the cells found in the specified Dashboard control.
    New in version 19
    Width (in pixels) of the cells found in the specified Dashboard control.
    Width (in pixels) of the cells found in the specified Dashboard control.
<Control Name>: Character string (with or without quotes)
  • Versions 19 and later
    Name of Dashboard control to use.
    New in version 19
    Name of Dashboard control to use.
    Name of Dashboard control to use.

Modifying the width of the elements or cells Hide the details

<Control Name>..ElementWidth = <New Width>
<Control Name>: Character string (with or without quotes)
  • Versions 19 and later
    Name of Dashboard control to use.
    New in version 19
    Name of Dashboard control to use.
    Name of Dashboard control to use.
<New Width>: Real
  • Versions 19 and later
    New width (in pixels) of cells found in the specified Dashboard control.
    New in version 19
    New width (in pixels) of cells found in the specified Dashboard control.
    New width (in pixels) of cells found in the specified Dashboard control.
Remarks
The margin between the elements is added to the width of the elements.
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment