disable vertical scrollbar on datagrid...

lidds

Junior Contributor
Joined
Nov 9, 2004
Messages
210
I was wondering if anyone could help me with the following problems:

1) Is there a way to disable the verical scrollbar on a datagrid??
2) Also is there a way to tell whether the horizontal scrollbar has been enabled on a datagrid??

I am writing my application in vb.net, so any help would be appreshiated.

Thanks

Simon
 
Simon:
You can get a reference to both the HScrollBar and VScrollBar of the DataGrid through its Controls collection. Once you get the references, you can manipulate them as you would any other Control on the Form.
 
Back
Top