|
-
Nov 3rd, 2008, 08:03 PM
#1
Thread Starter
Hyperactive Member
Link a label to a global variable?
Is there anyway to make a label display the current content of a variable without explicitly updating it? I find that I have this code in many places
ChangesMade = False
lblChanges.Text = "No Changes"
What I'm wondering is can I just link lblChanges to the variable ChangesMade so that I can just say
ChangesMade = False
and lblChanges.text will reflect that?
Thanks,
Dave
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|