|
|
|
|
- Disabling options and bar of the edit mode
- 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 the widgets in the Dashboard control. | dashMove | Switch to edit mode: the user can move the widgets in the Dashboard control. | dashNoModif | Close the edit mode: the user cannot modify the widgets in the Dashboard control. This constant cannot be combined with the other constants. | dashResize | Switch to edit mode: the user can resize the widgets in the Dashboard control. |
Finding out the current mode of the Dashboard control Hide the details
<Result> = DashMode(<Dashboard control>)
<Result>: Integer constant Current edit mode of the Dashboard control: | | dashDelete | Edit mode: the user can hide the widgets in the Dashboard control. | dashMove | Edit mode: the user can move the widgets in the Dashboard control. | dashNoModif | Standard mode: the user cannot modify the widgets in the Dashboard control. | dashResize | Edit mode: the user can resize the widgets in the Dashboard control. |
<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 through programming. 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|