I want to create a dashboard to select (unhide and make active) one of the several sheets in my spreadsheet: I was thinking of a UInstance with a menu or several buttons.
It's seems difficult to create differents ServerHandler (and different CallBack functions) for each buttons or MenuItems, because their number is known only at run time.
It would be much simpler to use the EventInfo.parameter in the callback function, but this parameter is empty if I don't add a CallbackElement with an element that should have a setName() method.
The problem is that, to my big surprise, neither Buttons nor MenuItem do have the setName method!!!
Am I missing something very basic here? I doesn't seems logic that a menu item pressing event would contains a reference to the element that started the event itself?
Ok, maybe I should revert to a LIstBox which has the setName() method...
Thanks, Lauro