how to simulate a push event
MorgoZ
Posts: 116
Hi again!
I think it should be a basic question, but i can?t figure out how to do this:
I need to simulate a "push" event of a button, i mean: i have a Button_event with a code, and i need to force this code to be executed from other part of the program.
I know that it can be done including the code in a function, but i would like to know if there is any keyword to do the job.
Thanks and salutes!!
I think it should be a basic question, but i can?t figure out how to do this:
I need to simulate a "push" event of a button, i mean: i have a Button_event with a code, and i need to force this code to be executed from other part of the program.
I know that it can be done including the code in a function, but i would like to know if there is any keyword to do the job.
Thanks and salutes!!
0
Comments
many thanks!
You are probably better off putting that code in a function and then calling it. That way you can call it from the button event or somewhere in code.
Paul