Build 2623
-
- Posts: 7527
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Build 2623
Build 2623 has been released. It includes support for text attributes that store colors. Such attributes can be edited with the Color Picker widget
Aware IM Support Team
Re: Build 2623
Thanks!
Can you give an example of two of how this would be used?
Can you give an example of two of how this would be used?
Tom - V8.8 build 3137 - MySql / PostGres
-
- Posts: 7527
- Joined: Sun Apr 24, 2005 12:36 am
- Contact:
Re: Build 2623
1. You define a text attribute with the property "Content" (former "Format") set to "Color" rather than default setting of "STANDARD"
2. If you put this attribute on a form Aware IM will generate a color-picker widget, rather than the standard text box.
At runtime the user will be able to pick a color as the value for this attribute
3. You can then use this color in tag expressions at various places in the system - in HTML, attribute styles etc.
For example, in HTML:
<div style="background-color:<<MyObject.ColorAttr>>"></div>
4. If used in queries the system by default will display color boxes with actual colors
2. If you put this attribute on a form Aware IM will generate a color-picker widget, rather than the standard text box.
At runtime the user will be able to pick a color as the value for this attribute
3. You can then use this color in tag expressions at various places in the system - in HTML, attribute styles etc.
For example, in HTML:
<div style="background-color:<<MyObject.ColorAttr>>"></div>
4. If used in queries the system by default will display color boxes with actual colors
Aware IM Support Team
Re: Build 2623
It's a year later, but I'm finally using this with Jaymer's help.
Very slick feature!
Nice to be able to set Presentation Rules on an attribute with one simple step. For example, on Category.Name attribute Presentation Rule:
background: <<Category.Color>>
Then by turning on "Use style defined ..."
the Category.Color picked in an instance of Category BO is used as the background color for Category.Name
That Color can then be used as Category is assigned to instances of Orders related to a particular Category.
Very slick feature!
Nice to be able to set Presentation Rules on an attribute with one simple step. For example, on Category.Name attribute Presentation Rule:
background: <<Category.Color>>
Then by turning on "Use style defined ..."
the Category.Color picked in an instance of Category BO is used as the background color for Category.Name
That Color can then be used as Category is assigned to instances of Orders related to a particular Category.
Tom - V8.8 build 3137 - MySql / PostGres
Re: Build 2623
You can also easily pull the chosen Category.Color into another BO & Query:
Tom - V8.8 build 3137 - MySql / PostGres