PDA

View Full Version : how to know which viewdescriptor is visible in the window


gohanz
Sep 24th, 2004, 12:08 AM
hi,

i have a toolbar and when i pressed the button, i want to know which viewdescriptor is shown at the active window ... how do i do it?


thanks

jdigger
Sep 30th, 2004, 03:12 PM
In the latest from CVS (I just added the ability) you can do
getApplicationWindow().getView().getViewDescriptor ()

gohanz
Sep 30th, 2004, 09:23 PM
wow, thanks a lot

it works ... :D

gohanz
Sep 30th, 2004, 10:17 PM
mm, i have more question about the view ...

how do i save the previous view after i show the new view?

for example, if i have a transaction that include 3 views, and have the ability to return to the previous view ...
how do i save the previous view?

thanks ...

ligw
Oct 11th, 2004, 01:19 AM
the same question!

how to get the previous view when many views exist at one time?

how to achieve the cascade of views?

thanks