Moves an image object of the object.
Object.MoveImage ( vKey, vKeyMoveTo )
The MoveImage method syntax has the following parts:
|
Name |
Type |
Description |
|
Object |
AImageList |
AImageList control |
|
vKey |
Val Variant |
The parameter which specifies the AImageListImage object. This can be a position (index) or a string (image name). |
|
vKeyMoveTo |
Val Variant |
The parameter which specifies the new position of the AImageListImage object. This can be a position (index) or a string (image name). |
Use this method to move an AImageListImage object to a new position within the images collection.
The following example will move "FileSave" image to a new position before "FileOpen" image:
imgl.MoveImage("FileSave", "FileOpen")