Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ImageList and Image Control...
Message
De
12/11/1999 11:43:16
Jon Nelson
Trader Systems Limited
Reading, Royaume Uni
 
 
À
11/11/1999 06:30:52
Jon Nelson
Trader Systems Limited
Reading, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00290009
Message ID:
00290613
Vues:
14
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform