Click here to Skip to main content
16,005,206 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: edit games Pin
Richard MacCutchan24-Jun-12 21:58
mveRichard MacCutchan24-Jun-12 21:58 
QuestionRe: edit games Pin
Midnight Ahri24-Jun-12 22:04
Midnight Ahri24-Jun-12 22:04 
AnswerRe: edit games Pin
Richard MacCutchan24-Jun-12 22:17
mveRichard MacCutchan24-Jun-12 22:17 
QuestionCannot change text of button on a control. Pin
Ammar_Ahmad22-Jun-12 13:16
Ammar_Ahmad22-Jun-12 13:16 
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 

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.