Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox picture?
Message
From
22/09/1998 13:30:04
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00139466
Message ID:
00139529
Views:
24
>>It means that you fill listbox using AddItem() and then specify bmp for each item separately:
>>List.Additem("item1")
>>List.Picture(1)=item1.bmp
>>List.Additem("item2")
>>List.Picture(2)=item2.bmp
>>So you can add bmp to particular items only. If you have many items you may better use grid.
>
>I don't want to put one item at a time in the listbox. It has a cursor as a rowsource and I need it that way. What I'm trying to do is in the SELECT statement, where I have it putting "R" or "" in the crepair field, have it put a picture or nothing instead.
>
>It shouldn't matter whether I'm using a listbox or a grid. Why would the SELECT care where its cursor ends up?
>
>Thanks,
>
>-Michelle

In a case of grid you can use cursor as grid.recordsource and Column.dynamiccurrentcontrol will allow you to bring up column.image to indicate particular field.value.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform