Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, August 17, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: change text color of datetime object
chez
Posts: 44
 
change text color of datetime objectYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 19 Dec 08 11:17 AM
Hi
could someone share their knowledge on how to change the text colour of a datetime object.
sorry new to coding c# and didn't cover classes and coding that isn't codeless on the sage course!

i presume you should do on change event - action item or is it a business rule? but what class is the property in...does this make sense?..
what i need is-
if date is less than today show it as red text else show it as black text

but how to put it in snippet?

Thanks guys/gals

ps noticed certain thread replies refer to OOTB what does this stand for?

[Reply][Quote]
David Lumm
Posts: 87
 
Re: change text color of datetime objectYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Jan 09 6:26 AM
Hi Chez

Bit new to coding C# and SalesLogix myself, but I think I can help you out a little... I hope!

When you say you want to change the text colour of a datetime object, are you referring to a control on a form? If so, then (if I understand it correctly) you might be able to do this as a Style Scheme. Unfortunately I don't know a lot about those, so you'll need to do some further investigation.

The Application Architect help says:
"StyleScheme
Description:
Allows you to make dynamic visual changes to style elements of all visual controls (for example, font color, background color, and so forth).
To use this property:
Select a value from the drop-down list.
This property can be set at design time from a predefined list that can be modified in the configuration located at: Configuration\Global\StyleSchemeTypes.xml.
This property can also be set at run time using expression binding logic. For example, the expression mapped to the StyleScheme property will set the property to 'NegativeNumber' if the Account.Type is 'customer'.
The StyleScheme names defined in the configuration file are mapped to the CSS class names in the Web deployment."

OOTB means Out Of The Box (or at least that's how I've interpreted it...)

Hope this is of some help!

David
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 8/17/2025 5:59:35 AM