Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Labels as click events
Brent Davis 
     
4 years ago
I have a form that I use labels to pull up subforms on the form. I can make the labels turn red when I click on it to show which subforms comes up but if I click on another label the previous label stays red. How can I get the clicked label to go back to a black font when another label is clicked and turns red? Thanks!
Brent Davis OP  @Reply  
     
4 years ago
Also, the subforms are embedded so only the subform that is clicked is visible on the form.
Adam Schwanz  @Reply  
           
4 years ago
Just Change the color of all of the labels when you click on any of them.
If you are currently doing this when you click label 1

label1.forecolor = vbwhite

Then when you click label 2 make it
label2.forecolor = vbwhite
label1.forecolor = vbblack
Brent Davis OP  @Reply  
     
4 years ago
Thanks Adam!  It worked like a charm.
Brent Davis OP  @Reply  
     
3 years ago
I have six labels which when clicked open up the subform for that labels form. I have one issue. Two of which are contacts and call info.  The issue occurs with my contacts form.  If I make a change on the contact form and then click on the call info label the contact info subform still displays. If I click on any of the other labels those forms pull up correctly.  Only trouble with the call info still showing the contact form info.  If I click on another field in the main form and click the call info label it works perfectly.  It only happens if I edit the contact form and only with the call info form. Any ideas? Thanks for the assistance.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/9/2026 3:40:01 AM. PLT: 0s