Page 1 of 1

How to change a line style of one line of a field

Posted: Mon Jan 03, 2011 10:55 am
by anttoo
I have a list field, which I want to change a style of selected line different as other lines. Is this possible or am I optimist :? .

Re: How to change a line style of one line of a field

Posted: Mon Jan 03, 2011 11:41 am
by jmburnod
Hi Anttoo,

Try this. Only for one line with a list fld mutiLine = false

Code: Select all

on mouseup
   set the textstyle of char 1 to -1 of me to plain
   set the textstyle of line(the hilitedlines of me) of me to bold
end mouseup

Hope this help

Best regards

Jean-Marc