Mystery Highlight in Data Grid

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
doobox
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 284
Joined: Tue May 24, 2011 11:47 pm

Mystery Highlight in Data Grid

Post by doobox » Fri Apr 13, 2012 11:14 am

Hi there,

I have a data grid and in the color inspector for the group I have set all the colors to dark, mostly black, for everything but the text.

I don't see anything in the behavior script that would change row background color.
Yet when i click away from the standalone stack window, so it becomes inactive, the currently selected row, is highlighted very light maybe about #cccccc

Where does this emanate from please..? I really need to override that code, so it remains the same color as the normal highlighted row color, when the stack is made not the active window.
Kind Regards
Gary

https://www.doobox.co.uk

timbobo
Posts: 1
Joined: Wed Sep 12, 2007 9:38 pm
Contact:

Re: Mystery Highlight in Data Grid

Post by timbobo » Sat Jul 14, 2012 8:12 pm

Just in case anyone else runs into this post looking for an answer.

Ug, it the forum did not let me post a link to the run rev lessons site, you would think it would trust those links.

do a search on google for this:

7343-data-grid-properties

dimmed hilite color
- Color that highlighted lines will be when control is not focused. Prefix property name with "effective" to get the color being used when this property is set to empty.
Tim Bobo
Left Brain Media

Peter Wood
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 92
Joined: Mon Jul 06, 2009 4:53 am

Re: Mystery Highlight in Data Grid

Post by Peter Wood » Sun Jul 15, 2012 2:01 am

It seems you have to deselect "Disable BBCode" before you can post a link. I guess this is a good protection against spam bots.

Here is a link to the datagrid lessons.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10317
Joined: Wed May 06, 2009 2:28 pm

Re: Mystery Highlight in Data Grid

Post by dunbarx » Sun Jul 15, 2012 4:26 am

I ran into this a while back.

Set the "dgFocus" of grp "yourDatGrid" to "true" will keep your colors from running.

Craig Newman

Post Reply