Read Only Scrolling

LaTTicE

Member
Joined
Jun 14, 2004
Messages
11
Programming Experience
1-3
I have a datagrid that my boss wants me make so that it can be scrolled through with the scroll bar while it is still read- only. Is this possible? If not, is there anyway around it? Extra information... The datagrid is contained within a groupbox that is currently disabled. Is there a way to enable only the datagrid within it and keep users from clicking in it all together, except just to scroll? Any help is greatly appreciated.
 

Paszt

Staff member
Joined
Jun 3, 2004
Messages
1,500
Location
Raleigh, NC - USA
Programming Experience
Beginner
You can make the datagrid uneditable by setting it's ReadOnly property to True. The user can click on and select text in the datagrid, but cannot make changes.

Are you trying to make it so they can't even select the data?
 

LaTTicE

Member
Joined
Jun 14, 2004
Messages
11
Programming Experience
1-3
Help

I am trying to make it so that they can scroll through the datagrid while the groupbox is still disabled. As for the rest of it, it is already set at read only... I just need to allow them to scroll through it.
 
Top Bottom