I am writing a touchscreen application, so I need to have the width of the UltraWinGrid scrollbar to be fairly large.
Can anyone tell me the property that will increase the width of the scrollbar? All those I've tried don't seem to do the trick.
Thanks
Hi Peter,
Well... what exactly are you looking for?
If you just want to get the scrollbar width in DotNet, you can use the SystemMetrics class, It think.
But if you are trying to change the width, then you can't do that with managed code as far as I know.
By "system setting", I mean that this is a setting in Windows. To change it, you have to go into your system display settings. It's controlled by the operating system. I guess there is probably some Windows API to set the scrollbar width or other system metrics, but it's probably not a good idea for any single application to be changing these settings, since they affect the entire OS, not just the application. Maybe that's okay if you are creating an application for a machine dedicated to a single touch-screen application, though. But I'm not sure off the top of my head which API you would use.
Hi Mike,
do you happen to know which one that would be. I looking already for some time and I can't figure it out. I'm too looking for exactly what the OP is looking for . . . enlarging the scrollbar (vertical) in the IG Ultragrid for a touchscreen apps we have here.
TIA,
Peter
There's no property on the grid (or any control that I know of) for the width of the scrollbar. The scrollbar width is a Windows system setting.