Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, July 5, 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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Change Check Box Background Color and Font Color
Michael Rivera
Posts: 41
 
Change Check Box Background Color and Font ColorYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 May 11 5:30 PM
fiogf49gjkf0d

I am trying to make these changes on AXFormChange.  The font size is changing correctly.  But not the other 2.  A little help with the correct syntax.


 


Thanks ahead of time.


 




If chkVIP.State = cbChecked Then


    chkVIP.Color = clBtnHighlight


    chkVIP.Font.Size = 14


    chkVIP.FontColor = clRed


 Else


    chkVIP.Color = clBtnFace


    chkVIP.Font.Size = 8


    chkVIP.FontColor = clBtnText


End If



[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Change Check Box Background Color and Font ColorYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Jun 11 10:20 PM
fiogf49gjkf0d

I've never been able to go that deep into the object at runtime......if someone has the answer I'm all ears!

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Change Check Box Background Color and Font ColorYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Jun 11 2:48 AM
fiogf49gjkf0d

Try adding a button to the form. On it's click event do the above - see if it's actually the axFormChange that's the issue - as the .Color and .FontColor are correct. Also, to be sure, instead of using constants use :


chkVIP.Color = Application.BasicFunctions.StringToColor "Red"


 

[Reply][Quote]
Michael Rivera
Posts: 41
 
Re: Change Check Box Background Color and Font ColorYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 02 Jun 11 8:36 AM
fiogf49gjkf0d

I tried using a button and the Application.BasicFunction neither worked.  I guess the Font Size will have to be enough to make it stand out.  If anyone has any other ideas it would be greatly appreciated.


Thank you,


Michael.


 


Quote:
Originally posted by Mike Spragg


Try adding a button to the form. On it's click event do the above - see if it's actually the axFormChange that's the issue - as the .Color and .FontColor are correct. Also, to be sure, instead of using constants use :


chkVIP.Color = Application.BasicFunctions.StringToColor "Red"


 


[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): 7/5/2025 9:22:42 AM