Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

FormResizing

5 views
Skip to first unread message

Markus Komm

unread,
Oct 11, 2004, 7:35:31 AM10/11/04
to corel.wpoffice.paradox-dev

Is there a way to grab the size on position from a form during the user
is resizing ?
How can I grab "the user Is ready" with resizing ?
I have tested with different events but I havent fond the event when the
finished resizing
I have now solve the problem with a timer. ( if eventinfo.id() =
MenuControlSize then setTimer endif )
But I havent found a Event to kill the timer.
I think this is not the best solution.

Thanks Markus

Vladimir Menkin

unread,
Oct 11, 2004, 1:08:23 PM10/11/04
to corel.wpoffice.paradox-dev

Markus,

There is no direct way to trap end of resizing. But there is a tricky way to do
it, based on the sequence of events handling by Paradox. I used this technics in
ProView.
In the form's menuAction:

if eventInfo.isPreFilter() then
;// This code executes for each object on the form

else
;// This code executes only for the form
if eventInfo.id()=MenuControlSize then
dodefault
errorlog(usererror+1,"");this line puts an error event to the event's stack
endif
endIf

In the form's error method:

if eventInfo.isPreFilter() then
;// This code executes for each object on the form

else
;// This code executes only for the form
if eventinfo.errorcode()=usererror+1 then msginfo("","Resizing finished")
endif endIf

:-)

Vladimir Menkin

0 new messages