Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox with several images
Message
 
To
05/05/1998 12:57:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00097061
Message ID:
00097096
Views:
23
>>>>>>>I'm looking for a control like a listbox, but able to assign more than one image to each item. i.e.: 5 columns, 3 of them images.
>>>>>>>Any help ?
>>>>>>
>>>>>>What about using a grid instead?
>>>>>
>>>>>is grid a multiselect control ?
>>>>
>>>>Actually not, but you probably can find a workaround - like I use sometimes a dummy logical (not updateable) field in the view, represented with a checkbox in the column.
>>>
>>>I have thinked of this. But the user selects a cell in a grid, not the entire record. Perhaps a flexgrid control does it. But grid is too much complicated for the work i want to do with.
>>>Thanks anyway
>>
>>I think the Click on necessary grid cell can mark/unmark the dummy field and even change the cell's BackColor imitating multiselect.
>
>Of course is possible, but What about 'Shift + click' and 'ctrl + click' ?. Imitate this behavior of windows selecting items looks very complicated to me.

No big deal :) you can catch SHIFT CTRL and ALT in MouseDown event instead of Click()
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
Next
Reply
Map
View

Click here to load this message in the networking platform