Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use bbListView or Grid or others?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00526231
Message ID:
00526238
Views:
16
Hi!

Take a look to Foxy Classes. They have the multi-select grid.

In general, multi-select grid is not that hard to make. Create the editable record source with additional logical column in it. Show only data columns, read-only. Handle clicks on grid and switch value additional logical field properly (.T. - selected, .F. - not selected). Define the DynamicBackColor for all grid columns to show different background color for selected rows.

I would suggest also to use mover lists - move item from left list (proposed) to the right list (selected), however if number of items exceed 2000, it becomes terribly slow...

HTH.

>Well like several others here, I have spent many hours writing code in a ListBox only to find out about the visual "quirks" it possesses when the list is populated with more than 50 or so records. I have read several threads seeing that this is not unusual for a ListBox control. I don't like that I will have to replace this with something else. I am using it as a multiselect list for users to select records to print or email to clients. The list could be populated with several thousand records for any one client. I want the standard Windows characteristics of Ctrl-Click and Shift-Click. This seems difficult to code into a Grid control.
>
>Before I go off on another adventure for it's replacement, I wanted opinions of the good people of UT. I have been reading Andrew MacNeil's article in Foxpro Advisor(Nov 2000) on the bbListView control. It looks very versatile. What are the limitations and "quirks" if any, of this control?
>
>Should I explore the idea of using a Grid control for this task? If so, any suggestions for examples here at UT or elsewhere?
>
>Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform