Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo from array

Status
Not open for further replies.

fkwong

Programmer
Jul 5, 2002
65
US
I have a combo box (two columns) defined from the following array example. How do I make it when the user click on the combo box, the selection is default on the top instead of the bottom of the array?

Thanks in advance.

* this array is for the Add
DIME arClass[20,2]
arClass[1,1] = 'A'
arClass[1,2] = 'Accounting Fee'
arClass[2,1] = 'B'
arClass[2,2] = 'Bond Payment'
arClass[3,1] = 'C'
arClass[3,2] = 'Charge Back'
arClass[4,1] = 'D'
arClass[4,2] = 'Finders Fees'
.....
 
fkwong

In the init of the combo:
THIS.DISPLAYVALUE = arClass[1,2] Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top