How to use TDrawing

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

Moderators: SDS, support, admin

Post Reply
aby
Posts: 81
Joined: 21 May 2007, 13:02
Location: Turkey

How to use TDrawing

Post by aby » 07 Jun 2007, 18:31

Hi,

TsgImage Component is obselete. Your sugestion is to use TSGDrawingNavigator. How would I use the TdrawingNavigator component if there is no design time packages?
There is no TSGDrawingNavigator Package in the lib directory. Where is it? If there isn't how can I use it.

Thanks
Aby

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

Post by support » 08 Jun 2007, 09:42

Hello,

Please find at the following link simple demo which contains an example how to use <b>TSGDrawingNavigator</b>: http://www.cadsofttools.com/download/Template.zip

Sergey.

Please post questions to the forum or write to support@cadsofttools.com

aby
Posts: 81
Joined: 21 May 2007, 13:02
Location: Turkey

Post by aby » 08 Jun 2007, 09:59

Sergey,

I'm using BCB6. I've tried to compile the template example with no success. I've created a new project and add the pas unit. The problem is I can't compile the pas units in BCB6, just because it wants the .dcu's that refers to compile the added pas file. When I've provided the .dcu with the Lib6, it complains that this files are compiled with different versions. So could you tell me which sets of dcu's should I have to include in order to compile this pas file.


Aby

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

Post by support » 08 Jun 2007, 12:53

Hello, Aby.

Please follow the instruction:
<ol type="1">

<li>Download <b>Template_BCB</b> demo available at: http://www.cadsofttools.com/download/Te ... CB.zip</li>
<li>Unpack the package.</li>
<li>Download <b>CAD Import VCL</b> available at: http://www.cadsofttools.com/download/ca ... cl.zip</li>
<li>Unpack the package.</li>
<li>Copy folder <b>Lib</b> with libraries from the ..\cadimportvcl\CBuilder\BCB6\Lib\.. to the ..\Template_BCB\.. folder.</li>
<li>Run BCB 6.</li>
<li>Open project ..\Template_BCB\Template_BCB.bpr.</li>
<li>Select <b>Project > Add to Project...</b> menu item.</li>
<li>Add ..\Template_BCB\Lib\sgDrawingNavigator.obj.</li>
<li>Compile the demo.</li></ol id="1">
Sergey.

Please post questions to the forum or write to support@cadsofttools.com

Post Reply