If you have questions or if you want to share your opinion about Aware IM post your message on this forum
#51211 by aware_support
Fri Jul 12, 2019 6:50 am
Build 2623 has been released. It includes support for text attributes that store colors. Such attributes can be edited with the Color Picker widget
#51212 by tford
Fri Jul 12, 2019 3:39 pm

Can you give an example of two of how this would be used?
#51213 by aware_support
Fri Jul 12, 2019 10:46 pm
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:&lt;&lt;MyObject.ColorAttr&gt;&gt;"></div>
4. If used in queries the system by default will display color boxes with actual colors

Who is online

Users browsing this forum: eagles9999 and 18 guests