ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Dashboard functions
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
DashDelete (Function)
In french: TDBSupprime
AjaxNot available
Deletes a widget displayed in a Dashboard control. The Dashboard control is updated and a free location replaces the deleted widget.
Example
// Checks whether at least one widget exists
IF DashCount(DASH_Dashboard, toTotal) <= 0 THEN
Info("There is no widget to delete")
RETURN
END
// Deletes the first widget
DashDeleteAll(DASH_Dashboard, 1)
ToastDisplay("The widget #1 was deleted", toastShort, vaMiddle, haCenter)
Syntax
DashDelete(<Dashboard control> , <Subscript>)
<Dashboard control>: Control name
Name of the Dashboard control to be used.
<Subscript>: Integer
Subscript of widget to delete.
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: wd300obj.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