Click here to Skip to main content
15,891,006 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Cannot change text of button on a control. Pin
Dave Kreskowiak22-Jun-12 14:38
mveDave Kreskowiak22-Jun-12 14:38 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad22-Jun-12 14:58
Ammar_Ahmad22-Jun-12 14:58 
GeneralRe: Cannot change text of button on a control. Pin
Dave Kreskowiak22-Jun-12 16:09
mveDave Kreskowiak22-Jun-12 16:09 
GeneralRe: Cannot change text of button on a control. Pin
javadadabi23-Jun-12 2:44
javadadabi23-Jun-12 2:44 
GeneralRe: Cannot change text of button on a control. Pin
Dave Kreskowiak23-Jun-12 3:40
mveDave Kreskowiak23-Jun-12 3:40 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad23-Jun-12 4:09
Ammar_Ahmad23-Jun-12 4:09 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad23-Jun-12 4:10
Ammar_Ahmad23-Jun-12 4:10 
AnswerRe: Cannot change text of button on a control. Pin
Luc Pattyn23-Jun-12 4:18
sitebuilderLuc Pattyn23-Jun-12 4:18 
If you mean the Button1 handler should modify the Button1 text, then I see no problem, that works just fine. Mind you, you will see the results only after the Click handler has finished (unless you add a call to Refresh). So changing the text initially, performing a long operation, then changing the text back to its original, all in the one Click handler, will not show any change at all. But then, you shouldn't be doing long operations inside a handler on the GUI thread to begin with... Threads (and BackgroundWorkers) were invented to decouple long operations from the GUI thread.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad23-Jun-12 4:21
Ammar_Ahmad23-Jun-12 4:21 
AnswerRe: Cannot change text of button on a control. Pin
Luc Pattyn23-Jun-12 4:35
sitebuilderLuc Pattyn23-Jun-12 4:35 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad23-Jun-12 4:41
Ammar_Ahmad23-Jun-12 4:41 
AnswerRe: Cannot change text of button on a control. Pin
Luc Pattyn23-Jun-12 4:57
sitebuilderLuc Pattyn23-Jun-12 4:57 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad23-Jun-12 5:28
Ammar_Ahmad23-Jun-12 5:28 
GeneralRe: Cannot change text of button on a control. Pin
Dave Kreskowiak23-Jun-12 5:42
mveDave Kreskowiak23-Jun-12 5:42 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad24-Jun-12 3:59
Ammar_Ahmad24-Jun-12 3:59 
GeneralRe: Cannot change text of button on a control. Pin
Dave Kreskowiak24-Jun-12 4:36
mveDave Kreskowiak24-Jun-12 4:36 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad24-Jun-12 4:44
Ammar_Ahmad24-Jun-12 4:44 
GeneralRe: Cannot change text of button on a control. Pin
javadadabi23-Jun-12 7:41
javadadabi23-Jun-12 7:41 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad24-Jun-12 4:00
Ammar_Ahmad24-Jun-12 4:00 
SuggestionRe: Cannot change text of button on a control. Pin
Ally523-Jun-12 16:15
Ally523-Jun-12 16:15 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad24-Jun-12 4:01
Ammar_Ahmad24-Jun-12 4:01 
SuggestionRe: Cannot change text of button on a control. Pin
Nick Otten24-Jun-12 23:07
Nick Otten24-Jun-12 23:07 
GeneralRe: Cannot change text of button on a control. Pin
Ammar_Ahmad25-Jun-12 1:13
Ammar_Ahmad25-Jun-12 1:13 
QuestionFlowLayoutPanel1 and controls Pin
Ammar_Ahmad21-Jun-12 23:59
Ammar_Ahmad21-Jun-12 23:59 
AnswerRe: FlowLayoutPanel1 and controls Pin
Nick Otten22-Jun-12 0:21
Nick Otten22-Jun-12 0:21 

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.