Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Resize Forms    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
A Major Undertaking
Kevin Yip 
     
4 years ago
I tried making a form resizer and it was a major undertaking...

Rich text fields pose some difficulty since they use HTML tags.  To resize font sizes, you need to go inside the font tags and edit the size attributes -- tricky to automate with VBA.

Lines are a problem too, as their thickness only has a limited range.  You have to check if it reaches the upper or lower limit, and also scale it properly with resizing.

Tab controls are a pest as usual, since unopened tabs are inaccessible to VBA, thus impossible to resize what is contained within.

Datasheets pose a special problem: the ColumnWidth property could have the value of -1, which means auto-fit.  If it's -1, you have no way to know what the real width is, so you can't resize it.

These are just a few of the many lovely problems this project produces.
Richard Rost  @Reply  
          
4 years ago
Oh yeah... it's not easy. There's a reason why I didn't go into all that. LOL. But I almost never use tab controls or datasheets, so cross those off the list. Ha ha.
Dan Jackson  @Reply  
            
4 years ago
Agree with Rick. Focus on getting it up and running with the easy stuff first, then expand onto the more difficult stuff. You'll at least then have a working project and find it easier to track the bugs
Kevin Yip OP  @Reply  
     
4 years ago
Even though Richard doesn't recommend datasheets, they are used by many users out there.  I have to take that into account if I develop any solutions for my users.  For now, I would recommend resizing forms by adjusting Windows scaling in Windows display settings (pic below).  That adjusts for everything: Access UI, Windows UI, etc.
Kevin Yip OP  @Reply  
     
4 years ago

Dan Jackson  @Reply  
            
4 years ago


Who are your clients? lol

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

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: 6/15/2026 1:36:02 AM. PLT: 0s