Solved

Proporcional Fonts,Controls during  run time...

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
LINQ return type for nested group query 6 59
Use Multiple Forms 4 38
DIR issue 7 47
using web browser with BING 40 86
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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

760 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

17 Experts available now in Live!

Get 1:1 Help Now