conditional formatting, how to do it
rcozens at pon.net
Fri Jan 2 11:27:07 CST 2009
> set the textStyle of line theLine of field "test" to "bold"
I forgot this was a "repeat for each" :-[
set the itemDelimiter to " "
put 0 into lineCount
repeat for each line theLine in field "test" of stack "Calendar"
add 1 to lineCount
if item 1 of theLine is "Sunday" then
set the textStyle of line lineCount of field "Test" to "bold"
Rob Cozens CCW
Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
More information about the use-livecode