Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where is the detail on VFP BASE CLASSES?
Message
De
03/06/1997 08:52:04
Matt Mc Donnell
Mc Donnell Software Consulting
Boston, Massachusetts, États-Unis
 
 
À
03/06/1997 08:45:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00034444
Message ID:
00034686
Vues:
42
>>>>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...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform