Home » Developer & Programmer » Forms » Highlight field value (oracle forms 6i, orcle 10.2 database)
Highlight field value [message #513255] Sat, 25 June 2011 02:54 Go to next message
sadiq106
Messages: 22
Registered: February 2009
Junior Member
My requirement is, when ever cursor entered into a field, the value of the field will highlight with Blue color and text color will be white, if field is not empty. It the feature of oracle application.

Please guide..

Thanks
ali
Re: Highlight field value [message #513257 is a reply to message #513255] Sat, 25 June 2011 03:21 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
One option would be to use the SET_ITEM_PROPERTY (or, possibly, SET_ITEM_INSTANCE_PROPERTY) built-in (using its VISUAL_ATTRIBUTE property) within the WHEN-NEW-ITEM-INSTANCE trigger.
Re: Highlight field value [message #513263 is a reply to message #513257] Sat, 25 June 2011 04:30 Go to previous messageGo to next message
sadiq106
Messages: 22
Registered: February 2009
Junior Member
Please see attached file for my requirement.

[Updated on: Sat, 25 June 2011 04:32]

Report message to a moderator

Re: Highlight field value [message #513278 is a reply to message #513263] Sat, 25 June 2011 12:24 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
A very nice image.

However, I'd rather see code you managed to produce using suggestion written in my previous message.
Re: Highlight field value [message #513376 is a reply to message #513278] Mon, 27 June 2011 02:48 Go to previous messageGo to next message
sadiq106
Messages: 22
Registered: February 2009
Junior Member
I have copied it from oracle apps 11i and want to implement in my own developed application.

Please guide
Thanks

ali
Re: Highlight field value [message #513480 is a reply to message #513376] Mon, 27 June 2011 15:28 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I don't understand what you don't understand from my first message in this topic. Next step is to write that code for you (which I won't do, not at the moment).
Previous Topic: set item property
Next Topic: new version for Windows vista or windows 7
Goto Forum:
  


Current Time: Mon Sep 16 21:24:24 CDT 2024