Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Picture in Combo!
Message
From
03/11/2005 09:26:24
Irv Adams
MSC Managed Care, Inc.
Florida, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01064305
Message ID:
01064932
Views:
10
Ali,

The idea of putting different pictures in each combo member is interesting, I want to do something similar. I want to have a Picture (like a checkmark) and on occasion just a blank (no picture). It seems to want to repeat the previous picture when I try to set This.Picture=''. Any ideas?

I suppose I could make a 'blank' picture and display that.

Thanks,


>Hi Everybody,
>
>I have a combo box with the following init()
>
>FOR my_Counter = 1 TO 21
>   ThisForm.Combo3.AddlistItem(ALLT(STR(my_Counter)))
>   thisform.Combo3.Picture[my_Counter] = "c:\img\Style" + ALLT(STR(my_Counter)) + ".bmp"
>ENDFOR
>
>I can only see the picture when the combo box list is open. When it is not, it only shows me a number. How do I force it to show the picture all the time. (like when I am going up and down by Up and Dn arrow keys.
>
>Thank you,
>Ali
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform