DBGrid problem???
-
Hi, I create a customized DataGridTextBoxColumn class, I override the Paint method. everything is fine. My question is how to get rid of the textbox control's focus, that means when user click on a cell, the textbox will not show (like no I bar). I try HideEditBox() on the gotfoucus event of the textbox, it works, but with a blink. I try the textbox.caputured property, it doesn't work. is there any good way to solve the problem?? Thanks a lot! Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!
-
Hi, I create a customized DataGridTextBoxColumn class, I override the Paint method. everything is fine. My question is how to get rid of the textbox control's focus, that means when user click on a cell, the textbox will not show (like no I bar). I try HideEditBox() on the gotfoucus event of the textbox, it works, but with a blink. I try the textbox.caputured property, it doesn't work. is there any good way to solve the problem?? Thanks a lot! Alan Shen MCAD for .NET Version ^~^~^~^~^~^~^~^~^~^~^ Great idea is the beginging of success!
Hi, override
Edit
in your customized DataGridTextBoxColumn class and don't call the base implementation. -
Hi, override
Edit
in your customized DataGridTextBoxColumn class and don't call the base implementation.