Click here to Skip to main content
15,887,350 members
Home / Discussions / C#
   

C#

 
GeneralRe: Can't change a button't text at runtime anymore?????? Pin
fiaolle24-Jan-12 23:35
fiaolle24-Jan-12 23:35 
GeneralRe: Can't change a button't text at runtime anymore?????? Pin
OriginalGriff24-Jan-12 23:37
mveOriginalGriff24-Jan-12 23:37 
GeneralRe: Can't change a button't text at runtime anymore?????? Pin
fiaolle25-Jan-12 0:05
fiaolle25-Jan-12 0:05 
GeneralRe: Can't change a button't text at runtime anymore?????? Pin
OriginalGriff25-Jan-12 0:19
mveOriginalGriff25-Jan-12 0:19 
GeneralRe: Can't change a button't text at runtime anymore?????? Pin
fiaolle25-Jan-12 0:28
fiaolle25-Jan-12 0:28 
GeneralRe: Can't change a button't text at runtime anymore?????? Pin
OriginalGriff25-Jan-12 0:32
mveOriginalGriff25-Jan-12 0:32 
GeneralRe: Can't change a button't text at runtime anymore?????? Pin
Pete O'Hanlon25-Jan-12 3:41
mvePete O'Hanlon25-Jan-12 3:41 
AnswerRe: Can't change a button't text at runtime anymore?????? Pin
KP Lee24-Jan-12 12:02
KP Lee24-Jan-12 12:02 
Trying that statement shouldn't even compile. Assuming you didn't complete the statement you really used (with a semi-colon,) this will normally cause the button to refresh and show "Hi" (Without quotes) like your other responder said.

You can try to force a refresh with an .Invalidate

Once, I tried to execute complex logic and print intermediate results by modifying text boxes' .Text property. Wanted to know why that wasn't working. Your winapp has to be idle and waiting for a response before it will render the changes.

I fixed that by assigning a delegate in the winapp, running the calculations on another thread and calling the delegate.
AnswerRe: Can't change a button't text at runtime anymore?????? Pin
OOPSEP25-Jan-12 1:15
OOPSEP25-Jan-12 1:15 
GeneralRe: Can't change a button't text at runtime anymore?????? Pin
fiaolle25-Jan-12 2:30
fiaolle25-Jan-12 2:30 
AnswerRe: Can't change a button't text at runtime anymore?????? Pin
BillWoodruff25-Jan-12 3:41
professionalBillWoodruff25-Jan-12 3:41 
GeneralRe: Can't change a button't text at runtime anymore?????? Pin
fiaolle25-Jan-12 4:17
fiaolle25-Jan-12 4:17 
QuestionLearning C# custom controls Pin
thechazm24-Jan-12 5:53
thechazm24-Jan-12 5:53 
AnswerRe: Learning C# custom controls Pin
fjdiewornncalwe24-Jan-12 9:11
professionalfjdiewornncalwe24-Jan-12 9:11 
AnswerRe: Learning C# custom controls Pin
Dean Oliver24-Jan-12 19:00
Dean Oliver24-Jan-12 19:00 
AnswerRe: Learning C# custom controls Pin
BillWoodruff25-Jan-12 3:49
professionalBillWoodruff25-Jan-12 3:49 
GeneralRe: Learning C# custom controls Pin
thechazm25-Jan-12 9:04
thechazm25-Jan-12 9:04 
Questionhelp with array of buttons Pin
goldsoft24-Jan-12 2:51
goldsoft24-Jan-12 2:51 
AnswerRe: help with array of buttons Pin
Pete O'Hanlon24-Jan-12 3:04
mvePete O'Hanlon24-Jan-12 3:04 
GeneralRe: help with array of buttons Pin
PIEBALDconsult24-Jan-12 3:57
mvePIEBALDconsult24-Jan-12 3:57 
AnswerRe: help with array of buttons Pin
Dean Oliver24-Jan-12 18:47
Dean Oliver24-Jan-12 18:47 
GeneralRe: help with array of buttons Pin
BillWoodruff25-Jan-12 3:54
professionalBillWoodruff25-Jan-12 3:54 
GeneralRe: help with array of buttons Pin
Dean Oliver25-Jan-12 18:49
Dean Oliver25-Jan-12 18:49 
QuestionCreate an application which send forms through google docs and download results Pin
pinifg24-Jan-12 1:37
pinifg24-Jan-12 1:37 
AnswerRe: Create an application which send forms through google docs and download results Pin
Pete O'Hanlon24-Jan-12 1:42
mvePete O'Hanlon24-Jan-12 1:42 

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.