Mouse Wheel

Discuss and ask questions about CAD VCL (Delphi and C++ Builder).

Moderators: SDS, support, admin

Post Reply
alfons
Posts: 6
Joined: 19 Jun 2007, 22:22
Location: Germany

Mouse Wheel

Post by alfons » 20 Aug 2007, 18:22

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

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 21 Aug 2007, 16:15

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

alfons
Posts: 6
Joined: 19 Jun 2007, 22:22
Location: Germany

Post by alfons » 22 Aug 2007, 13:20

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

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Post by support » 28 Aug 2007, 16:38

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

Post Reply