Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Incorporating Class Methods/Properties into an Existing
Message
De
13/11/1998 15:18:26
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
13/11/1998 14:57:20
Bruce Gilmour
Cal-Mour Consultants
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00157502
Message ID:
00157523
Vues:
19
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

>If you are talking about changing the parent of a grid class so that all the Properties and Methods sudenly appear in the grid on the form you are using, the only way I know of is to hack the SCX file directly (after making suitable copies of course). Use the SCX and Browse it and locate the lass you want in the MEMO Class field and then change the Parent Class and Clas And Class Location as appropriate.
>
>If you are talking about adding custom text boxes to a column, just edit that colum and drop them in from the toolbar. Your information was sketchy so I HTH.
>
>
>>Is there a simpler way to get methods and properties from a class object into an existing grid object other then copying them individually using the properties window?
>>
>>Thanks, Renoir
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform