Dynamic colors/color picker since bld 2623... explained

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
Jaymer
Posts: 2430
Joined: Tue Jan 13, 2015 10:58 am
Location: Tampa, FL
Contact:

Dynamic colors/color picker since bld 2623... explained

Post by Jaymer »

Posted barely in this thread

This is FABULOUS and works great in a grid. The time saving over the traditional way is awesome.

Old Way
Screen Shot 2019-08-26 at 9.35.30 PM.png
Screen Shot 2019-08-26 at 9.35.30 PM.png (176.73 KiB) Viewed 4005 times
Not only is this NOT dynamic (you've hardcoded in the colors) but its processor intensive and a grid of several hundred rows can be 5-10+ seconds to display.

New Way
Screen Shot 2019-08-26 at 8.00.11 PM.png
Screen Shot 2019-08-26 at 8.00.11 PM.png (76.36 KiB) Viewed 4005 times
This may not be the correct way to do it with the 1=1, and there's no Docs on how to indicate the Color but I got lucky with the <<RO....>> and it worked.

--> JaymerTip
Last edited by Jaymer on Sun Nov 17, 2019 9:45 pm, edited 1 time in total.
Click Here to see a collection of my tips & hacks on this forum. Or search for "JaymerTip" in the search bar at the top.

Jaymer
Aware Programming & Consulting - Tampa FL
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Re: Dynamic colors/color picker since bld 2623... explained

Post by tford »

Nice tip, Jaymer!!

Thanks!
Tom - V8.8 build 3137 - MySql / PostGres
Post Reply