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
..MarginWidth is used to:
  • Find out the horizontal margin between the widgets found in a Dashboard control.
  • Modify the horizontal margin between the widgets found in a Dashboard control.
Note: The horizontal margin between the widgets of a Dashboard control is defined in the "Details" tab of the description window of Dashboard control.
Versions 20 and later
WEBDEV - Server codeWindows This property is now available in WEBDEV Server.
WEBDEV - Server codeLinux This property is now available for the WEBDEV sites in Linux.
New in version 20
WEBDEV - Server codeWindows This property is now available in WEBDEV Server.
WEBDEV - Server codeLinux This property is now available for the WEBDEV sites in Linux.
WEBDEV - Server codeWindows This property is now available in WEBDEV Server.
WEBDEV - Server codeLinux This property is now available for the WEBDEV sites in Linux.
Versions 22 and later
Android This property is now available for the Android applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
New in version 22
Android This property is now available for the Android applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Android This property is now available for the Android applications.
iPhone/iPad This property is now available for the iPhone/iPad applications.
Example
// Modify CBOX_WidgetSpacing
IF CBOX_WidgetSpacing THEN
DASH_Main..MarginWidth = 20
DASH_Main..MarginHeight = 20
ELSE
DASH_Main..MarginWidth = 0
DASH_Main..MarginHeight = 0
END
Syntax

Finding out the horizontal margin between the widgets Hide the details

<Result> = <Dashboard Control>..MarginWidth
<Result>: Integer
Horizontal margin (in pixels) between the widgets found in the specified Dashboard control.
<Dashboard Control>: Control name
Name of Dashboard control to use.

Modifying the horizontal margin between the widgets Hide the details

<Dashboard Control>..MarginWidth = <New Margin>
<Dashboard Control>: Control name
Name of Dashboard control to use.
<New Margin>: Integer
New horizontal margin (in pixels) between the Widgets found in the specified Dashboard control. This value must be positive or null.
Remarks
  • This margin does not take into account the border defined in the style.
  • To modify the vertical margin, use ..MarginHeight.
Minimum required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment