General information
Category:
Coding, syntax & commands
>I created a class object called WsLink.
>It is based on a label object.
>
>In my code, I add this object on my _SCREEN using the ADDOBJECT command. Fine. Now I can alter its properties:
>_SCREEN.WsLink.Caption = "Hello" for example
>
>My question is : How can I add some code in the clic event for example?
>
>Thanks
>Eric.
You can only do it in the VFP environment, it won't work in the run time...
oControl.WriteMethod('Click','_Screen.ActiveForm.DoThatThing()')
This is generally used in builders and other development tools, as I said, it will not work in your compiled program.
BOb
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only