>I'm just starting to convert (re-write) my DOS App. Along the way I have read several Hentzenwerks Books, looked seriously at C#, and Delphi. But, for now there is so much code in the app (10MB) to rewrite it all in .NET would be a task...
>In the DOS app I have a few Event Handlers that create a Grid Like form with the ability to edit (validate) each field, and it supports multiple pages when there are more fields than can be diplayed (almost all the time). These all have the ability to create a new record (incremented) with a down arrow on the last line. It also has the ability to do an on key label on a line, or a field. I'd love to duplicate this in VFP...
>
>Every book I read say's stay away from Grids for this kind of activity, but I don't see a credible replacement.
>
>Question is what should I use, or should I look at how to turn my Event Handler into an "object".
>
>Since I'm just beginning to grasp all this "OOP" stuff, forgive me if I ask some naive questions..
The approach I use for grids - which I merely propose as an alternative - is more or less the following (in great part, this is adapted from the Visual Extend approach):
Use a grid for navigation (read-only) on one page of a form, and a second page for editing. If there are many fields, the editing part can be divided into several pages.
Alternatively, the grid can use the top half of the screen, and the editing fields the bottom half (again, this might be done through a PageFrame, to accomodate several pages of data).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)