Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does one select a piece of text in an editbox
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00265959
Message ID:
00265982
Views:
19
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform