Click here to Skip to main content
15,919,423 members
Home / Discussions / C#
   

C#

 
GeneralRe: Message Board tags? Pin
Heath Stewart4-May-04 17:01
protectorHeath Stewart4-May-04 17:01 
GeneralRe: Message Board tags? Pin
CWIZO4-May-04 20:39
CWIZO4-May-04 20:39 
GeneralRe: Message Board tags? Pin
Heath Stewart5-May-04 2:55
protectorHeath Stewart5-May-04 2:55 
GeneralDataGridTextBoxColumn.TextBox .KeyDown event doesnt catch Enter key Pin
blankg4-May-04 12:38
blankg4-May-04 12:38 
GeneralUsing MSMQ with Web Services Pin
MrJJKoolJ4-May-04 12:35
MrJJKoolJ4-May-04 12:35 
GeneralRe: Using MSMQ with Web Services Pin
Heath Stewart4-May-04 16:57
protectorHeath Stewart4-May-04 16:57 
GeneralViewing computers in a workgroup Pin
User 9625784-May-04 12:15
User 9625784-May-04 12:15 
GeneralThis should be easy Pin
Neil Van Eps4-May-04 10:45
Neil Van Eps4-May-04 10:45 
Unfortunately it has proven otherwise. I have a simple C# form with a label control(prompt), an OK button, and a Cancel button. When the form loads, the OK button is disabled and the form spawns a worker thread that does some work (runs a pin-pad in this case) and calls a callback function when it is done. In the callback function I re-enable the OK button, and I want to set the focus to the OK button but I can't seem to do it. I used the Focus() method and it fails even though the CanFocus property is true. I also set the ActiveControl property of the form but this failed also. Does anyone have any sage advice for me?

Neil Van Eps

"Sweet liquor eases the pain" - Lionel Hutz from the Simpsons
GeneralRe: This should be easy Pin
leppie4-May-04 11:59
leppie4-May-04 11:59 
GeneralRe: This should be easy Pin
Heath Stewart4-May-04 16:31
protectorHeath Stewart4-May-04 16:31 
GeneralRe: This should be easy Pin
Neil Van Eps11-May-04 8:54
Neil Van Eps11-May-04 8:54 
GeneralRe: This should be easy Pin
Heath Stewart11-May-04 8:56
protectorHeath Stewart11-May-04 8:56 
Generalexport to Excel Pin
econnor4-May-04 9:24
econnor4-May-04 9:24 
GeneralRe: export to Excel Pin
Heath Stewart4-May-04 9:35
protectorHeath Stewart4-May-04 9:35 
GeneralRe: export to Excel Pin
econnor4-May-04 10:21
econnor4-May-04 10:21 
GeneralRe: export to Excel Pin
Heath Stewart4-May-04 10:25
protectorHeath Stewart4-May-04 10:25 
GeneralArchitecture question Pin
Jeff Varszegi4-May-04 9:07
professionalJeff Varszegi4-May-04 9:07 
GeneralRe: Architecture question Pin
Heath Stewart4-May-04 9:13
protectorHeath Stewart4-May-04 9:13 
GeneralRe: Architecture question Pin
Jeff Varszegi4-May-04 9:36
professionalJeff Varszegi4-May-04 9:36 
GeneralRe: Architecture question Pin
Heath Stewart4-May-04 9:51
protectorHeath Stewart4-May-04 9:51 
GeneralRe: Architecture question Pin
Jeff Varszegi4-May-04 10:01
professionalJeff Varszegi4-May-04 10:01 
GeneralRe: Architecture question Pin
Heath Stewart4-May-04 10:16
protectorHeath Stewart4-May-04 10:16 
GeneralNewbie - Updating Custom Controls Pin
andyj18324-May-04 8:20
andyj18324-May-04 8:20 
GeneralRe: Newbie - Updating Custom Controls Pin
Heath Stewart4-May-04 8:31
protectorHeath Stewart4-May-04 8:31 
GeneralRe: Newbie - Updating Custom Controls Pin
andyj18324-May-04 9:04
andyj18324-May-04 9:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.