Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid as listbox
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00182965
Message ID:
00182983
Views:
12
>>>I wanted a listbox to have a picture as the second column. There either would be a picture or there wouldn't be a picture, depending on a logical field in the same cursor.
>>>
>>>People said the only way to do this was to make a grid look like a listbox. So that's what I did. And it works in that I have the unit number and the picture (or no picture) in each row.
>>>
>>>The problem is that it's very clunky. When I click on a row, it just outlines it, not highlights it. When the grid loses focus, the item isn't highlighted anymore. Also, when the grid is refreshed, it turns grey and flashes before settling back to normal.
>>>
>>>Is there any way to make this act like a listbox? Does someone have a grid as listbox class they could send me? I'm also asking once again if there's anyway to put the picture in the listbox. The listbox has a picture property. Is there no way to turn the picture off for selected rows?
>>>
>>>Thanks,
>>>
>>>-Michelle
>>
>>Hello Michelle,
>>
>>I have the grid which acts similar to what you want. To send you a sample I need to do some work on it, because that grid is tied up to the particular framework and it is not here with me right now.
>>
>>Nick
>
>If you have time, that would be nice.
>
>Thanks,
>
>-Michelle

I will look into it tonight.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform