With VFP8 use BindEvent function
>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.