Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Methods
Message
From
30/09/2004 15:26:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Methods
Miscellaneous
Thread ID:
00947690
Message ID:
00947690
Views:
57
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
Next
Reply
Map
View

Click here to load this message in the networking platform