Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alternatives for using grid
Message
 
To
14/04/2004 13:10:44
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00894852
Message ID:
00895083
Views:
20
Hi

I decided years ago to rarely use grids. Instead I built a grid replacement around the listbox and it has functioned extremely well and eliminated the bugs and problems I had always experienced with grids. I have recently been testing BBListView.ocx from www.bbontrols.com as a possbile replacement for VFP's native listbox.

This technique requires some extra work to build some added functionality around the Listbox but I think I pays off with better stability in the application.

You can see a screen shot of and invoice entry program using this link:

http://www.dciphercomputing.com/graphics/fopro_invoiceentry.gif

Simon

>i've read through a lot of books and documentation regarding the added complexity of grids in data entry as used in a parent/child relationship (say, in an invoice).. is it better and easier to "mimic" the functionality of grids?
>
>what i have in mind is for the given example, an invoice... say there needs to be quantity, unit, product id, unit price and total price columns... instead of using 5 columns in the grid, i could instead create a visual object comprising of say 5 text boxes (placed side by side, as if to mimic a detail line in a grid), this object will then be placed as a single column in the grid... that way, data validation can be done within the given detail line (since its an object by itself).. when the user needs to add a new detail line, a shortcut key or a command can just insert a new line (same class as that of the 5 textboxes side by side..) ?
>
>is this a good way to implement parent/child data entry?
Simon White
dCipher Computing
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform