|
-
March 13th, 2006, 07:24 AM
#1
unlock columns's size
In Visual Studio 2003, like I can avoid that the user does not change the size of the columns of a datagrid and listview?
Thank you and sorry for my english
-
March 13th, 2006, 07:57 AM
#2
Re: unlock columns's size
 Originally Posted by sebastianos
In Visual Studio 2003, like I can avoid that the user does not change the size of the columns of a datagrid and listview?
Thank you and sorry for my english
If i understand right ..check this: Auto sizing DataGrid
It takes seconds for rating…that actually compensates the minutes taken for giving answers
The biggest guru-mantra is: Never share your secrets with anybody. It will destroy you.
Regards, Be generous->Rate people
Jayender!!
-
March 13th, 2006, 08:43 AM
#3
Re: unlock columns's size
thanks, but what I want are to avoid that the user changes the size of the columns.
-
March 13th, 2006, 08:49 AM
#4
Re: unlock columns's size
 Originally Posted by sebastianos
thanks, but what I want are to avoid that the user changes the size of the columns.
Welcome dude..and about the changes...
1) Data Grid basically is a table. You can use style sheet on the data grid
to control its column size
2) Write something like "dg.Columns[0].ItemStyle.Width"
3) Right click on the data Grid --> Properties builder --> Columns -> Add
several column -->Back to Format --> Columns --> You should be able to
control the width of the column, and the height of the column will be
depended on the font size and the data.
It takes seconds for rating…that actually compensates the minutes taken for giving answers
The biggest guru-mantra is: Never share your secrets with anybody. It will destroy you.
Regards, Be generous->Rate people
Jayender!!
-
March 13th, 2006, 08:55 AM
#5
Re: unlock columns's size
they do not understand to me...
I want that, when executing the application, the user cannot change the wide one of the columns.
thanks!!!
-
March 13th, 2006, 10:29 AM
#6
Re: unlock columns's size
-
March 13th, 2006, 10:52 AM
#7
Re: unlock columns's size
-
March 13th, 2006, 11:08 AM
#8
Re: unlock columns's size
and with a listview is possible?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|