Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
If not Grids, Then What??
Message
From
13/05/2006 04:47:09
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
SAMBA Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01121257
Message ID:
01121608
Views:
13
>Cetin -
>
>Thanks for the one punch knock out....
>
>Yes, I have to learn how to make grids work, just like the DOS version. I use them everywhere, and they are all editable....
>
>Now just tell me how....;>}
>
>Wayne -

On the long run, VFP grids can do whatever a browse does + more. Initially you might be surprised to see when and valid are missing from grid (which was heavily used in a browse) - when and valid do exist in a grid but not the way it did wih a browse.
Before diving into real coding and implementation take your time with VFP and besides VFP native objects check others too like activex objects (treeview,listview and even activex grids...).
Grids are really hard to harness compared to rest of objects. So I can't really say go with grids (and depends what you want to do, how you want to do). All I say grids are not scary and are not unreliable:)
PS: A browse could be managed as a grid (provided would be on its own form).
Though the samples are from VFP5-6 days and not updated to reflect latest version you might check Foxyclasses samples (follow link in signature). There are few grid classes along with samples there.

Now another POV. Along the lines of your original post you're saying "...grasp OOP...", "rewrite" and C#.
If this is your first time to go into VFP from fox2x, IMHO VFP is learning like a new language. You might leverage what you already know but to be fair up to a limited point (and sometimes it would be things that you already know keeping you from moving further faster-I mean you would feel it should work the way as it did before but it doesn't).
Learning and doing rewrite in C#.Net might not be much different from a rewrite in VFP (don't worry I can handle the flames:). It's too hard to suggest things to somebody else. I have a class of 4 students (all were new to programming) that I'm teaching VFP and from the start I offered them I could instead teach them C#. They, not surprisingly, found VFP to be easier and decided to continue with VFP:)
You as a fox2x programmer can do a simple VFP app overnight but not a C# app - assuming you don't use wizards, starter kits and want some control over what is going on behind the scenes:)
In any case you know where to get help:)
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
Next
Reply
Map
View

Click here to load this message in the networking platform