I'm using a combobox which is dynamically filled with names. In the text part of it, i'd like to show the current programatically selected name with the following or similiar code:
ShowCombo(%ID_cboHatchName)
ComboBox Find Exact hDlg, %ID_cboHatchName, 1, sFilterHatchName To lRet
ComboBox Select hDlg, %ID_cboHatchName, lRet
The list index and the resulting name are always correct.
But the name only shows for a tenth of a second in the combo's text part; then it disappears again.
What could i do better?
ShowCombo(%ID_cboHatchName)
ComboBox Find Exact hDlg, %ID_cboHatchName, 1, sFilterHatchName To lRet
ComboBox Select hDlg, %ID_cboHatchName, lRet
The list index and the resulting name are always correct.
But the name only shows for a tenth of a second in the combo's text part; then it disappears again.
What could i do better?
Comment