FMX.Controls.TBeforeStyleChangingMessage
Delphi
TBeforeStyleChangingMessage = class(TMessage)
C++
class PASCALIMPLEMENTATION TBeforeStyleChangingMessage : public System::Messaging::TMessageBase
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | FMX.Controls |
Description
Message that informs about an upcoming style change.
This message is sent when you:
- Load a new style into a TStyleBook that is not using a style manager.
- Change the resource of a TStyleBook.
- Update the style for all registered scenes of a style manager.
- Note: If registered scenes are already using an up-to-date style, no TBeforeStyleChangingMessage message is sent.
TBeforeStyleChangingMessage is always followed by a TStyleChangedMessage message.
See Also
- System.Messaging (Delphi) code example
- System.Messaging (C++) code example