|
|
|
|
|
MarginWidth (Property) In french: MargeLargeur
The MarginWidth property 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.
Remark: The horizontal margin between the widgets of a Dashboard control is defined in the "Details" tab of the description window of Dashboard control. // 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 the Dashboard control to be used.
Modifying the horizontal margin between the widgets Hide the details
<Dashboard control>.MarginWidth = <New margin>
<Dashboard control>: Control name Name of the Dashboard control to be used. <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 change the vertical margin, use the MarginHeight property.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|