Solved

Proporcional Fonts,Controls during  run time...

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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 …
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…
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…

839 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