` Using + key as an enter key on forms (Geir Hansen ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Using + key as an enter key on forms
1998-04-30 -- Geir Hansen
 
1) After opening the Window: ALERT(PlusKey) 2) At the alert event for the window: IF KEYCODE() = PlusKey DISABLE(?) SELECT(?) ENABLE(?) END This will move you to the next field, like the TabKey would have done. I found the little trick (disable/select/enable) to be better than just using SELECT(?+1), The SELECT(?+1) might move the cursor to a control with the SKIP attribute or to a control on a different tab on a sheet control.


Today is November 21, 2024, 3:59 am
This article has been viewed 35191 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: