Root > Reference > All Functions > IsAppType

Function IsAppType

Previous pageReturn to chapter overviewNext page   

Checks if application is of specified type.

 

Unit

EAppType

 

Syntax

 

Code (Delphi)

function IsAppType(

const AAppType: TAppType

): Boolean;

 

Parameters

AAppType

Type of application to test. Usually this is one of ETypes.atXXX constants - like atVCL, atConsole and so on.

 

Return value

True if some code (plugin) has marked application as being of AAppType type. False - otherwise.

 

Remarks

 

Tip

This is routine from low-level unit. Do not use this unit unless you need to extend or alter EurekaLog behavior.

 

Application may have more than one type in some cases. For example, it can be both console and CGI.

 

Application type is generic qualifier that affects EurekaLog behaviour. For example, VCL application intercepts Application.ShowException and uses window error dialog.

 

Code can call this routine to check if certain support plugin was installed. For example, EAppVCL calls this as SetAppType(atVCL) - indicating that application is VCL application.

 

Plugins can use SetAppType procedure to indicate that they are installed.

 

There are also simple wrappers for more easy access. For example, IsVCL, IsConsole and so on. See EAppType unit for more info.

 

See also




Send feedback... Build date: 2024-09-30
Last edited: 2024-09-30
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_function_eapptype_isapptype.php