Tab through DataGrid Columns

D

Doug Bell

Hi
I have a datagrid with several columns set to width = 0
When you try to tab from one column to the next, it tabs to the invisible
column.

How can I get it to recognise that the column is not visible ie Width=0 (not
Visible = False) and tab through to the next control?

Thanks

Doug
 
K

Ken Tucker [MVP]

Hi,

I would add a tablestyle to my grid and leave the 0 width columns
out so they wont be shown

http://msdn.microsoft.com/library/d...ry/en-us/dnwinforms/html/wnf_custdatagrid.asp

Ken
----------------
Hi
I have a datagrid with several columns set to width = 0
When you try to tab from one column to the next, it tabs to the invisible
column.

How can I get it to recognise that the column is not visible ie Width=0 (not
Visible = False) and tab through to the next control?

Thanks

Doug
 
D

Doug Bell

Ken,

If I didn't want the columns there, I would not have them there in the first
place.

Thanks for the obvious but the question I asked was can anyone advise how I
can get the Tab to tab to the next visible column.

Doug
 
D

Doug Bell

Ken,
Thanks for the link.
I think I can sort it out from there.
I didn't realise that it was in your post.

Thanks
Doug
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top