First an example:
t=.test~new
::class test subclass userdialog
::method init
forward class(super) continue
p=.page1~new
s=.sheet~new(.array~of(p))
s~popupaschild(self)
::class sheet subclass propertysheetdialog inherit resizingadmin
::method init
forward class(super) continue
self~connectMove(onMove)
::method onMove unguarded
say '--- onMove running ---'
::class page1 subclass userpspdialog inherit resizingadmin
::requires oodialog.cls
Then a question: why is onMove not called when moving the window? Is it
what I think it is, that sheet is a dialog control, not a dialog window?
The second question is: it seems like the leaving method is the only method
getting called when sheet is closed. ok, cancel, and validate don't get
called. And leaving doesn't allow one to save the current state in a
database, probably because of thread issues. So how can I save the current
position of sheet when it's closed? I tried by using the omMove method to
save it whenever sheet was moved, but as it doesn't get called it was no
solution.
Walking in circles here, is there a solution?
Staffan
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users