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.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only