DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: trapping the key strokes in Forms

  1. #1
    Join Date
    Feb 2006
    Posts
    86

    trapping the key strokes in Forms

    1.) How can i set tooltip property of an item dynamically.
    I am using :
    " set_item_property('ITEM_NAME',tooltip_text,'AAAA') ". but its not giving desired result.

    2.) How can i trap the key strokes while working in a runtime form.
    actually my requirement is that i have to scroll certain message along
    with the record. the triggers are available (KEY_SCRUP & KEY_SCRDOWN)
    but i am not able to find which key user has pressed ( up or down arrow
    key). so i just want to trap wether user has pressed up key or down key
    so i can fire trigger accrodingly.

    so is there any way to trap the keystrokes ( in D2k Form). ?

    thanx in advance.

  2. #2
    Join Date
    Feb 2008
    Location
    SP, Brasil
    Posts
    7
    To the second question:
    You can code the triggers KEY_UP and KEY_DOWN on forms or block level.
    These keys are usually to do previous_record and next_record. So, be sure that is it what you realy want.
    Last edited by ViniciusPacheco; 02-13-2008 at 10:36 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width