Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo Box Problems
Message
De
10/05/2001 16:09:31
 
 
À
10/05/2001 15:22:10
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00505941
Message ID:
00505979
Vues:
12
I have used this code with a listbox and textbox where the user types in the textbox and the matching item in the listbox is highlighted. I have used it with spaces. It's not exact but with some minor changes should work with a combo box.
  PROCEDURE list1.Init
	select upper(myfield) from mytable where deleted() = .f.;
	        into array thisform.aSource order by myfield
  this.rowsource = "thisform.asource"
  this.requery()
  ENDPROC


  PROCEDURE text1.InteractiveChange
  thisform.list1.listindex = ;
    ceiling(ascan(thisform.asource,allt(upper(this.value)))/1)
Here's to alcohol...the cause of ... and solution to ... all of life's problems - - Homer J. Simpson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform