Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to add properties to a form in a formset?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00109716
Message ID:
00110029
Vues:
47
Here's a cheating way to get new properties or methods on pre-existing forms/objects...

use the formset ".scx" file
browse for "form" = baseclass

do a bit of looking in the properties memo field to find the form you want the new properties/methods to be added to.

Go over a few more memo fields to "Reserved3". This will contain a list of added properties and methods. Just add your properties here methods are prefixed with an "*". Ex:

glMyProperty1
gcMyProperty2
*MyMethod1
*MyMethod2


>To get properties added onto a form already in a formset, select the form you wish to add properties to in the properties window, and click File/Save as Class. Save it as a class and remove it from the formset. then go off, edit the class and add the propeties you want to the form. go back to your formset, and place your newly created form in the formset.
>
>--
>Jerry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform