Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox with several images
Message
From
05/05/1998 13:24:21
 
 
To
05/05/1998 13:16:04
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00097061
Message ID:
00097101
Views:
37
>>>>>>>>>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()
>Perfectly agree. I think grid is the way to go too.
>Cetin

I'll check grid solution. I know how to catch shif, ctrl etc. in mousedown event, but i must remember the las record marked as selected in order to select all records between first and second one. And 'ctrl + shift + click' ?. We'll see...
Saludos,
A.G.P.
---------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform