AnyDAC
ContentsIndexHome
PreviousUpNext
TADGUIxErrorDialog Class

The dialog displaying AnyDAC exceptions.

Group
Class Hierarchy
uADCompGUIx_TADGUIxErrorDialoguADCompGUIx_TADGUIxErrorDialog
File

uADCompGUIx

Links

Use the TADGUIxErrorDialog in AnyDAC GUI application to display AnyDAC exceptions to the user. The dialog allows:

  • to browse multiple error items, included into an exception;
  • error kind, native error code, erroneous DB object, etc;
  • original SQL command and parameter values leaded to an exception.

For that the dialog hooks TApllication.OnException event. To use the dialog, drop it on a form or a data module. All additional setups are optional. 

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

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