>Hi,
> After i post your code into mine, the error message shown : ImageList must be initialised first before can be used....how to initialise?? Again, I put imagelist before toolbar...
John,
Without seeing what you're doing it's a little hard. I use a Picture Clip control to hold all the images and then load them programmatically, like this:
FOR lni = 0 TO 5
ThisForm.ToolImages.ListImages.Add(,,ThisForm.CtrlPicClip.GraphicCell(lni))
NEXT
The .CtrlPicClip is the Picture Clip control. I do it this way because there are three ImageLists to initialize. This reduces the amount of time it takes the control to load because there's only one bitmap, but in can contain as many images as I need.
If the above doesn't work for you, I'll post more specific code tomorrow.
George
Ubi caritas et amor, deus ibi est