Page 1 of 1
Hide Scrollbars
Posted: 14 Apr 2008, 11:49
by prodriguezdlt
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
Re: Hide Scrollbars
Posted: 15 Apr 2008, 16:29
by support
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.
Re: Hide Scrollbars
Posted: 15 Apr 2008, 16:51
by prodriguezdlt
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.
Re: Hide Scrollbars
Posted: 15 Apr 2008, 18:08
by support
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.
Re: Hide Scrollbars
Posted: 16 Apr 2008, 01:54
by prodriguezdlt
Ok, thanks a lot Sergey
Cheers
Pavel