BackgroundColor

dunbarx at aol.com dunbarx at aol.com
Tue Mar 31 19:36:46 EDT 2015


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 <pete at lcsql.com>
To: How to use LiveCode <use-livecode at 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 <rdimola at 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
> rdimola at evergreeninfo.net
>
>
> -----Original
Message-----
> From: use-livecode
[mailto:use-livecode-bounces at 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 at 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 at 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 at lists.runrev.com
Please visit this url to subscribe,
unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 




More information about the Use-livecode mailing list