That sounded promising but alas, no joy.

Setting the backgroundcolor to empty had no effect so I tried setting it to
white.  That went back to the original issue where white was the
backgroundcolor up to the font size and the space between that and the text
height was the original backgroundcolor.

I feel like this is a bug or at least an inconsistency so will enter a QCC
report.

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 Fri, Apr 3, 2015 at 5:17 AM, Peter M. Brigham <[email protected]> wrote:

> 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
> [email protected]
> 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, <[email protected]> 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 <[email protected]>
> >> To: How to use LiveCode <[email protected]>
> >> 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 <[email protected]>
> >> 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
> >>> [email protected]
> >>>
> >>>
> >>> -----Original
> >> Message-----
> >>> From: use-livecode
> >> [mailto:[email protected]] 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
> >>>
> >> [email protected]
> >>> Please visit this url to subscribe, unsubscribe
> >> and manage your
> >>> subscription
> >>> preferences:
> >>>
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>>
> >>>
> >>>
> >> _______________________________________________
> >>> use-livecode mailing list
> >>>
> >> [email protected]
> >>> Please visit this url to subscribe, unsubscribe
> >> and manage your
> >>> subscription preferences:
> >>>
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>>
> >> _______________________________________________
> >> use-livecode
> >> mailing list
> >> [email protected]
> >> Please visit this url to subscribe,
> >> unsubscribe and manage your subscription
> >> preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >>
> >>
> >> _______________________________________________
> >> use-livecode mailing list
> >> [email protected]
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> > _______________________________________________
> > use-livecode mailing list
> > [email protected]
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to