Restored from previous forum. Originally posted by CONVERT.
 Hello,
I saw the "ComboBoxGadget TAB problem" posted on 02 Oct 2002 :  00:29:28.
If in a Combo Box, the user has a good value, and if he presses TAB, how going easily to the next field or to the previous field (like for the string gadget)?
Is there an easy method?
Other trouble: it seems that SHIFT + TAB in a Combo Box works as TAB in a string gadget.
Is it a bug?
(PB 3.62 and Windows 98 SE).
Thanks a lot.
Jean.
Follows a test code :
; -------------------------------------------
Gtitre$ = "Test TAB in ComboBox"
If OpenWindow(0, 100, 100, 315, 50, #PB_Window_MinimizeGadget | #PB_Window_ScreenCentered, GTitre$) = 0
  MessageRequester(Gtitre$,"Unable to open Window.",0)
  End
EndIf
If CreateGadgetList(WindowID()) = 0
  MessageRequester(Gtitre$,"Unable to create gadgets.",0)
  End
EndIf
StringGadget(1, 10, 10, 100, 24, "")
ComboBoxGadget(2, 120, 10, 100, 300 ,#PB_ComboBox_Editable | #PB_ComboBox_UpperCase)
AddGadgetItem(2, 0, "First")
AddGadgetItem(2, 1, "Second")
StringGadget(3, 250, 10, 50, 24, "")
Repeat
  EventID.l = WaitWindowEvent()
  Select EventID.l
  
    Case #WM_CLOSE ; #PB_EventCloseWindow
      Quit = 1
                
  EndSelect
  
Until Quit = 1
End
; -------------------------------------------
Jean, France.
			
			
									
									
						