AnyDAC
ContentsIndexHome
PreviousUpNext
TADGUIxAsyncExecuteDialog Class

The dialog showing a SQL query execution progress.

Group
Class Hierarchy
uADCompGUIx_TADGUIxAsyncExecuteDialoguADCompGUIx_TADGUIxAsyncExecuteDialog
File

uADCompGUIx

Links

Use the TADGUIxAsyncExecuteDialog in AnyDAC GUI application to display SQL query execution progress. The dialog allows:

  • to see, that a query is executing;
  • to cancel query execution.

The TADQuery will show the dialog automatically, when TADResourceOptions.CmdExecMode is set to amCancelDialog. Only single query may be executed in this mode at each moment at a time. 

To use the dialog, drop it on a form or a data module. All additional setups are optional. 

IADGUIxAsyncExecuteDialog has Forms and FMX implementations. Use Provider property to select the desired implementation.

TADGUIxAsyncExecuteDialog = class(TADGUIxComponent, IADGUIxAsyncExecuteDialog);
What do you think about this topic? Send feedback!