Archive: Tab


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


Did you put the controls in the right order (using Field numbers)?


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


Can you attach a minimal example that shows only this problem?


And attach the INI file.


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.

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> :-)


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


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