Michael,
For row colors (background and separate for fonts) there is a property of the 
listbox which will accept either a formula or method call (better) which will 
need to return an RGB color.
I do not know, but would expect that there is a cell color property too.


> On Aug 6, 2021, at 10:28 AM, Michael Ferguson via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Thank you Miyako. That was helpful. However the documentation does not 
> illustrate the context in which the row coloring method is called. Would the 
> method be added to the column expression? Otherwise, I don’t see a way to 
> “bind” it to the listbox or a listbox column.
> 
> Would this normally be called within a For each loop on the entity selection 
> after it is loaded?
> 
> Is there a demo database that illustrates row and cell coloring for 
> collection and entity selection list boxes?
> 
> Thanks,
> 
> Michael
> 
> 
> 
>> On Aug 5, 2021, at 4:37 PM, Keisuke Miyako via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> if you are looking for practical examples:
>> 
>> https://blog.4d.com/display-a-collection-in-a-listbox/
>> 
>> every essential feature since v16 has a featured blog post, often with a 
>> video and/or sample code.
>> **********************************************************************
>> 4D Internet Users Group (4D iNUG)
>> New Forum: https://discuss.4D.com
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **********************************************************************
> 
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to