How to use right key(-->) move the focus on the third button? [message #350122] |
Wed, 24 September 2008 02:55 |
kevin_ye
Messages: 37 Registered: December 2007 Location: Shanghai,China
|
Member |
|
|
I have created an alert and a button. when i click the button, the alert will show. The button's WHEN-BUTTON-PRESSED code as followling:
declare
lv_alert alert;
lv_button number;
begin
lv_alert := find_alert('ALERT_TEST');
set_alert_property(lv_alert, title, 'Test');
set_alert_property(lv_alert, alert_message_text, 'This is a test alert!');
set_alert_button_property(lv_alert,alert_button1,label,'Yes');
set_alert_button_property(lv_alert,alert_button2,label,'No');
set_alert_button_property(lv_alert,alert_button3,label,'Cancel');
lv_button := SHOW_ALERT(lv_alert);
end;
But after cliking the button, the right key(-->) can only move the focus on the second button, it cannot move to the third button, unless you use tab key.
Can anyone tell me How to use right key(-->) move the focus on the third button? Thanks.
-
Attachment: alert.JPG
(Size: 9.33KB, Downloaded 581 times)
|
|
|
|
|
|
Re: How to use right key(-->) move the focus on the third button? [message #350141 is a reply to message #350140] |
Wed, 24 September 2008 03:45 |
kevin_ye
Messages: 37 Registered: December 2007 Location: Shanghai,China
|
Member |
|
|
Forms [32 bit] Version 9.0.4.0.19 (Production)
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
With the Partitioning option
JServer Release 8.1.7.4.0 - Production
Oracle Toolkit Version 9.0.4.0.31 (Production)
PL/SQL Version 9.0.1.5.1 (Production)
Oracle Procedure Builder V9.0.3.5.0 Build #1641 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 9.0.4.0.6 - Production
Oracle Virtual Graphics System Version 9.0.1.11.0 (Production)
Oracle Tools GUI Utilities Version 9.0.4.0.11 (Production)
Oracle Multimedia Version 9.0.4.0.11 (Production)
Oracle Tools Integration Version 9.0.4.0.0 (Production)
Oracle Tools Common Area Version 9.0.2.12.0
Oracle CORE 9.0.1.5.1 Production
|
|
|
Re: How to use right key(-->) move the focus on the third button? [message #350369 is a reply to message #350141] |
Wed, 24 September 2008 19:50 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
Intersting!!
I'm running:
Forms [32 Bit] Version 10.1.2.0.2 (Production)
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
Oracle Toolkit Version 10.1.2.0.2 (Production)
PL/SQL Version 10.1.0.4.2 (Production)
Oracle Procedure Builder V10.1.2.0.2 - Production
PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
Oracle Query Builder 10.1.2.0.2 - Production
Oracle Virtual Graphics System Version 10.1.2.0.2 (Production)
Oracle Tools GUI Utilities Version 10.1.2.0.2 (Production)
Oracle Multimedia Version 10.1.2.0.2 (Production)
Oracle Tools Integration Version 10.1.2.0.2 (Production)
Oracle Tools Common Area Version 10.1.2.0.2
Oracle CORE 10.1.0.4.0 Production
Using the three alerts available to me, 'Stop', 'Caution', and 'Note', I also can only access 'Yes' and 'No' with the arrow keys. If I define the 'Default Alert Button' to 'Button 3' (and define a 'Button 3 Label' in Forms Builder) the arrow keys will not move the focus out of the 'Cancel' button.
Looks like there is not choice in this matter. Remember that you CAN use the 'tab' key or the mouse or press 'c' to 'Cancel' the alert.
David
[Updated on: Wed, 24 September 2008 19:51] Report message to a moderator
|
|
|
|
|
Re: How to use right key(-->) move the focus on the third button? [message #350387 is a reply to message #350386] |
Wed, 24 September 2008 21:47 |
kevin_ye
Messages: 37 Registered: December 2007 Location: Shanghai,China
|
Member |
|
|
Re: How to use right key(-->) move the focus on the third button? Wed, 24 September 2008 03:38
rajy_salim
What version are you using?
I just tried it on 6i with the same code you provided and it worked perfectly!!
rajy_salim said, he can move the focus to the third button in form 6i.
by the way, i don't think it is a good design to restrick people use right key to move, the end user think it's not convenience. Because people always use left key or right key to move focus in window. For other development tools, such as vb\java, they can use right key to move.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|