Wiki Home

VFP Version 7 Revealed


Namespace: WIN_COM_API
Now that the beta of VFPv7 has been released, this page should reflect all the cool stuff (and not so cool) the beta testers come across...!!

During the Keynote at New Orleans, Robert Green, Randy Brown, Calvin Hsia, Ricardo Wenger, and GeneGoldhammer of the VFP team revealed the following features of VFP 7.0. More information is available at http://msdn.microsoft.com/vstudio/nextgen/language/keynote.asp. There were some other new features showed at the Bonus Session. These are listed in the Documents section of the Universal Thread.
(this table of contents matches that in VFP Version 7 Wish List in an attempt to start matching requests with revealed features; If you change one, change both)
Table of Contents
Bug Fixes
IDE Features
Project Manager
Class Browser
Class Editor
Form Editor
Code Editor
View/Query Designer
Database Features
DBC Features
Table Designer
Views (Local/Remote)
SQL Server Integration
Language Features
Base Class Features
Grid Enhancements
COM Features
Multi-Tier Features
Web Features
ODBC Driver
Error Handling
Documentation
Enhanced SQL SELECT
Debugger
Miscellaneous

Bug Fixes
IDE Features
  • Docking windows
  • Link Docking. The example shown was Command window, Property Sheet, and several debugger windows docked together
  • Persistent command window history - when you shut down/restart VFP, the previously executed commands in the command window are still there. I don't know how much of the history is stored.
    Project Manager
    Class Browser
  • New Object Browser that can view COM Objects and Type Libraries. You can drag a COM object to the editor and a shell application will be created so that you an bind code to all the methods of the COM object
    Class Editor
  • Ctrl+Click to drill down to objects in the Form/Class designer (no more Right-Click/Edit)
  • Document Viewer that lets you jump to any method in a form/class or procedure/function in the open form/class/prg
  • We still do not have the ability to specify the default control classes that are used when a container class is populated IE - Option classes in an option group, Column/Header/Control classes in grids etc....
    Form Editor
  • Changing the width of a control with either the keyboard arrow keys or the mouse still explicitly sets the height and vice-versa. If you change one dimension of a control, the other one should not be altered (even if it remains the same, it should not be altered from what the baseclass has defined).
    Code Editor
  • Bookmarks in editor
  • Persistant bookmarks are saved to the new Tasklist. You can jump right to the bookmark even if the file isn't open
  • You can click in the left-hand margin of the editor to set a break point
  • Strong Data Typing (only to make Intellisense work). VFP internally is still weakly typed.
  • Intellisense to COM and even Constants in the COM objects
  • Intellisense to VFP commands/objects
  • Intellisense to ActiveX controls
  • Code Completion. You can define things like "DC" to mean "DEFINE CLASS" and have the complete structure built for you. This is fully data driven
  • You can place URLs in comments and have them hyperlinked
    View/Query Designer
    Database Features
  • Database Events. You can now capture things like TableOpen, TableClose, BeforeUpdate, etc.
  • OLE-DB Provider that even supports stored procedures
    DBC Features
    Table Designer
    Views (Local/Remote)
    SQL Server Integration
    Language Features
  • Timeout parameter in MESSAGEBOX
  • MouseEnter and MouseLeave events on UI objects
  • Word Wrap on grid headers
  • UI objects are COM enabled and support the new iAccessible interface
  • Implementation Inheritance. This is necessary for many COM+ services
  • Strong Data Typing (only to make Intellisense work). VFP internally is still weakly typed.
  • hWnd (Window handle) property for all VFP forms as well as _Screen
  • Cursor To XML( ), XML To Cursor( ), XMLTableUpdate( ), XMLUpdate( ) Functions - Great support for XML! Yeah, but most don't work yet -- Mike Helland


    Base Class Features
  • Flat toolbars and menus
  • Menus have icons
  • Personalized menus like in Windows 2000 and Office 2000
  • Desktop properties can now be set from a Property Sheet
  • New "HotTracking" property for UI objects that lets them become "raised" when the mouse is over them
    Grid Enhancements
  • The BeforeRowColChange and AfterRowColChange events now have the ability to dicern between row/column changes. This isn't done in the events themselves. There is a new property RowColChange, that you can check to see -- Mike Helland
  • Headers now have a Word Wrap property (multi-line header captions!).
  • It looks like we still don't have the ability to specify the header/column/control classes that grids are populated with in the visual designer without either changing them after the fact or using a builder.
  • While there is no support for these yet either, there will be are HighlightFore/BackColor and SelectedFore/BackColor properties in Grids. -- Mike Helland
    COM Features
  • Intellisense to COM and even Constants in the COM objects
    Multi-Tier Features
    Web Features
    ODBC Driver
  • OLE-DB Provider that even supports stored procedures
    Error Handling
    Documentation
    Enhanced SQL SELECT

    Debugger
  • Bookmarks in editor
    Miscellaneous
  • Support in the new Visual Studio shell. You can create VFP Middle-tier components right inside VS. Then, you can debug them! The VS debugger will step right into the code in the VFP DLL.


    With the kind of enhancements made to the native data engine (DBC Events) and its integration into Visual Studio, I really hope that this will help in showing our clients and potential clients that VFP will be around awhile...If there was any intentions of killing VFP, I am sure they would not be spending any time enhancing the native functionality! -- Harold Chattaway

    This quote is specific to middle-tier, but I think it shows that VFP will be around. It's from:
    http://msdn.microsoft.com/vstudio/nextgen/technology/VFPandWinDNA.asp:
    "The role of Microsoft Visual FoxPro in Windows DNA has been solidified by the database development system's ability to make fast, data-intensive Component Object Model (COM) components."

    Will there be any upgrade in threading capabilities? I understand VB7 will have greater than Apartment Model Threading (full free threading?).
    At this point it's rumor. I've heard the opposite...that it won't support full free-threading, but will only offer what it has now
    The .NET documentation says that Visual Basic now supports Free Threading, but I wouldn't know where to begin to test it.
    Contributors: Craig Berntson Harold Chattaway Alex Feldstein William Fields
    PMJI.
    I find these database events additions to FoxPro very interesting, considering they have been available with Borland Delphi for the past 4-5 years.
    So, what's your point? Microsoft also showed that SQL Server 2000 now supports cascading Updates and Deletes, and also it supports UDFs. VFP had these for ages! -- Alex Feldstein
    Category Fox Versions Category VFP IDE Category Vfp Wish Lists
  • ( Topic last updated: 2001.01.30 10:54:05 AM )