Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tricky problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00576711
Message ID:
00576750
Vues:
16
I got it to work thanks for the responses. I guess not TOO tricky for you guys though.


>Hi!
>
>m.lnLength = len(this.text)
>this.value = GetNameByStartingLetters(this.value) && use SET NEAR ON and SEEK to find a name by first letters
>this.SelStart = m.lnLength
>thois.SelLength = len(this.text) - m.lnLength
>
>Above will organize search on the fly. At the same time, automatically highlights the rest of text (appended because it is found), so when user type next letters, they override automatically what found for case something else needed.
>
>HTH.
>
>>I was trying to figure a way for a user to populate a field(textbox) automatically but still give the user the ability to change it. Example, if the user types 'F' , the interactive change will kick in and fill out the rest with 'ED EX' so that the word 'FED EX' appears because 90% of the time it will be FED EX but for the other 10%, the user needs to type something else that begins with 'F' but the interactive change only knows about FED EX.
"Build a man a fire, and he's warm for a day.
Set a man on fire, and he's warm for the rest of his life."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform