Home » Developer & Programmer » Forms » how to change Prompt Backgroud Color (Forms 6i)
how to change Prompt Backgroud Color [message #385871] Wed, 11 February 2009 10:59 Go to next message
mailtokkalyan
Messages: 65
Registered: December 2006
Location: Bangalore
Member

hi all,
i have a text item with prompt, it shows same color as canvas color when it is in design time, but runtime it shows different color, prompt Visual Attribute does not have the Backgroud color option

how to change prompt background color?

Pls Tell me..


Regards,
Kalyan
Re: how to change Prompt Backgroud Color [message #385941 is a reply to message #385871] Wed, 11 February 2009 23:49 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Have you tried changing the 'prompt_background_color'?

If so, please post the code that is not working. Use 'code' tags.

David
Re: how to change Prompt Backgroud Color [message #386079 is a reply to message #385941] Thu, 12 February 2009 09:22 Go to previous messageGo to next message
mailtokkalyan
Messages: 65
Registered: December 2006
Location: Bangalore
Member

hi david,
where is that option? can u give me a example?
pls

Kalyan
Re: how to change Prompt Backgroud Color [message #386150 is a reply to message #385871] Thu, 12 February 2009 21:41 Go to previous messageGo to next message
mm_kanish05
Messages: 487
Registered: January 2007
Location: Chennai
Senior Member

hi
The same i attempt

set_item_property('param',prompt_foreground_color,'r100g0b0');
set_item_property('param',prompt_background_color,'black');


1st statement is working but 2 is not working can i know why?

kanish
Re: how to change Prompt Backgroud Color [message #386196 is a reply to message #386150] Fri, 13 February 2009 01:44 Go to previous messageGo to next message
Littlefoot
Messages: 20900
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Because Oracle has told you to use RGB color notation, not color name.
Oracle Forms Online Help System
The property value is a reference to an RGB value such as r191g223b191.
Re: how to change Prompt Backgroud Color [message #386310 is a reply to message #386196] Fri, 13 February 2009 09:33 Go to previous messageGo to next message
mailtokkalyan
Messages: 65
Registered: December 2006
Location: Bangalore
Member

Hi Kanish & Littlefoot,
Thanks for your solution, But i want, prompt background color should be transparent.

Could you please tell me?

Thanks,
Kalyan
Re: how to change Prompt Backgroud Color [message #386514 is a reply to message #386310] Sun, 15 February 2009 23:19 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
To have a transparent colour try setting it to 'null' or ''.

David
Re: how to change Prompt Backgroud Color [message #387007 is a reply to message #386514] Tue, 17 February 2009 10:06 Go to previous message
mailtokkalyan
Messages: 65
Registered: December 2006
Location: Bangalore
Member

Hi David,
It is working....Really Very Thanks,

Regards,
Kalyan
Previous Topic: how to disable updates after for specific status
Next Topic: THOUSANDSCHAR and DECIMALCHAR
Goto Forum:
  


Current Time: Wed Dec 07 20:18:31 CST 2016

Total time taken to generate the page: 0.08378 seconds