Add event to call one procedure from another

Submitted by Rina@Masa on Sat, 05/26/2018 - 10:46
Upvotes: 0
Issue description

I am trying to make a GUI. I have multiple buttons that increment and decrement a page number. I have a variable that stores the data that will be shown on the page. This variable is set in a series of if else functions in a procedure that is called when the GUI is drawn. 

however, i do not have a nice, neat little event that can refer back to the if else functions. I have to lock my button functions and copy-paste a line from the original call to the if else function. Then, if i want to edit the buttons at any point, i need to unlock, edit, then repeat the process.

Issue comments

Submitted by Klemen on Sat, 05/26/2018 - 13:48

We will implement such feature in the next updates. Thank you for the suggestion.

Submitted by Klemen on Thu, 06/21/2018 - 15:18

We have implemented and tested this feature. I will be released in MCreator 1.8.0.