Make Return/Enter key behave like Tab in forms?

Everything else that doesn't fall into one of the other PB categories.
len
New User
New User
Posts: 1
Joined: Tue Apr 19, 2005 8:29 am
Location: Brisbane Australia
Contact:

Make Return/Enter key behave like Tab in forms?

Post by len »

I'm just starting with PB. Is there a (easy) way to make the Return/Enter key act the same as Tab in PB forms? That is, to jump to the next field in the tab order.

Len
linking music & technology
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Depends on how "hacky" you want to be. But you can just send the "tab" keypress event to your window when enter is pressed.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Make Return/Enter key behave like Tab in forms?

Post by PB »

Welcome to PureBasic! :) Please read the FAQ found here:

viewtopic.php?t=4876

The FAQ explains how to search these forums efficiently. A quick search
has found one answer (amongst a few) to your question here:

viewtopic.php?t=3719

:wink:
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply