Frequently Asked Component Specific Questions

Options

Display all FAQ items

Search FAQ items:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TAdvSmoothPageSlider
How to create a new page at runtime

To create a new page at runtime the following code can be used:
var
  sp: TAdvSmoothPage;
begin
  sp:= TAdvSmoothPage.Create(AdvSmoothPageSlider1);
  sp.PageSlider := AdvSmoothPageSlider1;
  sp.Header := 'Runtime created page';
end;
To remove a page at runtime, simply destroy the page:
AdvSmoothPage.Free;