re: Simple data entry protocol question. (OpenInsight Specific)
At 08 DEC 1997 05:21:37PM F. Boyle wrote:
I have an edit table box on my form that has
Code Last Name First Name MI
If I go to edit a long last name does the user always have to re-type
the name or is there a way to change the behavior of arrow keys while in an edit box?
At 08 DEC 1997 05:41PM Andrew P Mcauley wrote:
F2 toggles edit
World Leaders in all things RevSoft (Except VIP)
At 08 DEC 1997 06:06PM F. Boyle wrote:
Can this F2 toggle be changed since all the users are addicted to F2 as a "List Popup"?!
At 08 DEC 1997 07:34PM Don Bakke wrote:
Can this F2 toggle be changed since all the users are addicted to F2 as a "List Popup"?!
You bet. Put the following code in the CREATE event of your form:
Declare function SendMessage Equ DTM_SETEDITKEY to 1118 Equ DT_BEGINEDIT to 1 Equ VK_CODE to 113 /* 113 is the virtual key code for F2. 114 is the virtual key code for F3 and so on. So just determine which function key you want to use and replace 113 with the appropriate value. */ hWnd=Get_Property(@Window:".ET_ITEM_DATE", "HANDLE") rv=SendMessage(hWnd, DTM_SETEDITKEY, DT_BEGINEDIT, VK_CODE)
At 08 DEC 1997 07:38PM Don Bakke wrote:
In the above example replace .ET_ITEM_DATE with the name of your edit table.
Sorry!