FbOpenDialog
(FB)
FUNCTION_BLOCK FbOpenDialog EXTENDS FbExecuteSingleVisuActionBase IMPLEMENTS VisuElemBase.IDialogOpenedListener
Handles the action open dialog
To use this function block in the programm set the according inputvalues
and start the dialog open action with xExecute
= TRUE
.
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Input
xExecute
BOOL
Rising edge: Starts defined operationFALSE
: Resets the defined operation after ready condition was reachedETrig
Output
xDone
BOOL
TRUE
: Ready condition reachedETrig
xBusy
BOOL
TRUE
: Operation is runningETrig
xError
BOOL
TRUE
: Error condition reachedETrig
Input
itfClientFilter
With this filter, the clients, where the action should happen, are specified.
Use standard filter from GVL Globals, e.g.
VU.Globals.CurrentClient
, or use a own implentation of the interface.FbExecuteSingleVisuActionBase
Output
eError
FbExecuteSingleVisuActionBase
Input
sDialogName
STRING
Mandatory value: name of the dialog
xModal
BOOL
TRUE
Optional setting for dialog usage (modal or not modal).
TRUE
: modal: only input in the dialog is possible (defaultvalue)FALSE
: not modal: usage of visu beneath dialog is possible, too.pTopLeftPosition
POINTER TO VisuStructPoint
Optional position to open:
centered (default): use no input point
on position X/Y: set values accordingly in the VisuStructPoint