Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where is the detail on VFP BASE CLASSES?
Message
From
03/06/1997 08:52:04
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, United States
 
 
To
03/06/1997 08:45:53
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00034444
Message ID:
00034686
Views:
39
>>>>David,
>>>>
>>>>Below I have COPYed the VFP5.0 Help for the Grid container.
>>>>If the Help is where one is to go to "find detail info", then I hope you agree that it is quite lacking!
>>>>Aside from simply how it looks, how about how it reacts when the cursor is clicked in a column?... When the record-pointer is moved??? and tons of other "detail"?????
>>>>
>>>>No, the Help does not give the answers required. It is, in fact, nowhere in the docs that I have found!
>>>>
>>>>regards,
>>>>Jim N
>>>>
>>>>
>>>>-------- Start of copied Help entry for Grid
>>>>Grid Control
>>>>
>>>>Syntax Remarks Properties Events Methods Example See Also
>>>>
>>>>Creates a grid.
>>>>
>>>> Syntax
>>>>
>>>>Grid
>>>>
>>>> Remarks
>>>>
>>>>A grid is a container object that displays data in rows and columns, and is similar in appearance to a Browse window. A grid is also a container object that contains column objects. A column can contain a Header object and controls. Because a grid and its columns, headers, and controls each have their own set of properties, you have complete control over each element of the grid. You can create a grid interactively using the Grid Builder.
>>>>
>>>>For additional information about creating grids, see Chapter 10, “Using Controls,” in the Developer’s Guide.
>>>>
>>>>
>>>>--------- End of Help copy
>>>>
>>>>>> I am fairly new to VFP and I have not been able to find the detail info
>>>>>>for VFP's BASE CLASSES (the CONTROL CLASS for example).
>>>>>>I have looked in the docs and other books. Please advise.
>
>Hi Matt: Coming from a Clipper (dos) back ground, I understand why you must have
>a base class for your forms, custom class for you app (library) and maybe a toolbar. But... are you saying that I should and can have a base class for my objects? Like command buttons,grids,etc...?

It a personal preference for me. But it really can't hurt. If there are ever any global changes you wish to make or if you want to add a property to a type of control, having your own base class sets you up for that. If everything is based of the VFP base classes, you'd need to redefine everything if you wish to make global changes.
Matt McDonnell
...building a better mousetrap with moldy cheese...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform