Home » Developer & Programmer » Forms » Fields Should be Highlighted in Different Colors (Oracle Forms)
Fields Should be Highlighted in Different Colors [message #667754] Sat, 13 January 2018 02:28 Go to next message
Djpats
Messages: 2
Registered: January 2018
Junior Member
Hi Guys,
I am new to Oracle forms.
my requirement is like, in my output form..
fields should be Highlighted in Different Colors.
Field1 should be highlighted in Blue color, Field2 is in Red color and Field3 to be in Green color
how can i implement this...
any logic will be appreciated


Thanks in advance......
Re: Fields Should be Highlighted in Different Colors [message #667756 is a reply to message #667754] Sat, 13 January 2018 05:43 Go to previous messageGo to next message
Littlefoot
Messages: 21333
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Create visual attributes (you'll find the node in Object Navigator), specifying foreground and background colors. Then use those attributes for items (you'll find that property in item's Property Palette window).
Re: Fields Should be Highlighted in Different Colors [message #667757 is a reply to message #667756] Sat, 13 January 2018 10:30 Go to previous messageGo to next message
Djpats
Messages: 2
Registered: January 2018
Junior Member
Yes.. but Dynamically I want to set the colors... for example

Open invoice should be highlighted in Red color, Closed invoice in Green color and partial open/close to be yellow color.
Re: Fields Should be Highlighted in Different Colors [message #667762 is a reply to message #667757] Sun, 14 January 2018 03:51 Go to previous message
Littlefoot
Messages: 21333
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Use SET_ITEM_PROPERTY with its VISUAL_ATTRIBUTE property.
Previous Topic: Exiting Forms
Next Topic: Using dual table in oracle form
Goto Forum:
  


Current Time: Sat Jan 20 23:54:12 CST 2018

Total time taken to generate the page: 0.27243 seconds