Fog Creek Software
Discussion Board




Welcome! and rules

Joel on Software

Lots of things don't work :-(

Maybe I'm very tired and can't get some things right with VS .NET, but it seems that lots of things don't work correctly in WinForms applications.

DataGrid - the KeyDown / KeyPress / KeyUp events don't fire

DataGrid on a form - even if I set KeyPreview = true for the form, while I'm in the DataGrid, the KeyDown / KeyPress / KeyUp events don't fire

There is no clear way and simple way to validate a record after you write it in the DataGrid. The Validating event only fires after I switch focus from the datagrid completely.

I can't get control from code whenever the user just edited a field in the DataGrid.

etc.

:-(

I really hope Microsoft will fix these someday.

John K.
Sunday, June 29, 2003

Somehow, almost by mistake, I finally got the app working correctly. :)

It's 5:21 AM at my location.

However, the DataGrid seems pretty broken, now. Hope MS will fix it.

Long live Borland - I hope C# Builder will be a much better environment for .NET programmers, just like Borland Delphi is an excellent environment for Windows programmers.

Whew!

John K.
Sunday, June 29, 2003

Ah, but one thing still needs to be done: I still can't make a button which erases the current record. :-(

But - I'll leave that for tomorrow.

John K.
Sunday, June 29, 2003

Hello:

> DataGrid - the KeyDown / KeyPress / KeyUp events don't fire

Yesterday i have the same problem :), see this:


http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B320584



--
Best regards

Vigo-Spain

Carlos Guzmán Álvarez
Wednesday, July 02, 2003

*  Recent Topics

*  Fog Creek Home