gettingstarted
[Top] [All Lists]

Changing font sizes on the fly

To: "'Getting Started'" <gettingstarted at lists dot realsoftware dot com>
Subject: Changing font sizes on the fly
From: "Donn Edwards" <vmusic at spamcop dot net>
Date: Wed, 30 Mar 2005 21:23:04 +0200
Delivered-to: gettingstarted at lists dot realsoftware dot com
Importance: Normal
Organization: Black and White Inc
Is there any way I can adjust the TextSize of the controls on a window
programatically at runtime?

In VBA one could say

Dim sngZoom as single, ctl as control

for each ctl in form.controls
    ctl.fontSize = ctl.FontSize * sngZoom
next ctl

How does one do this in RB?

Donn Edwards
Black and White Inc software development
http://www.worship.co.za/BlackAndWhiteInc/

It's not a bug it's a feature, and no we won't fix it!:
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>