Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox with several images
Message
From
06/05/1998 10:33:58
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
06/05/1998 09:53:11
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00097061
Message ID:
00097322
Views:
37
Snip...
Carlos,
>
>Cetin, in my ignorance, i think with this code you has solved the click event, but not the 'ctrl + click' and 'shift + click' and 'ctrl + shift + click' in order to imitate the behavior of multiselect listbox. I know this is possible using the nshift parameter, but as i said i must to remember the last record selected to select all records between both of them and so on.

Code was a starter and not finished. There was cases ready for shift, ctrl and you could add ctrl+shift. And there is an extra logical besides lSelected, lLastSelected to keep last clicked.
>
>In addition of problems, the images showed in each record may be different. Is this possible in a grid ?. If i use a oleboundcontrol bounded to a general field of a cursor, performance will reduce a lot. Not in a listbox. The application is a documental one. You have folders, sub-folders and in each one of this folders you can have word documents, excel sheets, scanned images etc. So i want to show a different image for each type of document. In addition i want to show the user with a image if the document has notepads or relationed documents etc.
You're right about showing multipl images on a grid in a fast way. But that's the case with listboxes also if ever you could succeed a correct display on a large table. So I think what you want to do might be better with a treeview control.
>
>The problem is biggest than apparience. Isn't it ??
>thanks again.
Yes a big problem. Good luck.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform