Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 22 DEC 1998 09:21:04PM André wrote:

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@toledoinc.com


At 23 DEC 1998 02:00AM Nick Stevenson wrote:

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)


At 23 DEC 1998 11:14AM André wrote:

That did the trick.

Thanks Nick.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/c3752f1c864aa8d3852566e3000cea41.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1