dabossuk
14th August 2003 13:21 UTC
Tab
Hi
I have a ioa.ini file - currently I have 5 text boxes and 5 labels. On the labels I have put NOTABSTOP. However when I tab around the form, it goes from text1 2 next button ... how can I sort the tab order ?
Using latest installoptions2 and NSIS
Thanks
Dabossuk
Joost Verburg
14th August 2003 13:22 UTC
Did you put the controls in the right order (using Field numbers)?
dabossuk
14th August 2003 14:01 UTC
Hi
Yes the fields are in the correct order ... its going from Field1 (text box) to Next Button on the button of the screen. I cannot see a way for it to go field1,2,3,4 etc
DabossUK
kichik
14th August 2003 14:04 UTC
Can you attach a minimal example that shows only this problem?
Joost Verburg
14th August 2003 14:05 UTC
And attach the INI file.
deguix
14th August 2003 15:47 UTC
I have a ioa.ini file - currently I have 5 text boxes and 5 labels. On the labels I have put NOTABSTOP...
You don't need to put NOTABSTOP for labels. The Tab already don't stop in labels.
...its going from Field1 (text box) to Next Button on the button of the screen. I cannot see a way for it to go field1,2,3,4 etc
Remove the NOTABSTOP flag in the Text field 2,3 and 4, and GROUP flag in the first of the Text fields if have one, if none of them resolve your problem, try removing the NOTABSTOP flag from Label fields, as I suggested before.
dabossuk
15th August 2003 11:29 UTC
OK ;-)
I started again ! - I was using the editor tool that generates the .ini file -and it was putting the fields in the wrong order. Have done it manually now ... sorry <feels silly> :-)
shortermemory
11th November 2009 07:19 UTC
Tab Order when using nsDialogs
Hi,
I just want to ask if it is possible to set the order of Tab control when using nsDialog in MUI?
Actually, I just want to skip some buttons/controls when pressing Tab on keyboard (something like NOTABSTOP flag in InstallOptions) so the order doesn't matter actually.
Thanks!
-joel
Anders
11th November 2009 14:51 UTC
Function createPage
nsDialogs::Create /NOUNLOAD 1018
Pop $0
${NSD_CreateButton} 0 0 100% 12u "tab"
Pop $0
${NSD_CreateButton} 0 14u 100% 12u "NOtab"
Pop $0
System::Call 'user32::GetWindowLong(i $0,i ${GWL_STYLE})i.r1'
IntOp $1 $1 & 0xfffeffff ;~WS_TABSTOP
System::Call 'user32::SetWindowLong(i $0,i ${GWL_STYLE},i $1)'
${NSD_CreateButton} 0 28u 100% 12u "tab"
Pop $0
nsDialogs::Show
FunctionEnd
page custom createPage