- #1
- 4
- 0
So I am a bit unfamiliar with Callback functions etc. But here is what I want:
when someone clicks on a button, something happens. Well I want it so that when they click on another button and a certain condition isn't met, then the same function carried out by clicking a completely different button is carried out. I mean I guess I could just copy and paste the code so that it appears twice, but I feel like there's an easier way that involves just calling the functionnamehere_Callback function. Or am i crazy?
when someone clicks on a button, something happens. Well I want it so that when they click on another button and a certain condition isn't met, then the same function carried out by clicking a completely different button is carried out. I mean I guess I could just copy and paste the code so that it appears twice, but I feel like there's an easier way that involves just calling the functionnamehere_Callback function. Or am i crazy?