move to top

Status
Not open for further replies.

marko

New Member
Good midday,

NT 4 sr 5 + V8.3.
I have struggled with SmartWindows for a while.
I open two or more SmartWindows (run persistent set handle). Opened SmartWindows have SmartPanel and SmartViewer. When I choose 'add' or 'modify' from any other SmartWindow than the last opened this happens: the last opened SmartWindow moves to top and hides the SmartWindow where I clicked 'add' or 'mod'. The SmartWindow where I clicked 'add' enables fields in SmartViewer fine.
SmartWindows use different tables and have no links to each other. They are opened from same program (a kind of menu).

I'd be gratefull if someone knows why this happens.

Marko
 

marko

New Member
In this case the reason was that current-window was set to wrong window with:
ASSIGN CURRENT-WINDOW = { &WINDOW-NAME }
THIS-PROCEDURE:CURRENT-WINDOW = { & WINDOW-NAME }
 
Status
Not open for further replies.
Top