any trick to move a window in a tight loop

  • Thread starter Thread starter pamela fluente
  • Start date Start date
P

pamela fluente

Hi guys,

i just wanted to check out if there is some know trick to be able to
move a form (waiting for outcome)
after i have launched a tight loop (release more) without the
application.doevents in it.

Since i am running some very lengthy simulations (factoring numbers
with some hundred digits) i did not bother to place the doevents or
similar stuff
but now i feel that these frozen windows are sometimes
bothering :-)))

Any known trick to be able to move it ? Any suggestion for future
runs, something without giving up in speed ??

Pam
 
i just wanted to check out if there is some know trick to be able to
move a form (waiting for outcome)
after i have launched a tight loop (release more) without the
application.doevents in it.

Since i am running some very lengthy simulations (factoring numbers
with some hundred digits) i did not bother to place the doevents or
similar stuff
but now i feel that these frozen windows are sometimes
bothering :-)))

Any known trick to be able to move it ? Any suggestion for future
runs, something without giving up in speed ??

Do the long running stuff in a separate thread.

Arne
 
Do the long running stuff in a separate thread.

Arne

Thanks a lot for this idea. I just placed at work a BackgroundWorker
and seems to do well. Window is functional.

Any hope to move the ones already frozen with some trick ?


Pam
 
Thanks a lot for this idea. I just placed at work a BackgroundWorker
and seems to do well. Window is functional.

Any hope to move the ones already frozen with some trick ?

An app you have already started?

I don't think so.

Arne
 
Back
Top