Click a Button from a function

Is there a component that allows you to click a button from a function.
Meaning, if I call a function, is there a component that I can put into that function, that will click the button for me.

No, not if you physically want to click the button and see the click effect.

But if you just want the button’s code to run, then yes. You would create a function for the button’s code:

When button click
     function "do something"

And then when you want to “click the button”, you would just call that same function (“do something”).

I find that these kinds of questions are better with more information. Why are you needing to click a button from within a function?

2 Likes

Thanks.
Doing that works perfectly.
Thanks again.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.