Root > Reference > All Functions > SetAppType

Procedure SetAppType

Previous pageReturn to chapter overviewNext page   

Set a type of this application.

 

Unit

EAppType

 

Syntax

 

Code (Delphi)

procedure SetAppType(

const AAppType: TAppType

);

 

Parameters

AAppType

Type of application to set. This is one of ETypes.atXXX constants. Like atVCL, atConsole and so on.

 

Remarks

 

Tip

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

 

Examples of application's type are: VCL, CLX, VCLX, console, service, CGI, IntraWeb and so on.

 

An application type is arbitrary non-empty string.

 

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.

 

EurekaLog plugins can call this routine to indicate that they're installed. For example, EAppVCL calls this as SetAppType(atVCL) - indicating that application is VCL application.

 

You can use IsAppType function to check application for being of a known type.

 

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-12-11
Last edited: 2024-12-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_function_eapptype_setapptype.php