Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Global Status Fn    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Additional Options
Michael Johnson 
        
14 months ago
Some time ago I did something similar (I think there was another video here that made the status function global that inspired me) and I added options to change which form it would send the text to. Most times I would have it go to the Main Menu, so that was the default, but other times I'd want it to go to a different form. There were also times I would either want the text added to the other text like normal or I would want the status box blank first before adding the text. Just another way to arrange the Legos and hopefully gives others ideas. :)

DetailsPublic Sub Status(S As String, Optional BlankOut As Boolean = False, Optional FormName As String = "MainMenuF", Optional ControlName As String = "StatusBox")
  
    If Not CurrentProject.AllForms(FormName).IsLoaded Then Exit Sub
    
    Dim C As Control
    
    Set C = Forms(FormName).Controls(ControlName)
    
    C.SetFocus
    
    If BlankOut Then C.Text = ""

    C.Text = S & vbNewLine & C.Text
    DoEvents
    
    Set C = Nothing

End Sub
Richard Rost  @Reply  
           
14 months ago
Yeah, I think we did something similar in one of the Developer classes. There are so many of them now it's hard to remember. Before I make a new video, I usually Google my own site to see if I've done it before. If it doesn't show up, I'll make another video. EVEN IF I'VE DONE IT BEFORE, if it doesn't show up on Google, that means it demands another video. LOL
Donald Blackwell  @Reply  
        
14 months ago
When I first saw the status box, I thought to myself that was nice for class, but not really useful. But then the more I worked on stuff, the nicer it is not to have to deal with modal message boxes. So I actually combined a couple of the tech helps and made a tempvar to indicate "debug mode" and then when it is on, when a form activates, I use your "form shadow" with the status box in it with the shadow wide enough to have the status without it getting behind the form and that way, I don't have to add it to every form.
Richard Rost  @Reply  
           
14 months ago
Good idea.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Global Status Fn.
 

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: 3/11/2026 9:21:18 PM. PLT: 0s