I have tried to use variable font names for message widgets,
so that I am able to use different font names under unix and
windows. But since vtcl generates the procedures that build the
windows, it is not possible to use variables here (no access to 
global scope) eg to use: 
        message -font $HeaderFont ...
in the next step I tried to use a function (that returns the font spec) there:
        message -font [GetFont HeaderFont] ...
but vtcl replaces this specification with the actual font value and what I get is
        message -font {{Arial} 14}

Is there any help for me, to do a "write once, run everywhere" ?

Thanks in advance, Rudolf Lindner

___________________________________________________________

Rudolf Lindner                                        
System-developer                e-mail: [EMAIL PROTECTED]

CSD Software GmbH
Enzianstr. 4            phone :  +49 (0)8151 369 0
D-82319 Starnberg               fax   :  +49 (0)8151 369 88
___________________________________________________________


---------------------------------------------------------------------------
To unsubscribe from the Visual Tcl mailing list, please send a message
to [EMAIL PROTECTED] with "unsubscribe vtcl [EMAIL PROTECTED]" in the
message body (where [EMAIL PROTECTED] is your e-mail address).

Reply via email to