This control provides a simple, fast and efficient way to browse local or web graphics.
The control is able to show gif, jpg, ico, rle and bmp Pictures and wmf Metafiles. You are
able to deactivate or enable the possibility to browse local and web files individually.
For browsing graphic files on the web you simply call the AddWebPic method for every
picture you want to make accessible by the user. The local browser has got a drive and
path selection box to look for the picture files. The main advantage for Quick Picture
Viewer is, that you don't always have to go through a file/open- dialogbox-selection
procedure, but see instantly the file you clicked on.
If you want to use the control on your page, you either have to download the ASoftQuickPicture.CAB file
and replace CODEBASE with the URL of your downloaded file or have to replace it with the
complete URL of this CAB (www.A-SoftTech.com/ActiveX/ASoftQuickPicture.CAB) as used above.
Programming Information:
Name of property/event:
Type
Description:
BorderStyle (property)
Boolean
Determines wither there is a border (1) or not (0); Standard is false.
BackColor (property)
Long
Background color in Hex; Standard: Black.
LocalPics (property)
Boolean
Sets whether the user should be able to browse local pictures or not. Standard: True.
WebVisible (property)
Boolean
Sets whether the user should be able to browse web pictures or not. Standard: True.
StartLocal (property)
Boolean
Determines the starting screen (true=local). Standard: false
Picture (property)
Picture
Read only; Holds the picture which is currently displayed
AddWebPic (method)
-
(FileURL as String, Description as String); Adds a picture to the Web picture list
with FileURL being the complete URL to the file (e.g. http://www.geocities.com/Sili...)
and Description being the Description shown for this file. If Description is omitted,
FileURL is used as Description.
CotrolsHide (method)
-
Hides the User Controls if visible.
CotrolsShow (method)
-
Shows the User Controls if hidden.
PictureDisplayed (event)
-
Fired if the displayed picture changes.
Example of A-Soft Quick Picture Viewer Control:
Credits:
A-Soft Quick Picture Viewer Control was written entirely by A. Nahr. The control was
finished in the version 1.0 on the 26st of April 1997.