Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

LOV's:Show Lov of Item with pushbutton

Posted on 1998-12-31
4
Medium Priority
?
1,671 Views
Last Modified: 2012-06-22
I want to show lov of current item with pushbutton on toolbar. Or be able to execute the F9 key to show lov of current item from pushbutton.
0
Comment
Question by:gmoore
  • 2
4 Comments
 

Author Comment

by:gmoore
ID: 1083519
Obvousily the code will be in the when-validate-trigger of the pushbutton
0
 
LVL 1

Accepted Solution

by:
petwg earned 0 total points
ID: 1083520
my....my..... what a nice 3 points......
what the heck....
I think I did do it once.... by using the when button push... and use go_item('item_with_lov')

make the LOV display automatically on click.... or you can set it to check for LOV and put like ....
go_item('item_with_lov')
:blockname.item_with_lov := 'some stupid value';
then it will pop out the LOV... :)

petwg

0
 
LVL 3

Expert Comment

by:vlad_impala
ID: 1083521
In clear stages....

Set the mouse navigate property of the button on the toolbar to false (to stop focus moving to the button when you click it).
Create a WHEN-BUTTON-PRESSED trigger on the button, in the trigger put DO_KEY('LIST_VALUES'); - this will display whatever LOV is associated with the item focus was in when the button was pressed.

Vlad.
0
 

Author Comment

by:gmoore
ID: 1083522
I used Vlad answer, it was cleaner and easier for me. Although Petwg answer works too.
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
Suggested Courses

972 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