Root > Reference > All Types > TELEvCustomButtonClickProc

Type TELEvCustomButtonClickProc

Previous pageReturn to chapter overviewNext page   

Procedural event handler for OnCustomButtonClick event.

 

Unit

EEvents

 

Syntax

 

Code (Delphi)

TELEvCustomButtonClickProc = procedure(

const ACustom: Pointer;

AExceptionInfo: TEurekaExceptionInfo;

ADialog: TObject;

var ACloseDialog: Boolean;

var ACallNextHandler: Boolean

);

 

Parameters

ACustom [in, optional]

Custom user data parameter. It's the same pointer as it was passed to RegisterEvent-function.

 

AExceptionInfo [in]

Information about exception.

 

AOptions [in]

Current EurekaLog options.

 

ADialog [in]

Current dialog class.

 

ACloseDialog [out]

True - close dialog after return, False (default) - do not close dialog.

 

ACallNextHandler [out]

True (default) - call next registered event handler, False - do not call next event handler.

 

Remarks

This event is invoked when end-user has clicked on custom button in error dialog. You should put your custom action code there. For example, if you setup custom button to be "check for updates" - then you should put your update checking code there.

 

Note

There is a similar event.

Custom button is shown only when you specify it in options. It's shown for errors (i.e. bug reports).
Help button is shown automatically whenever there is help context for known exception (which do not generate bug report).

 

See also




Send feedback... Build date: 2023-09-11
Last edited: 2023-09-11
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_type_eevents_televcustombuttonclickproc.php