Thanks everyone for your suggestions!!!!!!!!

Jeff

---------------

Jeff Johnson
[email protected]
(623) 582-0323

www.san-dc.com


On 03/25/2011 09:00 PM, Tina Currie wrote:
> Jeff,
>
> I change rows rather than cells based on a field in a cursor.  I run it out
> of the grid refresh.  Code looks like:
>
> * Set the backcolor of the records, based on where they came from (new
> order, pick up, manual entry or programmed maintenance)
> thisform.Grid2.SetAll([DynamicBackColor],;
>                        "ICASE(curScheduler.source = 1,RGB(156,210,237)," +
> ;
>                                       "curScheduler.source =
> 2,RGB(208,249,181)," + ;
>                                       "curScheduler.source =
> 3,RGB(174,174,255)," + ;
>                                       "curScheduler.source =
> 4,RGB(255,255,128)," + ;
>                                       "RGB(255,255,255))",[Column])
>
> Tina Currie
> www.datahouse.com.au
>
>
> -----Original Message-----
> From: Jeff Johnson [mailto:[email protected]]
> Sent: Saturday, 26 March 2011 2:30 AM
> To: [email protected]
> Subject: Re: Grid Cell Question
>
> Michael:  Any idea where I would establish it?  What method?  Of the
> grid, column or textbox?
>
> Jeff
>
> ---------------
>
> Jeff Johnson
> [email protected]
> (623) 582-0323
>
> www.san-dc.com
>
>
> On 03/25/2011 08:26 AM, MB Software Solutions, LLC wrote:
>> On 3/25/2011 11:21 AM, Jeff Johnson wrote:
>>> I would like to display the forecolor and backcolor of a textbox in a
>>> grid based on the value of a the textbox.  For example, the value is 1
>>> and I want the cell to be a solid red cell.  If the value is 2, I want
>>> the cell to be a solid yellow, etc.
>>>
>>> This would be for one column only.
>>>
>>> Any ideas?
>>>
>> Look at the DynamicBackColor property.
>>
>
>
>
[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to