Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox refresh
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00484278
Message ID:
00484293
Views:
16
>I have a Yes/No checkbox whos value is FALSE (unchecked).
>
>In the click event of another object I change it's value to TRUE (checked), yet it still appears unchecked. How do I refresh this object on the screen? Do I have to refresh the entire form or can I refresh the only the checkbox?

Normally, there is nothing special to do. You can refresh the checkbox but you don't need to refresh the entire form.
Private Sub Command1_Click()
    Check1.Value = vbChecked
    Check1.Refresh
End Sub
I don't understand why the checkbox doesn't show the correct state. Can you paste some code?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform