Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I make one key press mimic another

Status
Not open for further replies.

benny4129

Programmer
Jan 19, 2007
12
US
I have written a program using 20 single character entry fields. The fields have to be like this because the alpha characters are later added depending on the value entered for each entry. I need know how the use the spacebar when pressed to act like the tab key. Is it possible to do this.

Thanks Benny
 
Hi Benny,

Which version of Clarion do you use? Is your progam an application or a hand-coded clarion project?

The simplest approach is to use ALIAS(EnterKey,TabKey) i.e. if you are using C6.x. Otherwise, do a ALERT(EnterKey) and trap the ALERT() at the top of the ACCEPT loop, update the current control and select the next control.

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top