Hello,
I'd like to create and add a frame dynamically on expanding a TWebAccordion section. I tried already to create the frame like this in the WebAccordion1Expanding event:
lFrame := TFrame2.Create(self);
lFrame.LoadFromForm;
lFrame.ParentElement := ASection.PanelElement;
lFrame.Parent := self;
But all I get is the frame (I colored the background) painted over the next section captions. The height of the section is not calculated correctly - and the tweblabel on the frame does not get painted...
Do You have any advice how I can achieve this?
Regards
Harald