Ano Nimus Posted February 15, 2005 Posted February 15, 2005 Trying to find a way to highlight certain words in a textfield. 1stField (text) holds a text: "the quick brown fox jumps over the lazy dog" 2ndField (text): holds the text I want to style: "fox" Script: Goto Field (1stField) Find/Replace [2ndField ; TextStyleAdd(2ndField ; bold)] It does not replace 'fox' with 'fox', however but simply with 'fox'. Can anyone give me a pointer?
comment Posted February 15, 2005 Posted February 15, 2005 Set Field [ yourtable::1stField ; Substitute ( yourtable::1stField ; yourtable::2ndField ; TextStyleAdd ( yourtable::2ndField ; Bold ) ) ]
Ano Nimus Posted February 15, 2005 Author Posted February 15, 2005 Thanks a million, comment, that did it!
Recommended Posts
This topic is 7557 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now