TTMSFNCStylesManager.OnCanLoadStyle Event
Fires before a style is applied to a component, allowing the application to suppress styling for specific components.
API unit family: TMSFNCStyles
Declaring type: TTMSFNCStylesManager
Syntax
OnCanLoadStyle: TTMSFNCStylesManagerCanLoadStyleEvent;
Parameters
| Name | Description |
|---|---|
Sender |
The styles manager that raised the event. |
AStyle |
The name of the style about to be applied. |
AComponent |
The component that will receive the style. |
ACanLoadStyle |
Set to False to prevent the style from being applied to this component. |