Ok so im going through replacing my ui.buttons with widget.newButton, and for some reason it seems that the events ( onPress, onEvent, onRelease ) only support the event, parm with just a few properties.
And it has no self parm so if i wanted to make a 1 generic listener for 3 buttons and check that event and decided which one was clicked, I can not.
Do I really have to assign a different listener event for each button??
1/2 of the corona API’s use (self,event) the over have (event) and some other set of parms.
I would be nice if we could make a standard and stick with it.
It’s getting very upsetting to try to figure things again and again out all of the time.
SO - Do I really have to assign a different listener event for each button?? Or am I doing something wrong? Can you please specify this info in your API doc, because if its there I missed it.
Larry
[import]uid: 11860 topic_id: 20187 reply_id: 320187[/import]