Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Incorporating Class Methods/Properties into an Existing
Message
 
À
13/11/1998 15:18:26
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00157502
Message ID:
00157552
Vues:
17
>Bruce,
>
>You had it right the first time. I went ahead and just created ethods/properties and copied copied the code this time, but since the existing grid on a form wasn't created as a class (I'm guessing here) they were added to the parent form instead of the grid. This may be considered a new thread, but I didn't know you couldn't do this. Other than playing with the SCX table, do you know how I can get the (newly created and copied) property and methods into the existing grid rather than on the form? Is there a rule that you can't create these into a non-classed grid?
>
>I was sketchy with my question probably because I'm sketchy with my knowledge regarding this. :)
>
>Thanks for your help, Renoir

Renoir,

You can add properties and emthods to the otuer most container in a designer. In the form designer this may be either a fomr or formset depending on what you are designing. In the class designer it is the outer most class.

You can use the class browser to open your SCX file and use it features to change the class that the grid is based on from the VFP base class to the one whose properties and methods you want.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform