gettingstarted
[Top] [All Lists]

RE: Changing font sizes on the fly

To: "'Getting Started'" <gettingstarted at lists dot realsoftware dot com>
Subject: RE: Changing font sizes on the fly
From: "Donn Edwards" <vmusic at spamcop dot net>
Date: Wed, 30 Mar 2005 22:29:06 +0200
Delivered-to: gettingstarted at lists dot realsoftware dot com
Importance: Normal
Organization: Black and White Inc
Thanks, Joe

>   for i = 0 to form.ControlCount - 1
>     ctl = form.Control(i)
>     if ctl IsA StaticText then
>       StaticText(ctl).TextSize = StaticText(ctl).TextSize * sngZoom
>     elseif ctl IsA PushButton then
>       PushButton(ctl).TextSize = PushButton(ctl).TextSize * sngZoom
>     end if
>   next

If it's this simple then why doesn't the Windows IDE do it on the fly for
the incorrect point sizes? I mean, just set sngZoom to (screen DPI)/72 i.e.
96/72

See http://www.realsoftware.com/feedback/viewreport.php?reportid=fnxftsfy
 

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>