
If there is a GET just before a ComboBox, you will notice that pressing TAB the combobox does not show its dotted focus the first time, though next times are fine. The same applies for a GET before a Button.
That behavior is caused because the GET is returning DLGC_WANTALLKEYS in response to Windows msg WM_GETDLGCODE. Something allowed by Windows but that causes that non desired effect. Simply modify Class TGet Method GetDlgCode() this way and the dotted focus will be properly shown:
Code: Select all | Expand
METHOD GetDlgCode( nLastKey ) CLASS TGet if Len( ::oWnd:aControls ) == 1 return DLGC_WANTALLKEYS endif ::oWnd:nLastKey = nLastKeyreturn nil // DLGC_WANTALLKEYS