Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Imagelist
Message
From
12/11/2001 06:40:36
 
 
To
12/11/2001 01:45:14
Ls Wong
Vista Solution Sdn. Bhd.
Ampang, Malaysia
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Miscellaneous
Thread ID:
00580356
Message ID:
00580392
Views:
31
Hi!

>1. how do i assign picture from imagelist into picture object

SavePicture function issued for the reference to the picture from ImageList. Save it into the temporary file, than assign that file to the Picture property of the control.

BTW, I already added the wish to wishes list - it is about use of picture objects in VFP controls (alternative to the Picture property that accepts only filepath) as well as some other enhancement related to the pictures.

>2. why the color of icons stored in imagelist change (become gray color)

Image List store images of the same format. So when you added first icon with gray color, other (colored) icons added there could become gray too. All images should have the same format and size,a s far as I know, though I could be wrong - did not used ImageList control much.

HTH.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform