Page 1 of 1
Mouse Wheel
Posted: 20 Aug 2007, 18:22
by alfons
Hi, i try to understand your Viewer demo.
How do you implement using Mouse Wheel and right mouse button?
I have modified viewer demo to view dxf-File on a second tabsheet but mouse wheel has no function.
greetings
Alfons
Posted: 21 Aug 2007, 16:15
by support
We use our own sgDrawingNavigator component for displaying CADImage with scale possibility.
There is no any problems with mouse using.
DrawingNavigator properties:
Code: Select all
property ScalingOnMouseWheel: Boolean read FScalingOnMouseWheel write FScalingOnMouseWheel;
- mouse whill scaling is True by default. To disable set False.
Code: Select all
property RectZooming: Boolean read FRectZooming write SetRectZooming default True;
- mouse selection scaling. To disable set False.
- You should handle OnMouseWheel event on MainForm (the form where navigator is)
- Navigator contains such events as OnClick, OnDblClick, OnMouseDown #1080; OnMouseUp.
If it does not solve your problem, please send us your demo (
support@cadsofttools.com) and explain, what you would like to get.
Please post questions to the forum or write to
support@cadsofttools.com
Posted: 22 Aug 2007, 13:20
by alfons
Yes, thanks
but my Problem is, that i view 2 dxf (one on every Tab-Register).
On first Register Mouse is ok. On second register mouse has no
function.
How can I set Mouse-functions to the Picture on other Register?
Greetings
alfons
Posted: 28 Aug 2007, 16:38
by support
We cannot determine what causes this problem.
Please send us your project (
support@cadsofttools.com)
Please post questions to the forum or write to
support@cadsofttools.com