ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Dashboard functions
  • Deleting the Edit mode for the end user (via the AAF)
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Opens or closes the Dashboard control edit mode.
Example
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:
dashDeleteSwitch to edit mode: the user can hide the widgets in the Dashboard control.
dashMoveSwitch to edit mode: the user can move the widgets in the Dashboard control.
dashNoModifClose the edit mode: the user cannot modify the widgets in the Dashboard control.
This constant cannot be combined with the other constants.
dashResizeSwitch 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:
dashDeleteEdit mode: the user can hide the widgets in the Dashboard control.
dashMoveEdit mode: the user can move the widgets in the Dashboard control.
dashNoModifStandard mode: the user cannot modify the widgets in the Dashboard control.
dashResizeEdit 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:
WD Dashboard 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.
WW_Dashboard 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.
Component: wd290obj.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help