Resize causes timers to freeze
Posted: Thu Feb 27, 2014 12:05 am
Hi,
I'm using a custom control by Larcom & Young known as a "Resize" control.
Version 4.1 OCX
http://lyoung.com/
This control is placed on the form and it requires no interaction.
It automatically resizes everything on the form when the form size is changed during run time.
This allows us to stretch the form and the TChart in any direction.
What we see happening is that as long as the width of the form the TChart resides on is not much more that about 9600 pixels wide, everything is fine.
Any wider and the SetTimer API routines stop responding.
If the form is bought back to original size (or close to it) the API's resume function.
I notice that during this time all functions and routines not related to the timers work fine as do other programs that may also be running.
We also use a total of 6 custom vertical axis's - 3 on the left and 3 on the right. If any of the 3 on the right are not used, the responsiveness of the program improves. If all 3 right axis's are not being used, the responsiveness is almost normal. The use or non-use of the left axis's seem inconsequential.
I appreciate the fact that you folks are quick to respond to issues and I await your replies!
Thanks.
I'm using a custom control by Larcom & Young known as a "Resize" control.
Version 4.1 OCX
http://lyoung.com/
This control is placed on the form and it requires no interaction.
It automatically resizes everything on the form when the form size is changed during run time.
This allows us to stretch the form and the TChart in any direction.
What we see happening is that as long as the width of the form the TChart resides on is not much more that about 9600 pixels wide, everything is fine.
Any wider and the SetTimer API routines stop responding.
If the form is bought back to original size (or close to it) the API's resume function.
I notice that during this time all functions and routines not related to the timers work fine as do other programs that may also be running.
We also use a total of 6 custom vertical axis's - 3 on the left and 3 on the right. If any of the 3 on the right are not used, the responsiveness of the program improves. If all 3 right axis's are not being used, the responsiveness is almost normal. The use or non-use of the left axis's seem inconsequential.
I appreciate the fact that you folks are quick to respond to issues and I await your replies!
Thanks.