Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

At 09 MAY 1999 07:15:17AM Celest Celest wrote:

Hi

Is there a trix to get the Escape to work in a EditTable?

Regards

Bo


At 10 MAY 1999 02:16AM amcauley@sprezzatura.com [url=http://www.sprezzatura.com]Sprezzatura Ltd[/url] wrote:

[notag]You could asign a button as the default cancel key then on the event logic for the button do what you wanted to do in the edittable.

[<A HREF="mailto:amcauley@sprezzatura.com" onMouseOver="window.status='Why not click here to send me Email?';return(true)">Andrew McAuley</A>]

[<A HREF="http://www.sprezzatura.com" onMouseOver="window.status='Why not click here to visit our web site?';return(true)">Sprezzatura Group</A>]

[<I>World Leaders in all things RevSoft</I>]

[<img src="http://www.sprezzatura.com/zz.gif">]

[<script language="javascript">function openNewPage () {window.location.href=(document.TOCNavigator.pageToGoTo.options[document.TOCNavigator.pageToGoTo.selectedIndex].value);document.TOCNavigator.pageToGoTo.selectedIndex="0";}end hiding from non-JS browsers –></script>] [<FORM ACTION "" METHOD=GET NAME="TOCNavigator" <SELECT NAME="pageToGoTo" SIZE=1 onChange="openNewPage()"> <OPTION>Why not check out some of Sprezzatura's sample apps on-line now? <OPTION VALUE="http://www.sprezzatura.com/Sample.htm">Sample Applications <OPTION VALUE="http://www.sprezzatura.com">Home Page <OPTION VALUE="http://www.sprezzatura.com/whatsnew.htm">What's New <OPTION VALUE="http://www.sprezzatura.com/senl.htm">SENL <OPTION VALUE="http://www.sprezzatura.com/patches.htm">Download S/LIST <OPTION VALUE="mailto:support@sprezzatura.com">Send mail to support at Sprezzatura <OPTION VALUE="mailto:sales@sprezzatura.com">Send mail to sales at Sprezzatura </SELECT> </FORM>][/notag] </QUOTE> —- === At 10 MAY 1999 10:51AM dsig@teleport.com wrote: === <QUOTE>Bo, What exactly are you trying to do with the ESC and EditTable dsig@teleport.com onmouseover=window.status=imagine … ;return(true)" David Tod Sigafoos ~ SigSolutions voice: 503-639-8080 </QUOTE> —- === At 11 MAY 1999 07:44AM Celest Celest wrote: === <QUOTE>When pressing Esc in then EditTable I just want to close then window. </QUOTE> —- === At 11 MAY 1999 08:08AM Oystein Reigem wrote: === <QUOTE>Bo, I have a home-made popup-like window with a list box - to display a simple list of values. I wanted the window to close if the user pressed the escape key. So I put a special button in the window, and ticked "Cancel Push Button". That works just fine. If you don't want the button visible you can place it outside the window border, e.g do something like this in the window Create handler: Void=Set_Property( @Window : ".CANCEL_BUTTON", "SIZE", 0 : @FM : -50 : @FM : 10 : @FM : 10 ) I'm fairly certain it won't work if you make the button invisible the normal way. Mind you, I haven't got any edit table in that window, but if Andrew says it still will work I believe him. Btw - if you only want the window to close if the edit table has the focus, this "cancel pushbutton" strategy will not work - at least not without some modification. - Oystein - </QUOTE> View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/af728b955341b67b8525676c003dd322.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1