I'm using the vcl styles in a Delphi XE2 application, but when i popup a TPopupmenu this is show using the native windows look and feel, exist any way to apply the vcl style colors to the TPopUpMenu?
Asked
Active
Viewed 1,035 times
13
-
9@RRUZ, it's your turn :-) – TLama Apr 15 '12 at 20:17
1 Answers
18
Replace the TPopupmenu for a TPopupActionBar or use a interposer class to cast the TPopupMenu to TPopupActionBar.
TPopupMenu=class(Vcl.ActnPopup.TPopupActionBar);
Also you can read this Adding VCL Styles support to a TPopupMenu in 2 lines of code

RRUZ
- 134,889
- 20
- 356
- 483