Hi Pascal.

the method getOldData should also return the same type. Could you please open a bug report for that.

Until the bug isn't fix you can call this on each button to get the belong Page:
button.getUserData("page");

Cheers,
Chris

Am 29.07.2010 07:51, schrieb Pascal Chorus:
Hi all,
I have a Problem with the event "changeSelection" for the qx.ui.tabview.TabView class. In the handler function for the event, I can call event.getData() and event.getOldData(). The getData function returns an object of the type qx.ui.tabview.Page (as I expected),
but getOldData returns an object of the type qx.ui.tabview.TabButton.
Unfortunately, I need the Page that was selected before the selection has changed.
So, is the described problem a bug?
Is there a possibility to get the Page that belongs to the TabButton?
Regards, Pascal

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to