Hey there Folks,
So - I will admit - I have not worked much with a ListBox in the past. I think what I did work with - and this was like 2 or 3 years ago - was the ComboBox. Also - at my current gig (which they are converting me into a fulltime employee here at the end of March!) - I have almost no chance to work on interface design or changes. Which kinda Sucks - as that's really my favorite part of working in VFP. Instead - it's mostly data processing within the Apps, and working with SQL. As such - I'm glad to finally have an interface mod project that I can finally sink my teeth into.
Anyway - in this particular app there is a screen with a big ListBox. And, for the current project - there are several things I need to look into. The first has to do with the layout and how the user interacts with the ListBox. In 1 or more other screens - there are Grids - and the request is really to make the ListBox act more like the Grids. For instance - they want to be able to Re-Size the widths of columns. Currently, the one ListBox displays 9 columns and up to 11 rows.
They also want to Sort by any of the columns. I suspect if I give them some way to pick which field that they want to sort by - that I can simply issue a Refresh of the ListBox to re-display the data in a new sort order.
So - I'm curious to know if anyone has a suggestion about re-sizing the columns at run-time. I know that programmatically it CAN be done according to the online help - by updating of the ColumnWidths Property. It's just a matter of what control I give to the user to enable this to happen.
By the way - the reason I believe that a ListBox was used is because they want to be able to Select Multiple items at a shot.
That leads me to the other problem. You see - they need to select items from one ListBox - that then gets Moved from that list into another ListBox on the same screen. The problem is - they say that sometimes it moves items that were NOT Selected. Has anyone heard of this particular problem before with the ListBox???
Thanks in Advance, Kurt Wendt Consultant (...soon to be Employee!)
GLOBETAX 90 Broad Street New York, NY 10004-2205, U.S.A. Tel. +1-212-747-9100 Fax. +1-212-747-0029 Email: Kurt_Wendt@GlobeTax.com Web: www.GlobeTax.com GlobeTax does not provide or offer, and this is not, tax, investment or legal advice. This email and any attachments hereto is intended only for use by the addressee(s) and may contain confidential information. If you are not the intended recipient of this e-mail, please immediately notify the sender at +1-212-747-9100 and permanently delete the original and any copies of this e-mail.