Consultor Eletrônico



Kbase P157899: What triggers can/should be used to determine and save a window's screen position ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   2/19/2010
Status: Unverified

GOAL:

What triggers can/should be used to determine and save a window's screen position ?

GOAL:

Where can code be implemented to store/persist a window's position ?

FACT(s) (Environment):

Progress/OpenEdge Product Family
Windows

FIX:

There's no end-move event for Window widgets, so there is no immediately obvious trigger that can be implemented.

Saving the position in triggers for the WINDOW-MAXIMIZED,WINDOW-MINIMIZED, WINDOW-RESIZED and WINDOW-CLOSE events would cover most of the scenarios. The only case that would remain where the window's current position would not be saved correctly, is when the session is terminated unexpectedly (it crashes for some reason, or it's killed on the OS level) and the triggers don't get a chance to fire.