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!

combobox dropdown list goes to the bottom first, why?

Status
Not open for further replies.

teering

Programmer
Nov 4, 2002
30
US
i am using vfp7
i have a combobox declared as 2-dropdownlist it is filled by an array of character data, 2 columns, everything is fine except when you click the down arrow it goes to the bottom of the list, i have tried the form.init with setting the index to 1 and it still goes to the bottom, anyone know what i can do to make it display at the top? thanks in advance
teresa pickering

Teresa Pickering
Professional Computer Services
 
Teresa,
Did you specify a ControlSource? Is it a table/cursor field?

Rick
 
the controlsource is a field (8 chars) based on an updateable view
ex: v_name.v_fieldname

Teresa Pickering
Professional Computer Services
 
Hi Teresa,

What do you have for RowSource and RowSourceType?

Jim
 
rowsource = this.acontents
rowsourcetype = 5-array

where acontents[1,2] is declared as a property of the combobox


Teresa Pickering
Professional Computer Services
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top