Late to the party here, but what happens if you lock the screen, set the 
backgroundcolor of the line to x, then set the backgroundcolor of all the other 
words to empty?

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig

On Mar 31, 2015, at 8:02 PM, Peter Haworth wrote:

> Thanks Craig, I figured I'd have to invent something.  I haven't used
> measureText before but looking at the dictionary, it seems to indicate the
> measurements all relate to the text itself.
> 
> However, I do know the textheight and the width of the item so I should be
> able to do as you suggest.
> 
> Pete
> lcSQL Software <http://www.lcsql.com>
> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
> 
> On Tue, Mar 31, 2015 at 4:36 PM, <dunb...@aol.com> wrote:
> 
>> Peter.
>> 
>> 
>> I think this may have to be a kluge. Would the "measureText" function give
>> enough information to allow you to place a transparent colored rectangle
>> graphic?
>> 
>> 
>> Craig
>> 
>> 
>> 
>> -----Original Message-----
>> From: Peter Haworth <p...@lcsql.com>
>> To: How to use LiveCode <use-livecode@lists.runrev.com>
>> Sent: Tue, Mar 31, 2015 5:53 pm
>> Subject: Re: BackgroundColor
>> 
>> 
>> Thanks Ralph.  Unfortunately I need to set the background of certain
>> columns
>> (by which I mean between tabs) of a line.
>> 
>> Interesting that it works for the
>> whole line though.  I think I might
>> report it at QCC, not really a bug just an
>> inconsistency.
>> 
>> Pete
>> lcSQL Software <http://www.lcsql.com>
>> Home of
>> lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
>> SQLiteAdmin
>> <http://www.lcsql.com/sqliteadmin.html>
>> 
>> On Tue, Mar 31, 2015 at 1:46 PM,
>> Ralph DiMola <rdim...@evergreeninfo.net>
>> wrote:
>> 
>>> Pete,
>>> 
>>> I found that
>> this happens on setting just char(s). If you set
>>> backgroundcolor of the line
>> it fills in the entire height.
>>> 
>>> Ralph DiMola
>>> IT Director
>>> Evergreen
>> Information Services
>>> rdim...@evergreeninfo.net
>>> 
>>> 
>>> -----Original
>> Message-----
>>> From: use-livecode
>> [mailto:use-livecode-boun...@lists.runrev.com] On
>>> Behalf
>>> Of Peter
>> Haworth
>>> Sent: Tuesday, March 31, 2015 4:18 PM
>>> To: How to use LiveCode
>>> 
>> Subject: BackgroundColor
>>> 
>>> I am setting the backgroundcolor by script of a
>> chunk of text in a field
>>> whose textSize is 16 and textHeight is 30.
>>> 
>>> The
>> backgroundcolor only hilites the text up to the textSize, the area
>>> between
>> the textSize and the textHeight stays unhilited.
>>> 
>>> Is there a property which
>> will hilite the selected text for the full text
>>> height?  Or any other
>> technique for achieveing this?
>>> 
>>> Thanks,
>>> 
>>> Pete
>>> lcSQL Software
>> <http://www.lcsql.com>
>>> Home of lcStackBrowser
>> <http://www.lcsql.com/lcstackbrowser.html> and
>>> SQLiteAdmin
>> <http://www.lcsql.com/sqliteadmin.html>
>>> 
>> _______________________________________________
>>> use-livecode mailing list
>>> 
>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe
>> and manage your
>>> subscription
>>> preferences:
>>> 
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> 
>>> 
>> _______________________________________________
>>> use-livecode mailing list
>>> 
>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe
>> and manage your
>>> subscription preferences:
>>> 
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>> _______________________________________________
>> use-livecode
>> mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe,
>> unsubscribe and manage your subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to