Welcome! Log In Create A New Profile

Advanced

Tab Order

Posted by Parianos Henri 
Parianos Henri
Tab Order
January 16, 2009 11:34PM
:rolleyes:Hi,

Perhaps is this an idioot question but it came to me by suprice.
The following problem:

We have a window

On this window we place 2 items item 1 and item 2
then we place a tab_item and on this tab item we place another 2 fields field 3 and field 4

Now the question:

We can go from item 1 to item 4 by using the tab key but we can not go back using the shft tab is this correct or is there a solution without using the mouse?

Regds
Henri Parianos
Jimbo
Re: Tab Order
January 17, 2009 12:21AM
Hi Henri, you're right. The Shift-Tab key doesn't work properly in some places.

In the exit code of the control you have to use

IF KeyPressed(VK_TAcool smiley and KeyPressed(VK_Shift) THEN
ReturnToCapture(Fiche.sArtMemo)
END

Same goes for the TAB-key where you sometimes wish to move the cursor to a certain control

IF KeyPressed(VK_TAcool smiley THEN
ReturnToCapture(Fiche.sArtMemo)
END

Kind regards,
Guenter
Parianos Henri
Re: Tab Order
January 17, 2009 02:52PM
Hi Guenter,

It work but now I have another problem.

Because i make the windows and fields dynamicly I would like to have te previuws field to move.

Ex.

field 1 to 2 to 3, sft tab then goes to 2 again sft tab the it goes back to field 3
this using the previuews field is another way to navigate thru the seq minus 1 field etc?

Any way thanks for the tip!!

if you have an anszer to this poblem as wel then today is my day :-)

regds
Henri
Paulo Oliveira
Re: Tab Order
January 19, 2009 12:52PM
look in the help for "Indirection"
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: