Solved

Proporcional Fonts,Controls during  run time...

Posted on 1998-12-07
3
305 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
  • 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

815 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now