Solved

Proporcional Fonts,Controls during  run time...

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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…

729 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