Prototype

TStyleModeChangedEvent = procedure(Sender: TObject; aMode: TMDStyleMode) of object;

Description

TStyleModeChangedEvent is the function type for an OnStyleModeChanged event.


aMode contains the mode selected (smLight or smDark) after a call to TMDStyle.SelectMode.

See also

TMDStyleMode

TMDStyle.SelectMode