Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does one select a piece of text in an editbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00265959
Message ID:
00265982
Vues:
18
>I am trying to create an expression builder, similar to the one in the reports. When a user selects a function from a combo list, I put that function into an editbox. It looks like this:
>
> lower(|Field|)
>
>I would then like to have the pipes and text in between selected, |Field|, so that further entry will overwrite this.
>
>Does anyone know where I can find a solution to this.
>
>TIA
>
>DJ

Look at the SelStart, SelLength and SelText properties. You should be able to use them to do what you want.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform