ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The MarginHeight property is used to:
  • Find out the vertical margin between the widgets found in a Dashboard control.
  • Modify the vertical margin between the widgets found in a Dashboard control.
Note: The vertical margin between Widgets in a Dashboard control is defined in the "Detail" tab of the Dashboard description window..
Example
// Modification de INT_EspacementWidget
IF INT_EspacementWidget THEN
	TDB_Principal.MargeLargeur = 20
	TDB_Principal.MargeHauteur = 20
ELSE
	TDB_Principal.MargeLargeur = 0
	TDB_Principal.MargeHauteur = 0
END
Syntax

Finding out the vertical margin between the widgets Hide the details

<Result> = <Dashboard control>.MarginHeight
<Result>: Integer
Vertical margin (in pixels) between the widgets found in the specified Dashboard control.
<Dashboard control>: Control name
Name of the Dashboard control to be used.

Modifying the vertical margin between the widgets Hide the details

<Dashboard control>.MarginHeight = <New margin>
<Dashboard control>: Control name
Name of the Dashboard control to be used.
<New margin>: Integer
New vertical 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 change the horizontal margin, use the MarginWidth property.
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help