Information générale
Catégorie:
Codage, syntaxe et commandes
Hi,
I have added an object to _screen and properties but I cant find an example of adding a method. The code for adding the object is:
_screen.AddObject('capord','label')
I can add a property by:
_screen.capord.caption='Customers'
but I dont know how to add a method to object capord!
I can define a class of type label and stick a procedure in it but I dont want to do that; I want to do it the simple way by adding a procedure as a method to and existing object programmatically.
Ron
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