I've got a combo box that I populate with a customer type description via the "LIST" property if the record is new. If the record is an existing one, I just set the combo box to whatever the description is. If it's new, I also "DROPDOWN" the box. When I set the combo box for an existing customer, I still have to hit the down arrow on the keyboard in order to populate the list. If the record is for a new customer, I end up with 2 blank spots at the top of the combo box. In other words, if there are four types, I can only see one of them, unless of course I strike the down arrow key. So, can anyone tell me how to :
a. Populate the box for an existing customer without striking the down arrow key ?
b. Leave only one blank spot at the top of the box if the customer is new ?
TIA and Merry Christmas !!
André
Andre
Sounds to me like you are not setting the "TEXT" property of your combo to the first element of the "LIST" array after setting the "LIST" property.
ie
vRet=set_property(combo,"LIST",ListArray)
vRet=set_property(combo,"TEXT",ListArray)
That did the trick.
Thanks Nick.