01-27-2009 05:49 AM
Hi,
I have made a transparent PopUp screen. But i want to acces the screen below that PopUp screen,such that PopUp screen remains on the top,but focus gets on the screen below.
I have got the screen below,by using :-
Ui.getUiEngine().getActiveScreen().getScreenBelow(
but i dont know how to set active the screen below,such that the Pop Up screen remains on the top.
thanks
Solved! Go to Solution.
01-27-2009 07:38 AM
To activate screen below - you have to pop the current screen.
Why do you need to activate screen below and preserve popup displayed? What is the purpose ?
01-27-2009 08:04 AM
Thanks for reply,
No, i want to access the below screen, with the Pop Up screen on the top.
I am using Pop Up screen to display some message. And want to use the below screen for navigation.
Is there any to way to achieve this ?
Thanks
01-27-2009 08:28 AM - edited 01-27-2009 08:29 AM
In this case your popup screen should intercept all events and pass them to the screen located below.
Below located screen gets events and invalidates a screen area to repaint it.
That is not too trivial, but I think it is possible.
01-27-2009 08:30 AM
I use the deprecated UiApplication.pushGlobalScreen() method below to do something like this. The Global screen does not get 'focus' because I have set the last parameter to false, as there is no input allowed. Focus remains on the underlying screen around which you can navigate. If anyone can tell me how to replicate then "inputRequired = false" flag with the replaced method's flags, that would be very useful.
public final void pushGlobalScreen(Screen screen,
int priority,
boolean inputRequired)
01-27-2009 09:15 AM
Thanks a lot,
You got it. Yes actually previously i was using the option
Ui.getUiEngine().pushGlobalScreen(translucent, 4,UiEngine.GLOBAL_SHOW_LOWER);
but now it work fine.
i corrected as Ui.getUiEngine().pushGlobalScreen(translucent, 4, false);
I will mark it as a solution.
But please tell me how can i restrict scrolling or navigation on few fields on the below screen.
Thanks......
01-27-2009 09:28 AM
Don't understand your question about restricting focus. I suggest you start a new Thread and try to explain what you want with an example.
04-29-2011 05:52 AM
Can I use undeprecated method instead of ?
03-06-2013 05:32 AM
Any other solution instead using deprecated method? I cant use transitions with it.