Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Displaying Bmp's in combo boxes
Message
De
22/06/2000 14:31:53
 
 
À
22/06/2000 08:58:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00383092
Message ID:
00383355
Vues:
15
>Hi, everyone.
>
>How do you display bmp's in a combo box?
>
>I have used the code below and tried various suggestions made by other members of UT, unfortunately no luck yet.
>
>Code placed in the init of the combo, also tried in the gotfocus.
>
>this.picture[1]="abc1.bmp"
>this.picture[2]="abc2.bmp"
>this.picture[3]="abc3.bmp"
>this.picture[4]="abc4.bmp"
>
>The combo has 4 items hand entered, so the recordsource is set to 1 for values.
>
>The combo is also set to a list type.
>
>Thanks in advance
>Mike Mayo

Set your RowSourceType to 0 and blank out the RowSource. You are adding your items with AddItem, correct?
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform