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 Developer 16 Lessons    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Lesson 3 1507
Maggie M 
     
2 years ago
Thank you for all your work on these lessons; they are super! In reviewing this lesson again since I was using listboxes in an excel project, i have a suggestion for your fix. Instead of sending the focus in the On Click Event of the ActiveCustomerList to the MakeActive button like this:

   Private Sub ActiveCustomerList_Click()

      DoSelectAll InactiveCustomerList, False
      MakeActive.SetFocus

    End Sub

set the focus to the MakeInactive button like this:

    Private Sub ActiveCustomerList_Click()

      DoSelectAll InactiveCustomerList, False
      MakeInactive.SetFocus

    End Sub
Now it will be set in the direction you want to send the items. Then set the focus in the On Click Event of the InactiveCustomerList to the MakeActive button like this:

    Private Sub InactiveCustomerList_Click()

      DoSelectAll ActiveCustomerList, False
      MakeActive.SetFocus
    
    End Sub

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

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: 4/30/2026 4:43:56 PM. PLT: 0s