PDA

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



gohanz
Sep 23rd, 2004, 11:08 PM
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, 02:12 PM
In the latest from CVS (I just added the ability) you can do

getApplicationWindow().getView().getViewDescriptor ()

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

it works ... :D

gohanz
Sep 30th, 2004, 09: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, 12: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