Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prevent datagrid row sizing

Status
Not open for further replies.

Mainer

Programmer
Sep 18, 2002
9
US
How does one prevent the user from re-sizing the rows in a datagrid? I have made the columns by the following:

.Columns(0).Allowsizing = False

I have search this forum and looked at the help files and tried many things but the user can still change the size of the rows. Other than disabling the datagrid, which would not allow them to scroll through it, what else can be done?

Thanks
 

Private Sub DataGrid1_RowResize(Cancel As Integer)
Cancel = True
End Sub [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
CCLINT,
Thanks for the reply. It solved the problem. This forum and the folks in it are the greatest!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top