NiceGallery description
A visual control that can display several images, scroll them left and right, and can accept click event for each image
NiceGallery was designed to be a visual control that can display several images, scroll them left and right, and can accept click event for each image. This component mimics the one I found in Microsoft Encarta. This component can be used as a menu or simply as an eye-candy for your application. Everybody loves eye-candy.
Here are some key features of "NiceGallery":
property Active: Boolean;
· Specifies whether the component need to scoll the content or not.
property Items: TGalleryItems;
· This is a collection of gallery items. Each item has its own bitmap, hint string and tag property to identify
them.
property ScrollerSize: Integer;
· Specifies the size of scrollers. Scroller is an arrow in the left and right of the component that if user hovers the mouse over it, the component will scoll its content faster.
property ScrollerArrowColor: TColor;
· Specifies scroller arrow color.
property ScrollerColor: TColor;
· Specifies scroller color.
property ScrollerHoverArrowColor: TColor;
· Specifies scroller arrow color when user hovers the mouse over it.
property ScrollerHoverColor: TColor;
· Specifies scroller color when user hovers the mouse over it.
property HandPointCursor: Boolean;
· Specifies whether a handpoint cursor will be used instead of the default cursor.
property SelectionColor: TColor;
· Specifies rectangle color that surrounds the selected item.
property SmallChange: Integer;
· Specifies the amount of the pixel used by the component to scroll its content.
property LargeChange: Integer;
· Specifies the amount of the pixel used by the component to scroll its content when user hovers the mouse over arrows.
property OnHover: TGalleryEvent;
· procedure (Sender: TObject; Index: Integer) of object;
· An event that is fired everytime the mouse hovers an item.
property OnClick: TGalleryEvent;
· procedure (Sender: TObject; Index: Integer) of object;