Moises,
There are a few options. You could change the tab order so your listbox is the first object or you can set the focus in the form's init. The setfocus you have should work from the init of the form. In addition to the two ideas you may also have to set the value property for the listbox to 1.
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement