Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement