Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox picture property
Message
From
21/01/2002 16:40:41
 
 
To
21/01/2002 14:23:44
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00607926
Message ID:
00608022
Views:
20
>Using VFP7 and a listbox, how can I control which items in a listbox gets which picture?
>
>For example, I want some of my listbox items to have a .picture=mybmp.bmp, but I also want other items to have either no picture or a different picture.
>
>Can this be done?

Yes, you can do that
oListBox.Picture = 'MyBmp.Bmp'   && default bitmap for listbox
oListBox.Picture[nIndex] = 'MyBmp1.Bmp'
oListBox.Picture[nIndex] = 'Blank.Bmp'   && blank/empty bitmap
Hth
Herman
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform