DataGrid and TAB key

C

chook.harel

Hi, I'm using a DataGrid on my form,
which has also a few Textboxes.
Now, i've reset all the TABSTOP to false,
cause i wanted and i am controlling the tab presses via code (play with
the focuses)

But when I click TAB on the datagrid, no event raises...

I've tried a custom inherit of the DataGrid KeyDown, but still I get
Zero response
from this key.

When I change the datagrid's to tabstop=true, it doesn't change
anything
and if I change a textbox to tabstop=true then the focus is turned into
that object,
again, with disregarding my code entirely...

Can anyone explain why the Datagrid isn't acting like the listview I
used before?
 
C

chook.harel

Another DataGrid question
I have a column I don't want to display,
I tried setting the width to zero, but it still slides into the other
width
another question, is there a way to disable the horizontal scrollbar of
the datagrid
that way i can just hide the column there and the user can't know about
it ...
 

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