hello guys~
i need your opinion on the following code:

Private Sub Form_Load()
cmbUser.AddItem "Faculty"
cmbUser.AddItem "Applicant"
End Sub



Private Sub cmbUser_DropDown()
cmbUser.Clear
cmbUser.AddItem "Faculty"
cmbUser.AddItem "Applicant"
End Sub

i always use the combo box dropdown event when adding list to my combo box then i see some code adding list to combo box using the form load event. i want to try the form load on all of my combo boxes. both event works right? and if you can share other code for adding list to combo box.. please do. thanks~

found my answer.
i will be using the dropdown event instead. so it will be updated whenever i use the combo box

i found a problem on the form load event on my system. i use 2 forms at the same time , 1 acts as a background.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.