Colorized Textbox usage


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I can't figure out how to use the Colorized Textbox control.  The help topic that likely would explain it is missing (I have the trail version).  How is this used?  I get what it is used for, just can't figure out how the keywords collection works.
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
This control is just a rich text format control on steroids and uses RegEx to parse out keywords that are defined within your keywords collection.  There is actually a sample that got installed with the trial that will show you how it is used. 

You can get to the demo here:

Start -> All Programs -> MicroFour StrataFrame -> Demos -> StrataFrame UI Controls

The source for that sample can be found here:

Start -> All Programs -> MicroFour StrataFrame -> VB.NET -> StrataFrame UI Controls

Let me know if this doesn't get you going in the right direction.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Doh! The samples! I've taken a look at these and it helped.



Unfortunately, the colorized text box doesn't seem to be working. I configured one to have one collection of keywords, with one keyword. Then directly set the raw text property, with the key word at the start of the line. The text was short: "Client: test" and the keyword was 'Client'. After running the app once, the text was properly formatted in design view, but all of the text was formatted when run. Any ideas?
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
More than likely your Text Matching Options are set to EOL (End of Line).  Here are the settings I used below and it worked the way you are wanting (I think). Smile

Here are the results of the defined key from above:

Let me know if this isn't what you needed.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Nope, it is set for match exact text, just as you have it set. Hence the confusion.
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
Package up your sample and post it here as an attachment and I will look at it.  Does the StrataFrame UI Controls sample work?
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (4.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
I accidently posted the code to this topic:



http://forum.strataframe.net/Topic3937-10-1.aspx?Update=1



For those of you who are wondering what's up.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search