Home » Developer & Programmer » Forms » Toolbar menu (oracle forms 6i)
Toolbar menu [message #402399] Sat, 09 May 2009 21:45 Go to next message
dsora
Messages: 24
Registered: May 2009
Junior Member
Hi,
To create toolbar menu I have created a horizontal toolbar canvas and a control block. I have kept three buttons in the control block. One for execute query, another for enter query and last one for cancel query.

For each button I have created when-button-pressed trigger and written code (viz: in execute query -- go_block(<block name>); do_key(execute_query).

When I press on execute query button its working fine.
But when I press on enter query and then execute query button, execute query is not performed.

Can anyone please help me in this issue.
Re: Toolbar menu [message #402433 is a reply to message #402399] Sun, 10 May 2009 07:29 Go to previous messageGo to next message
Littlefoot
Messages: 20900
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Any error message? If so, which one?

What does the "enter query" button do?

By the way, why are you coding something that Forms do by default?
Re: Toolbar menu [message #402551 is a reply to message #402433] Mon, 11 May 2009 07:55 Go to previous message
dsora
Messages: 24
Registered: May 2009
Junior Member
Thank you for your kind response.

I solved my problem.
I was practicing form, so I want to create application specific toolbar.
Problem was due to navigation, i did not set navigation properties to NO (i.e. key-board & mouse navigation-->NO) of toolbar buttons. So when I press the buttons it was trying to navigate to toolbar block item (i.e. execute button) which is restricted in enter-query mode.






Previous Topic: Fill all fields
Next Topic: webutil configuration
Goto Forum:
  


Current Time: Thu Dec 08 00:33:02 CST 2016

Total time taken to generate the page: 0.06244 seconds