Solved

Proporcional Fonts,Controls during  run time...

Posted on 1998-12-07
3
307 Views
Last Modified: 2013-12-03
How can I programing aplications without dependencies of fonts definations ?
Problem: Large fonts configured in propriety of Display turns unproportional my Forms. Is there any Library for this
problem ? I tryed to use the "msResize.OCX" but I did not get success...
0
Comment
Question by:agf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 15

Accepted Solution

by:
ameba earned 100 total points
ID: 1448656
1. ;) Tell your users not to use Large font. When installing my software, few times I changed setting to Small fonts and they agreed:
"It really looks better"

2. Only Splash screen looks really bad, because picture does not cover full form. To prevent this ugly thing:
    dx = Screen.TwipsPerPixelX
    If dx = 15 Then
        Set Me.Picture = LoadResPicture(2, vbResBitmap)
    Else  ' dx = 12, Large Fonts, no picture, sorry
    End If

Of course, if 1. won't work, you will have to add another picture for dx=12.

0
 

Author Comment

by:agf
ID: 1448657
Thank you, but I so do the solution above but it's not automatic...
Maybe, Is there any libs or OCXs that solution this Problem ?
I Want fix may "fonts forms" independent the users configurations like "large fonts", OK ?
0
 
LVL 15

Expert Comment

by:ameba
ID: 1448658
Don't think there is any better.
If you open vb5ide.dll in resource editor, you will see it has 6 different splash screens pictures.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
VBS file using code from 2nd file (txt or vbs) 4 47
Access query that references subform 5 48
How are Button Fonts Created? 2 43
GET error with Font Awesome 3 31
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question