Hide Scrollbars

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

Moderators: SDS, support, admin

Post Reply
prodriguezdlt
Posts: 49
Joined: 06 Feb 2008, 03:26
Location: Mexico

Hide Scrollbars

Post by prodriguezdlt » 14 Apr 2008, 11:49

Hi, is there anyway that we can hide the scrollbars on the cad image?? i look on the sgimage properties but i couldnt find the scrollbars option...i there any way that thay dont appear? thanks cheers
Pavel
Everything is Posible!

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

Re: Hide Scrollbars

Post by support » 15 Apr 2008, 16:29

Hi Pavel,

We recommend to use the following way:

Code: Select all

TScrollingWinControl(sgImage.parent).HorzScrollBar.Visible := False;
TScrollingWinControl(sgImage.parent).VertScrollBar.Visible := False;
Also we must inform you that TsgImage is an obsolete component. It is left in CAD Import VCL v.6.1 only for compatibility with projects made with previouse versions of the library. Since v.6.1 TSGDrawingNavigator is used.

Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

prodriguezdlt
Posts: 49
Joined: 06 Feb 2008, 03:26
Location: Mexico

Re: Hide Scrollbars

Post by prodriguezdlt » 15 Apr 2008, 16:51

sorry, my bad, im using TSGDrawingNavigator, sorry, what would it be then the right way to hide the scrollbars????....i tried the lines that u gave me but they dont work, i asume its because im using TSGDrawingNavigator as i said.....sorry it was my mistake....

Thanks Sergey.
Everything is Posible!

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

Re: Hide Scrollbars

Post by support » 15 Apr 2008, 18:08

Hi,

CAD Import VCL v.6.1 does not allow switching off scrollbars.
New properties were added in the CAD Import VCL v.6.3 beta:

TsgDrawingNavigator.VertScrollBarVisibility
TsgDrawingNavigator.HorzScrollBarVisibility

They are responsible on switching respective scrollbars off.
Please contact to our executive manager Evgeny Chuzhakin to info@cadsofttools.com accordingly the question of getting updates.

Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

prodriguezdlt
Posts: 49
Joined: 06 Feb 2008, 03:26
Location: Mexico

Re: Hide Scrollbars

Post by prodriguezdlt » 16 Apr 2008, 01:54

Ok, thanks a lot Sergey
Cheers
Pavel
Everything is Posible!

Post Reply