|
DashInitialConfiguration (Function) In french: TDBConfigurationInitiale
Not available
Syntax
Initial configuration: handling the widget by its subscript Hide the details
DashInitialConfiguration(<Dashboard control> , <Widget subscript> [, <X> [, <Y> [, <Width> [, <Height>]]]])
<Dashboard control>: Control name Name of Dashboard control to use. <Widget subscript>: Integer Subscript of widget to use. This subscript corresponds to: - the addition number of widget defined in the window editor or in the page editor.
- the addition number of widget returned by DashAddWidget.
<X>: Optional integer Horizontal position of widget in number of cells.If [<X>, <Y>] are not specified or if their value is equal to [0,0], the widget is positioned on the first free location. The first cell is cell [1, 1]. <Y>: Optional integer Vertical position of widget in number of cells.If [<X>, <Y>] are not specified or if their value is equal to [0,0], the widget is positioned on the first free location. The first cell is cell [1, 1]. <Width>: Optional integer Width of widget in number of cells.If [<Width>, <Height>] are not specified or if their value is equal to [0, 0]: - during the first call to DashInitialConfiguration, the widget size corresponds to the size of source internal window or page (at least 1 cell).
- during the next calls to DashInitialConfiguration, the widget size corresponds to the size defined during the first call.
<Height>: Optional integer Height of widget in number of cells.If [<Width>, <Height>] are not specified or if their value is equal to [0, 0]: - during the first call to DashInitialConfiguration, the widget size corresponds to the size of source internal window or page (at least 1 cell).
- during the next calls to DashInitialConfiguration, the widget size corresponds to the size defined during the first call.
Initial configuration: handling the widget by its name Hide the details
DashInitialConfiguration(<Dashboard control> , <Widget> [, <X> [, <Y> [, <Width> [, <Height>]]]])
<Dashboard control>: Control name Name of Dashboard control to use. <Widget>: Name of internal window or internal page    Name of internal window to use. Versions 20 and later Name of internal page to use. New in version 20 Name of internal page to use.  Name of internal page to use.
<X>: Optional integer Horizontal position of widget in number of cells.If [<X>, <Y>] are not specified or if their value is equal to [0,0], the widget is positioned on the first free location. The first cell is cell [1, 1]. <Y>: Optional integer Vertical position of widget in number of cells.If [<X>, <Y>] are not specified or if their value is equal to [0,0], the widget is positioned on the first free location. The first cell is cell [1, 1]. <Width>: Optional integer Width of widget in number of cells.If [<Width>, <Height>] are not specified or if their value is equal to [0, 0]: - during the first call to DashInitialConfiguration, the widget size corresponds to the size of source internal window or page (at least 1 cell).
- during the next calls to DashInitialConfiguration, the widget size corresponds to the size defined during the first call
<Height>: Optional integer Height of widget in number of cells.If [<Width>, <Height>] are not specified or if their value is equal to [0, 0]: - during the first call to DashInitialConfiguration, the widget size corresponds to the size of source internal window or page (at least 1 cell).
- during the next calls to DashInitialConfiguration, the widget size corresponds to the size defined during the first call
Remarks - An error occurs if DashInitialConfiguration is called after the initialization of the Dashboard control.
- The Widgets configured by DashInitialConfiguration will be loaded and made visible after the execution of the initialization processes.
- DashInitialConfiguration is ignored in the following cases:
- The option "Remember configuration of Widgets" is checked in the description window of the Dashboard control ("Details" tab) and the user makes the Widget invisible.
- The user made the Widget invisible and the configuration of the Dashboard control was saved then reloaded.
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.
|
This page is also available for…
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |