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 >>

TAdvSmoothSlideShow
Adding items

Items can be added at designtime or at runtime. The slideshow has a built-in function to quickly add images from a folder.
AdvSmoothSlideShow1.AddItemsFromFolder(‘\Sample photos\*.jpg', ikImage);
The first parameter is the location of the images. The second parameter controls the kind of items. Items can also be added separately to provide extra details. Different combinations are possible:
with AdvSmoothSlideShow1.Items.Add do
begin
  Image.LoadFromFile('image1.jpg');
  Location := 'image1.jpg';
  Kind := ikImage;
  Control := Button1;
  ...
end;