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 
WizHook
Caleb Hansen 
        
3 years ago
For the life of me I cannot seem to get accurate textwidth lengths to format my text box widths appropriately on my report. I need this in order to dynamically set positions and widths of subsequent text boxes. I've verified that all of my fonts are the same type and size (Calibri (Detail), size 11) I'm using the wizhook tool to get the text widths because using just the TextWidth(Me.TextBox) to set the box widths was way off. It works well for most of them but there are a few times it is quite a bit off. If I go to my colleagues computer and run the same report the differences are even greater. As the text width increases there seems to be an ever greater difference in the value Access is calculating to be the width of the text vs what the actual width is. I've tried deducting a small percentage of the calculated width from the text box width but that seems to be calculated inaccurately as well. I cannot figure out how it is calculating the textwidth to save my life. Not being able to figure this out has been frustrating me for a while now.
Caleb Hansen OP  @Reply  
        
3 years ago
I figured it out. WizHook works wonderfully. It was a combination of some control property settings as well as the screen resolution setup on my colleagues computer that was reason for my troubles.

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/7/2026 8:54:52 AM. PLT: 0s