Changing font for Forms 4.0 applications

From: Christ Vriens <cvriens_at_prl.philips.nl>
Date: Fri, 3 Mar 1995 08:50:33 GMT
Message-ID: <cvriens.794220633_at_isthp1>


I want to change the default font for all labels (static text) and pushbuttons for all my SQL*Forms 4.0 based applications running on bitmapped displays (HP-UX). According to the Forms User's Guide page 5-14 I can not use Oracle Terminal for this, but I can use a 'normal' resource file to get this done.
According to the Release Update (7.0.15) page 3-37 and further I should copy the file $ORACLE_HOME/guicommon/tk2/admin/Tk2Motif.rgb to my home directory with filename Tk2Motif and add the following lines to it :

forms40*label*fontList: <existing font>
forms40*pushb*fontList: <existing font>

This has no effect on my Forms application.s But the following line gives the desired effect :

forms40*menubar*fontList: <existing font>

Probably my resource specification is overruled by another more specific one. Of course I can use named visual attributes, but this is a lot work. Also ORACLE technical support in the Netherlands does not seem to know any solution to this.
Does somebody else have any ideas?

Used ORACLE version : 7.1.3.0.0
Used SQL*Forms version : 4.0.12.4.1
All running on HP-UX A.09.05 A 9000/735


Christ Vriens                     | Phone (+31-407)44560 fax (+31-407)43741
Philips Research Laboratories     | seri-mail cvriens_at_prles2
Prof. Holstlaan 4 (postbox WL 01) | e-mail cvriens_at_prl.philips.nl 5656 AA Eindhoven The Netherlands |
-- 
    Vriens, ing. C.W.F.              
    Philips Research Laboratories
    Building WL p 310, Prof. Holstlaan 4, 5656 AA Eindhoven, The Netherlands
    Phone: +31-40-744560         E-mail: cvriens_at_prl.philips.nl
Received on Fri Mar 03 1995 - 09:50:33 CET

Original text of this message