IMAGE LIST
  

Image list functions to create and destroy image lists, add and remove images, replace and merge images, draw images, and drag images.

SYNTAX

DEFINE IMAGELIST <ControlName>
[ OF | PARENT> <
ParentWindowName> ]
[ BUTTONSIZE <
nWidth> , <nHeight> ]
[ IMAGE <
aImage> ]
[ IMAGEMASK <
aImageMask> ]
[ COLORMASK <
aColorMask> ]
[ IMAGECOUNT <
ImageCount> ]
[ MASK ]

DRAW IMAGELIST <ControlName>
OF | PARENT> <
ParentWindowName>
AT <
nRow> ,<nCol>
IMAGEINDEX <
ImageIndex>

RELEASE IMAGELIST <ControlName>
OF | PARENT> <
ParentWindowName>

ERASE IMAGE <ControlName>
OF | PARENT> <
ParentWindowName>
AT <
nRow> ,<nCol>

BEGINDRAG IMAGE <ControlName>
OF | PARENT> <
ParentWindowName>
AT <
nRow> ,<nCol>
IMAGEINDEX <
ImageIndex>

ENTERDRAG IMAGE AT <nRow> ,<nCol>

MOVE IMAGE AT <nRow> ,<nCol>

ENDDRAG IMAGE

ADD IMAGE <Image> [ <Mask> ] TO <ControlName> OF <ParentWindowName>

ADD MASKEDIMAGE <Image> [ <aColor> ] TO <ControlName> OF <ParentWindowName>

DELETE IMAGE <Index> FROM <ControlName> OF <ParentWindowName>

NOTE:

DEFINE IMAGELIST command supports JPG, GIF, TIF and PNG images


An imageList control can stock bitmaps, icons (including animated icons), JPEG, GIF, CUR PNG TIF or enhanced metafiles.  //???


DESCRIPTION:
nRow, nCol
Position in the area of ??the window in pixels.
ControlName
A reference to the Image Control
ParentWindowName
A reference to the Parent Window.
nWidth, nHeight
Button image width and heigth
aImage
 
aImageMask
 
aColorMask
 
nImageCount
 
nImageIndex
 
image
 
mask
 
 
 
MASK
 


PROPERTIES:

·   Name (R)
Retrieves the name of a ImageList control.
·   Parent(D)
Set the name as character identifier of the parent window.
·   Row
Set / Gets row position of a Image control.
·   Col   
Set / Gets column position of a Image control.
·   Width
Set / Gets width of a Image control.
·   Height
Set / Gets height of a Image control.
·  
 
·  
 
·  
 
·  
 
·  
 
·  
 

D: Available at control definition only
R: Read-Only

EVENTS:

·  
 

METHODS:

·  
 

EXAMPLE:

See sample in Chapter:
\Samples\Advanced\FreeView
\Samples\Advanced\ImageList