Smart Window problem

Hi Everyone,
Well my question is both simple and complicated! hahahah

Alright, i have a Smartwindow with 3 smartobjects.

1st Smart Object is a Toolbar.
2nd Smart Object is a Viewer.
3rd Smart Object is a SmartFolder with 6 tabs containing each a Smartbrowser.

My question:

What is the last procedure to be normally run by Progress in a Smartwindow before giving the control to the user?

Why? Simple. The users are requesting that each time they get into that screen, they want me to use a button in my toolbar to have the Search/Lookup Screen to pop up. Thing is, i can't get the Popup screen to stay on top of the main window because that window seems not to be completly "drawn" of displayed.

Any Idea? Thanks fellows!
 
Not sure if that solves you focus issue, but, there are two sequences which are relevant here:


  1. The createObjects sequence. This is started from adm-create-objects and will start all smart objects contained (depending on paging) setting the handle variables and establishing all links.
  2. The initializeObject sequence. This is propagated from the container to all contained smart objects. After the sequence has finished the smart objects on the container are ready for the user events.
Therefore I can only suggest to pop up whatever it is you intend to pop up from within initializeObject in the container after RUN SUPER and not from within any of the contained smart objects. Although it might seem possible, you have basically no control of the order in which the objects are initialized and putting such code into one of the contained smart objects discards their re-usability.

HTH, RealHeavyDude.
 
I've been trying for a while now. I am currently calling it from the container window. But still has the same problem.

Thing haven't changed. I have done testing about putting it right after the CreateObjects and it is not the right place to put it.
Enable_UI seems to be the best place i could find...
So i have to find a way. Is there a setting on a window to keep it always on top?
 
Back
Top