Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ImageList and Image Control...
Message
From
12/11/1999 11:43:16
Jon Nelson
Trader Systems Limited
Reading, United Kingdom
 
 
To
11/11/1999 06:30:52
Jon Nelson
Trader Systems Limited
Reading, United Kingdom
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00290009
Message ID:
00290613
Views:
15
>I am using an ImageList control with a ListView control OK.
>
>When a user selects a row in the ListView I want to show additional fields in another part of the form including the associated ListView image in a standard VFP image control.
>
>The code I am trying is something like:
>
>thisform.Image1.picture = thisform.ImageList1.ListImages(1).picture
>
>
>This generates a 'Data Type mismatch' error. I have tried both icon (ICO) and bitmap (BMP) as the image types loaded into the ImageList control....
>
>MSDN suggests this should be possible in Visual Basic in article 'Using the ImageList with Other Controls'- so assume also possible in Visual FoxPro??
>
>Any suggestions??

Further investigations show that the image control is not capable of displaying the type of image stored in an image list (stdPicture). I am able to display the ImageList images in, for example, a Sheridan CommandButton.

VB supports two types of bitmap controls - image and picture, does VFP have support for the picture control (and is this compatible with the ImageList)??

TIA
Previous
Reply
Map
View

Click here to load this message in the networking platform