|
-
August 7th, 2008, 11:09 PM
#1
conditional color change
I am trying to conditionally change PART of a string to a different color.
similar to:
stringvar sResult;
if InStr({Table.Name}, '~~') > 0 then
sResult := "First part of {Table.Name} string "
sResult := [Change color to Red] + "~~next part of {Table.Name} string"
sResult := [Change color to Black] + "last part of {Table.Name} string"
else
sResult := {Table.Name}
Anyone know if this is possible?
Any help is much appreciated.
Ian
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|