FrançaisEnglishEspañol
PC SOFTForums homeLast messagesOnline repository
PC SOFT
Find...
Perform the searchSearch in...
Newsgroup dedicated to WINDEV (current version), in English
Tab Order
Dec., 11th 2009 at 11:42 AM
Mark
<gu...st@news.pcsoft.fr>

Message 1/3
Tab Order

Hi folks,
I have a text control on a window which currently is not in the tab order, this is because it seldomly needs to be completed.
There is however an 'exeception to the rule' and I wondered if there was any way of
1. Programatically including it back into the tab order
2. If this is achievable, not messing up the rest of the tab order.
Tks
Mark


Dec., 11th 2009 at 12:51 PM
Fabrice Harari
<fr...eb@fabriceharari.com>

Message 2/3
Re: Tab Order

Hi Mark

Lets say that you have a flag set to true when you need to go to that
specific field.

In the field BEFORE in the 'modified tab order', in the exit of field
code, add this:
if bMyFlag = true then
returntocapture(MySeldomUsedTextControl)
end

And in the exit of the seldom used text control do a :
ReturnToCapture(TheNExtFieldInTheModifedTabOrder)

best regards


--
Fabrice Harari
Consultant WinDev, WebDev et WinDev Mobile International

Plus d'information sur http://fabriceharari.com/index_FR.html



Mark wrote:
Hi folks,
I have a text control on a window which currently is not in the tab order, this is because it seldomly needs to be completed.
There is however an 'exeception to the rule' and I wondered if there was any way of
1. Programatically including it back into the tab order
2. If this is achievable, not messing up the rest of the tab order.
Tks
Mark




Dec., 11th 2009 at 01:23 PM
Mark
<gu...st@news.pcsoft.fr>

Message 3/3
Re: Tab Order

Fabrice,
Thank you very much for your suggestion, I will give that a go, thank you!
Mark