Raising an Internal Event Change

58 views
Skip to first unread message

Nigel Vickers

unread,
Sep 12, 2013, 7:45:31 AM9/12/13
to gowebui...@googlegroups.com
This programme only works if the Lable on Tab "Second" is clicked. I have been trying various methods to get the handler to trigger when a _CLICK is registered on the Button in TAB "First". I am aware there are other constructions that would work . I am interested in how to raise an internal event. The methods suggested in the documentation all involve unexported methods. Any suggestions would be gratefully received .


Nigel Vickers 
tabpanelevent.go

András Belicza

unread,
Sep 12, 2013, 8:18:15 AM9/12/13
to Nigel Vickers, gowebui...@googlegroups.com
Looks currently you can't create and dispatch internal events (because they are not exported). I don't remember exactly why, I wrote it a long time ago.

My suggestion is to relocate the logic that you would execute in the second event handler, and instead of dispatching an internal event simply call that method.
Reply all
Reply to author
Forward
0 new messages