hello,
I want to have my own look in my application, but just in changing the lokk of one component and to 'herit' this look for the others.
For it i begin with 2 TAdvSmoothMegaMenu & 1 TAdvSmoothPanel.
I just modify the look of the first TAdvSmoothMegaMenu and, by code, force the look of the other components like this :
I just modify the look of the first TAdvSmoothMegaMenu and, by code, force the look of the other components like this :
AdvSmoothMegaMenu2.ItemAppearance.MenuItemFill := AdvSmoothMegaMenu1.ItemAppearance.MenuItemFill;
AdvSmoothPanel1.Fill := AdvSmoothMegaMenu1.ItemAppearance.MenuItemFill;
But if the first line is OK the second one give me Exception EAcessViolation error on close.
So what is my mistake and what is the best way to do what I want ?