04-21-2023, 12:39 AM
(This post was last modified: 04-21-2023, 12:50 AM by Alexandre Machado.)
Here is how you can easily create this. Use methods CreatePage and CreateSection of the IWjQPageControl and IWjQAccordion:
CreatePage and CreateSection do lots of things under the hood to guarantee that the new page or section will work correctly.
You also don't need to worry about index and name of the section. The methods will do that for you and you only need set these if you need to change.
Code:
newSection := AccordionRemarks.CreateSection('Caption of the section here');
or
newPage := YourPageControl.CreatePage('Caption of the page here');CreatePage and CreateSection do lots of things under the hood to guarantee that the new page or section will work correctly.
You also don't need to worry about index and name of the section. The methods will do that for you and you only need set these if you need to change.

