I have a TeeGrid with horizontal scrollbar only. It's necessary to disable this horizontal scrolling at runtime.
I tried TScrollingMode.None, TScrollDirection.Disabled and Scrolling.Active=False but with no success. Is there a way I can stop scrolling?
Disable horizontal scrolling at runtime
Re: Disable horizontal scrolling at runtime
Hello,
You can try hiding the horizontal scrollBar:
You can try hiding the horizontal scrollBar:
Code: Select all
TeeGrid1.ScrollBars.Horizontal.Visible:=TScrollBarVisible.Hide;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Disable horizontal scrolling at runtime
Yes, this is possible workaround - but unesthetic.
Shouldn't at least one of the mentioned variants work?
Shouldn't at least one of the mentioned variants work?
Re: Disable horizontal scrolling at runtime
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
-
- Site Admin
- Posts: 83
- Joined: Wed Nov 12, 2003 5:00 am
- Location: Girona, Catalonia
- Contact:
Re: Disable horizontal scrolling at runtime
Work in progress, added some comments to the related bug post:
https://www.steema.com/bugs/show_bug.cgi?id=2624
https://www.steema.com/bugs/show_bug.cgi?id=2624