Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Displaying Bmp's in combo boxes
Message
From
22/06/2000 14:31:53
 
 
To
22/06/2000 08:58:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00383092
Message ID:
00383355
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform