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!
|
|
Datagrid Color Issue
Posted: 07 Nov 06 9:50 AM
|
fiogf49gjkf0d I've done a datagrid of contacts and colored them based on their status using DataGridCustomDrawCell(ByRef FontColor). Everything looks good, the masses are happy, but there is one user who cannot see the colors. She has sent me screenshots showing that she did get the new form, but all of her records in the datagrid are with a black font.
What I just don't understand is since the color is set in the code, why would she not be able to see it? Does anyone have any possible (or even impossible at this point) reason this might happen?
BTW, using SLX 6.2.3 and the user is XP.
Thanks! |
|
|
|
Re: Datagrid Color Issue
Posted: 07 Nov 06 10:33 AM
|
fiogf49gjkf0d Does she have a different Windows theme / colouring to everyone else and are you setting to windows colours? XP Silver has given me display problems before. I think I was using clInactiveCaptionText on something that was named a different colour but under that theme, looked the same. Therefore no text was displaying.
I may be way off but thought I'd raise it as a stab in the dark. |
|
|
|
Re: Datagrid Color Issue
Posted: 07 Nov 06 10:50 AM
|
fiogf49gjkf0d Thanks John! I did consider the theme since the highlight text and highlight color were behaving differently based on the Windows theme. I had her make sure she was using the Windows XP standard theme, but she still can't see it.
Even though you said you might be "way off," this seems like one of those instances where a "way off" solution is in order.
Also here is my code - nothing fancy:
If vStatus = "Inactive" or vStatus = "Deceased" or vStatus = "Retired" Then FontColor = Application.BasicFunctions.StringToColor ("Red") End If
It's a headscratcher for me... |
|
|
|
Re: Datagrid Color Issue
Posted: 07 Nov 06 11:29 AM
|
fiogf49gjkf0d Also a stab in the dark but is the user display using 32-bit color or is it set to some other color setting. I would also check all of the display settings on that machine since it seems to be machine specific.ML |
|
|
|
Re: Datagrid Color Issue
Posted: 07 Nov 06 11:42 AM
|
fiogf49gjkf0d Just a shot in the dark. But did you ask her if she was color blind? |
|
|
|
Re: Datagrid Color Issue
Posted: 08 Dec 06 9:44 AM
|
fiogf49gjkf0d resolution:
fwiw - service packs were not installed on user's machine |
|
|
|
Re: Datagrid Color Issue
Posted: 08 Dec 06 12:54 PM
|
fiogf49gjkf0d Ahhh another reason to blame the software SalesLogix...lol |
|
|
|