Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Highlight text from editbox
Message
De
15/10/2002 07:59:28
 
 
À
15/10/2002 05:29:21
Omar Joseph Estrolavio
Philippine National Police
Quezon, Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00711179
Message ID:
00711261
Vues:
12
Is there any code in your form refresh()? Try replacing your last line (thisform.refresh()) with
ThisForm.edtSummary.SetFocus()
Alan

>Thank you very much Nadya
>I did inserted your codes, unfortunately it highlighted the entire contents of the editbox.
>
>txtSearch=upper(ALLtrim(thisform.contSearch.txtSearch.value))
> loca for txtSearch $ UPPER(edtsummary)
> lnPos=at(txtSearch,upper(thisform.edtsummary.value))
> if m.lnPos>0
> thisform.edtsummary.SelStart=m.lnPos
> thisform.edtsummary.SelLength=len(txtSearch)
> endif
> thisform.refresh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform