Creating horizontal toolbar with image items instead of buttons [problem with enter_query]
Posted on 2009-02-11
i've developed an horizontal toolbar based on images which act like buttons. I set the WHEN-IMAGE-PRESSED trigger for each image and it works fine for "add new record", "delete", "clear", "print" ... except for enter-query, execute and cancel query. When i click on image (enter-query), i enter the query mode, but could not go out of it when clicking on execute-query. It always shows the following message:
>> Enter a query; press F8 to execute, Ctrl+q to cancel <<
When i try to close the form, it executes the query and gives me the results.
So what are the steps to follow in order to execute_query/abort_query when image pressed?
Thanks in advance,