put the highlighting on a line

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
problème
Posts: 77
Joined: Fri Oct 23, 2015 12:03 am

put the highlighting on a line

Post by problème » Sat Oct 31, 2015 11:00 am

Hello,
I want to know how to change the highlighting of a line, I do not want to change the color , but put the highlighting to another line.
for example, the highlighting is on line 2 , I want to put it in the line 4.

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: put the highlighting on a line

Post by jmburnod » Sat Oct 31, 2015 1:21 pm

Hi,
Magic word should be hilitedlines

Code: Select all

put "2,4,5" into tNumber
set the hilitedlines of fld "myFld" to tNumber
Best regards
Jean-Marc
https://alternatic.ch

sritcp
Posts: 431
Joined: Tue Jun 05, 2012 5:38 pm

Re: put the highlighting on a line

Post by sritcp » Sat Oct 31, 2015 1:49 pm

The hilitedLines property works only with list field.
Not useful if you are trying to highlight a line (or chunk) of a regular text field.

Regards,
Sri

problème
Posts: 77
Joined: Fri Oct 23, 2015 12:03 am

Re: put the highlighting on a line

Post by problème » Sat Oct 31, 2015 2:01 pm

thanks for the helps

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: put the highlighting on a line

Post by Klaus » Sat Oct 31, 2015 2:03 pm


Post Reply