Antonio Linares wrote:It seems as you are creating a dialog from resources. If so, then create it from:
ACTIVATE DIALOG oDlg ON INIT BuildYourCombobox( oDlg )
then
function BuildYourCombobox( oDlg )
@ ..., ... COMBOBOX ... OF oDlg:oBar
return .T. // to give focus to default first control