dbTalk Databases Forums  

App slow without debugger and fast with debugger open ?!?!

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss App slow without debugger and fast with debugger open ?!?! in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bogdan Zamfir
 
Posts: n/a

Default App slow without debugger and fast with debugger open ?!?! - 08-12-2004 , 04:44 PM






Hi,

I have created a custom button class for an application. It is based in
container, and contains several shapes, image and label.
Also I handle MouseEnter and MouseLeave, for hot-tracking effect.

I encounter have a strange behaviour:

If I put few buttons on a form (4-5) everything works OK
If I put more (9-10) the form start being very slow (mouse-enter and leave
seems to be raised slower - I have to wait on a button till it show
"activated" due to mouseenter code)
If I put even more (15+) the form lock while loading (so it seems to never
loads)

However, the most wierd thing happen now:
With 9-10 buttons (so form will load OK) if I open Debugger window and have
it on top, if I move the mouse over button on main form (which is behind
debugger window, but partially covered, so several buttons are visible),
they works like charm - the hoved effect happen instantly!

If I bring my form on top, it start being slower. But if I bring Debugger on
top again, the form from behind is fast again!

This happens with VFP8 and 9 Beta.

What could be the cause?

Any help will be appreciated!

Best regards,
Bogdan Zamfir



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.