ShowWidgetConfiguration - cWebWidgetContainer
Shows the configuration wizard of the widget with the passed id
Type: Procedure
Parameters
| Parameter | Type | Description |
|---|---|---|
| sWidgetDynamicId | String | The dynamic object id of the widget |
| bOptNoErrorIfNotAvailable | Boolean | (Optional) If True, it will not show an error if the widget does not have configuration options |
Syntax
Procedure ShowWidgetConfiguration String sWidgetDynamicId Boolean bOptNoErrorIfNotAvailable
Call Example
Send ShowWidgetConfiguration sWidgetDynamicId bOptNoErrorIfNotAvailable
Description
Shows the configuration wizard of the widget with the passed id.
To show the configuration wizard immediately after a widget is added implement the OnWidgetAdded event like this:
Procedure OnWidgetAdded tWidgetDef WidgetDef Handle hoWidgetClass
Send ShowWidgetConfiguration WidgetDef.sDynId True
End_Procedure