TGDIPFill usage

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 :

  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 ?

Dear Mr. Prost, 


We have found an issue in AdvSmoothPanel.
The issue is now fixed and the fix will be available in the next release.
Please use AdvSmoothPanel1.Fill.Assign(AdvSmoothMegaMenu1.ItemAppearance.MenuItemFill); to fix the issue until the next release.

Kind Regards, 
Scheldeman Pieter

OK thank you !