Page 1 of 1

TRectangleTool border

Posted: Tue Apr 04, 2006 3:03 pm
by 9339785
Hi,
I'm using TRectangleTool for displaying text on the graph, and for each of them I have enabled the autosizing (AutoSize := TRUE). But there is a strange behaviour : when the mouse move is over the border of each TRectangleTool , the cursor switch to CRSIZEWE. I don't understand why as the autosizing is enabled.
So my question is : how can I disable this behaviour of the mouse ?

Thanks
Franck

Posted: Thu Apr 06, 2006 11:59 am
by 9339785
No ideas ?

Posted: Mon Apr 10, 2006 12:01 pm
by 9339785
really no ideas how can I disable this behaviour of the mouse ?

Franck

Posted: Mon Apr 10, 2006 2:19 pm
by 9343260
If you have all TeeChart sources, you can disable it. You must use the file teeTools.pas in your project, and in it you have a function "guessEdgeCursor" in the "TRectangleTool" class. In this function, the cursor is modified to CRSIZEWE; you just need to comment this line and it should be ok.

Posted: Mon Apr 10, 2006 2:59 pm
by 9339785
thanks bertrod !!