Solved

LOV's:Show Lov of Item with pushbutton

Posted on 1998-12-31
4
1,646 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and theā€¦
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
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.

820 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