|
|
|
|
|
- Deleting the Edit mode for the end user (via the AAF)
DashMode (Function) In french: TDBMode
Not available
Opens or closes the Dashboard control edit mode. Syntax
Changing the mode of the Dashboard control Hide the details
DashMode(<Dashboard control> , <Mode>)
<Dashboard control>: Control name Name of the Dashboard control to be used. <Mode>: Integer constant (or combination of constants) Edit options available for the user: | | dashDelete | Switch to edit mode: the user can hide Widgets in the Dashboard control array. | dashMove | Switch to edit mode: the user can move Widgets into the Dashboard control array. | dashNoModif | Edit mode closed: the user cannot edit Widgets in the Dashboard control array. This constant cannot be combined with the other constants. | dashResize | Switch to edit mode: users can resize Widgets in the Dashboard control array. |
Finding out the current mode of the Dashboard control Hide the details
<Result> = DashMode(<Dashboard control>)
<Result>: Integer constant Current edit mode of Dashboard control: | | dashDelete | Edit mode: the user can hide Widgets in the Dashboard control array. | dashMove | Edit mode: the user can move Widgets into the Dashboard control array. | dashNoModif | Classic mode: the user cannot modify Widgets in the Dashboard control array. | dashResize | Edit mode: users can resize Widgets in the Dashboard control array. |
<Dashboard control>: Control name Name of the Dashboard control to be used. Remarks Deleting the Edit mode for the end user (via the AAF) DashMode is used to switch to edit mode programmatically. To prevent the user from switching to edit mode (via the context menu or with a long click), use AAFDisable with the aafDashEditMode constant.
Related Examples:
|
Training (WINDEV): WD Dashboard
[ + ] The "WD Dashboard" example is an educational example for using the Dashboard control. This example explains how to: - handle the control in "edit" mode, - save/load a configuration, - configure the control (initial configuration, addition/deletion of widgets, ...), - refresh a widget, - etc.
|
|
Training (WEBDEV): WW_Dashboard
[ + ] The "WD Dashboard" example is an educational example for using the Dashboard control. This example explains how to: - handle the control in "edit" mode, - save/load a configuration, - configure the control (initial configuration, addition/deletion of widgets, ...), - refresh a widget.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|