Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I use VFP Grids and Text boxes in Dot Net App.
Message
 
À
13/05/2007 13:50:50
John Baird
Coatesville, Pennsylvanie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
VFP Compiler for .NET
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01225041
Message ID:
01225268
Vues:
16
Hi John:

With the following I don't mean to bash Winforms, I just intend praise VFP's virtues.

NOTE: The following material contains language and graphical descriptions not for the faint heart. :-)

Well .NET 3 has not Grids (WPF), so lets take that version out of this ;-D.

With regards to System.Windows.Forms There are several features:

1. Visual inheritance. System.Windows.Forms has not true visual inheritance, that powerful thing we take as granted since VFP3, that hardly we can imagine to have to program without it.

2. Powerfull Extensibility I. In VFP you can subscribe to EVERY Grid's property, method or event and this way you can do powerful things. In .NET you only can bind to events and the subscription model is somewhat more limited.

3. Powerful Extensiblity II. You can override any method, event and soon also any property to behave very differently from the base class and all the callers automatically get the new functionality. Just double click in the Grid or in a possibly very deep nested contained control and choose the method or event you want to override, it even put the needed parameters for the task. Could it be simpler?.

In Winforms you get a flat class and a bunch of controls on it, with all the events being handled in the Grid itself, instead of in the control, like the Dr. Encapsulation prescribes.

4. In VFP we can do DataBinding in two lines (USE, RecordSource) (soon that will be possible in one line, even for .NET Controls). Try that in .NET.

99. Powerful Extensibility LXXXVIII. Not really just joking, I could keep this going a lot more, but I think the big picture is clear.

What I could concede to Wiforms, and specially WPF, is the Presentation Capabilities and I know that Look matters. We still have not all those pretty bells and whistles, for now...


>>While .NET has its own Textboxes and DataGridView they are not so powerful like the VFP counterparts.
>
>Okay, I'll bite. Having used fox from foxbase III all the way to vfp 8.0, and .net now from 1.1 to 3.0, what can fox grids do that .net grids cannot?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform