Solved

oracle-forms: got_focus/lost_focus..triggers

Posted on 2003-11-17
3
1,646 Views
Last Modified: 2012-06-27
I have a text item and I want to change the backgroud color whenever user enter the item (with mouse or kbd) in order to change the data in that field.
And I want to set the background to initial color when user leave the item...something like 'got_focus'/'lost_focus' events.

How to do this in Oracle forms? I dont find the equivalent triggers.
0
Comment
Question by:Alta_
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 50 total points
ID: 9762527
use the pre-text-item and post-text-item triggers to change your color like


SET_ITEM_PROPERTY('BLOCKNAME.ITEMNAME',Background_Color,'r25g75b0');

meikl ;-)
0
 

Author Comment

by:Alta_
ID: 9762655
Thanks
0
 

Author Comment

by:Alta_
ID: 9762719
But why the color that I set with

SET_ITEM_PROPERTY('BLOCKNAME.ITEMNAME',Background_Color,
'r75g100b100');

is not the color that I wanted..the color looks different when I run the form...than the color in the property palette (for example dark color instead light blue color).
There is other way to specify colors in oracle forms ..instead rgb value?
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
grant user/role question 11 36
upgrading Oracle 10g/ 11g / 11g R2 to Oracle 12c 25 89
Oracle function to insert records? 15 66
Oracle cursor lifecycle inside procedure. 2 29
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to recover a database from a user managed backup

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question