Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, June 29, 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: What is Style Scheme property?
Stephen Kennedy
Posts: 37
 
What is Style Scheme property?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Nov 09 11:36 AM
Can someone explain to me how to use the "Style Scheme" property?
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: What is Style Scheme property?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Nov 09 4:18 PM
Quote:
Originally posted by Stephen Kennedy

Can someone explain to me how to use the "Style Scheme" property?


The StyleScheme property is a way to add CSS style to a control on a QuickForm. Basically, you create a CSS class in a CSS file used by the page and then enter the CSS class name in that property. For example, let's say you wanted to force a particular textbox to have Red colored text. You'd add the following to a CSS file, such as the SlxBase.css:

.RedText
{
Color: Red;
}


Then you'd add "RedText" to the StyleScheme property of the textbox to apply that style to the control.

Make sense?

BTW, there is a list somewhere you can edit to have your entries show in the dropdown list to select in the property editor. Can't remember which one off top of my head.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: What is Style Scheme property?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Nov 09 4:19 PM
Also, to point out, now you have a reusable "RedText" style you can apply to any control as needed. Add it to a button, label, etc.
[Reply][Quote]
Stephen Kennedy
Posts: 37
 
Re: What is Style Scheme property?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Nov 09 4:54 PM
Is there already a CSS file already (out-of-the-box) that applies to all pages? Can I simply add my 1 style in there? I read a thread that taught me how to edit StyleSchemeTypes.xml to create a new type for the dropdown. But I'm not sure how I then create a new CSS property (or where to create that new CSS property).

Thank you for all your insight here.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: What is Style Scheme property?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Nov 09 12:15 AM
Yes. SlxBase.css would already be loaded on all pages. Also quickforms.css is loaded for any quickforms.
[Reply][Quote]
Paul Roussell
Posts: 21
 
Re: What is Style Scheme property?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 May 11 10:49 PM
fiogf49gjkf0d

Hi Ryan


I can see in the Application Architect's Help file that the StyleSchemeTypes.xml file should be in VFS Explorer under Configuration/Global, but I don't seem to have one there. 


What I am trying to do is:



  • Make it so I can format currency values as right-aligned.  Currently all my currency values seem to be left-aligned (which is a stupid default behavior!)

  • In some cases, like Unit Cost, I need to show it as $12.3456 (i.e. four decimal places, not two)

  • Change the currency symbol from £ to $.  I cannot see anywhere where this is set.  I saw some articles about this being a Windows bug.  The environment I am using is an Amazon EC2 one using Sage's standard Slx 7.5.3 AMI.  It is on Windows Server 2003 R2 with SP2 and the latest MS updates.


Many thanks! 


Regards


Paul Roussell


Brisbane, Australia


SalesLogix BP since July 1997 (sheesh - nearly 14 years!)

[Reply][Quote]
Mike LaSpina
Posts: 116
 
Re: What is Style Scheme property?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Jun 11 6:00 PM
fiogf49gjkf0d

Paul,


   This file is actually located in the following folder on your AA machine, not in the VFS:


      C:\Documents and Settings\All Users\Application Data\Sage\Platform\Configuration\Global\StyleSchemeTypes.xml?


There arre 2 styles defined by default - 'Bevel' and 'Negative Number'.  You can add whatever you'd like to the list.  You'll need to exit and re-start AA to pick up the changes after editing the file.


 


As to your other isses, you'll likely need to abandon the currency control to get the pound sign and 4 decimal places.  You could use a numeric control, and add the following format string for your text binding:


£{0:#,0.0000}


 


As for the alignment, the numeric control is right aligned.  You do have the option to right or left align numeric values in datagrids.

[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): 6/29/2025 1:16:26 AM