Home » Developer & Programmer » Forms » Change the Fonts at runtime..?
Change the Fonts at runtime..? [message #82175] Thu, 01 May 2003 10:39 Go to next message
Anand
Messages: 161
Registered: August 1999
Senior Member
Hi
i m newbie to Forms 6i. I have a text list and a text
box. the text list contains 2 values viz A and B. if the user selects A, then the text box should have default font "MS Sans Serif" and if the user select B then i want the fonts to be changed to Times New Roman.
How to write the code for the same?
Thks in advance...
Re: Change the Fonts at runtime..? [message #82182 is a reply to message #82175] Fri, 02 May 2003 11:55 Go to previous messageGo to next message
Anand
Messages: 161
Registered: August 1999
Senior Member
Cant anybody help me?
Re: Change the Fonts at runtime..? [message #82186 is a reply to message #82182] Fri, 02 May 2003 14:02 Go to previous messageGo to next message
Julie
Messages: 98
Registered: February 2002
Member
Use visual attributes with different fonts.
Re: Change the Fonts at runtime..? [message #82204 is a reply to message #82186] Wed, 07 May 2003 00:08 Go to previous message
N.Krishnaprakash
Messages: 3
Registered: May 2003
Junior Member
Hi,

Using following statements you can change font name at runtime.

set_item_property(field_name,Font_name,'Arial');

Bye..
Previous Topic: Mutating triggers
Next Topic: Problem with ROLE...
Goto Forum:
  


Current Time: Thu Apr 25 07:30:17 CDT 2024