Gentlemen, Just had an observation by one of our users about the "wish wash" colous used in grids to highlight the current row.
In development mode these are fine as I specify row highlichting with visual persistence and rcb(0,0,255) as the highlightbackcolor for the grid and a white forecolour so it stands out really well as dark blue background with white writing. No problem there...
However, when the program is compiled up into an exe the row highlighting appears a s really light blus back colour with white writing which is almost indistinguishable due to lack of contrast.
Has anyone else come across this phaenomena? In al my years I have never noticed it but it has obviously happened.
Luckily all the grids we use are subclassed so I can change the look accordingly but the same thing happens when I specify green as the highlight back colour.
I appreciate that certain monitors give different "colour hues" but I am running the dev program and the compiled program on the same monitor and still get the different colours... weird!
Any ideas?
A somewhat confused Dave
I allow users to pick colours and save them. Al
-----Original Message-----
Gentlemen, Just had an observation by one of our users about the "wish wash" colous used in grids to highlight the current row.
In development mode these are fine as I specify row highlichting with visual persistence and rcb(0,0,255) as the highlightbackcolor for the grid and a white forecolour so it stands out really well as dark blue background with white writing. No problem there...
However, when the program is compiled up into an exe the row highlighting appears a s really light blus back colour with white writing which is almost indistinguishable due to lack of contrast.
Has anyone else come across this phaenomena? In al my years I have never noticed it but it has obviously happened.
Luckily all the grids we use are subclassed so I can change the look accordingly but the same thing happens when I specify green as the highlight back colour.
I appreciate that certain monitors give different "colour hues" but I am running the dev program and the compiled program on the same monitor and still get the different colours... weird!
Any ideas?
A somewhat confused Dave
Here is an example:
http://tinypic.com/r/2lu7t74/9
top of the screen in Dev mode and the bottom is the same program in compiled exe.
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Allen Pollard Sent: 28 January 2016 12:00 To: profox@leafe.com Subject: RE: VFP Colours in Development mode..
I allow users to pick colours and save them. Al
-----Original Message-----
Gentlemen, Just had an observation by one of our users about the "wish wash" colous used in grids to highlight the current row.
In development mode these are fine as I specify row highlichting with visual persistence and rcb(0,0,255) as the highlightbackcolor for the grid and a white forecolour so it stands out really well as dark blue background with white writing. No problem there...
However, when the program is compiled up into an exe the row highlighting appears a s really light blus back colour with white writing which is almost indistinguishable due to lack of contrast.
Has anyone else come across this phaenomena? In al my years I have never noticed it but it has obviously happened.
Luckily all the grids we use are subclassed so I can change the look accordingly but the same thing happens when I specify green as the highlight back colour.
I appreciate that certain monitors give different "colour hues" but I am running the dev program and the compiled program on the same monitor and still get the different colours... weird!
Any ideas?
A somewhat confused Dave
[excessive quoting removed by server]
Dave Crozier wrote on 2016-01-28:
Here is an example:
http://tinypic.com/r/2lu7t74/9
top of the screen in Dev mode and the bottom is the same program in
compiled exe.
Dave
Dave,
The focus isn't in the same place in that picture. Could that have something to do with it?
Are theme's enabled in one but not the other?
Tracy Pearson PowerChurch Software
Focus doesn't matter here as highlighting is set with visual persistence and selecting the light blue row does nothing so it isn't that.
Config.fpw is the same in dev as it is in the .exe - checked so not that!
Runtime version same as dev version - checked so isn't that
Themes - don't use themes and have them set off - but will check that as a possible problem. Well spotted heads up Ted!
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Tracy Pearson Sent: 28 January 2016 16:06 To: profox@leafe.com Subject: RE: VFP Colours in Development mode..
Dave Crozier wrote on 2016-01-28:
Here is an example:
http://tinypic.com/r/2lu7t74/9
top of the screen in Dev mode and the bottom is the same program in
compiled exe.
Dave
Dave,
The focus isn't in the same place in that picture. Could that have something to do with it?
Are theme's enabled in one but not the other?
Tracy Pearson PowerChurch Software
[excessive quoting removed by server]
In Dev mode are you just going to a specific application within a much larger system? If so have you started in dev mode from the beginning?
On Fri, Jan 29, 2016 at 7:52 AM, Dave Crozier DaveC@flexipol.co.uk wrote:
Focus doesn't matter here as highlighting is set with visual persistence and selecting the light blue row does nothing so it isn't that.
Config.fpw is the same in dev as it is in the .exe - checked so not that!
Runtime version same as dev version - checked so isn't that
Themes - don't use themes and have them set off - but will check that as a possible problem. Well spotted heads up Ted!
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Tracy Pearson Sent: 28 January 2016 16:06 To: profox@leafe.com Subject: RE: VFP Colours in Development mode..
Dave Crozier wrote on 2016-01-28:
Here is an example:
http://tinypic.com/r/2lu7t74/9
top of the screen in Dev mode and the bottom is the same program in
compiled exe.
Dave
Dave,
The focus isn't in the same place in that picture. Could that have something to do with it?
Are theme's enabled in one but not the other?
Tracy Pearson PowerChurch Software
[excessive quoting removed by server]
Yes, Dev mode in the picture has run all the pre login setup stuff and the user specific stuff so I am beginning to look at the Themes as suggested as being the culprit.
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Stephen Russell Sent: 29 January 2016 14:11 To: ProFox Email List profox@leafe.com Subject: Re: VFP Colours in Development mode..
In Dev mode are you just going to a specific application within a much larger system? If so have you started in dev mode from the beginning?
On Fri, Jan 29, 2016 at 7:52 AM, Dave Crozier DaveC@flexipol.co.uk wrote:
Focus doesn't matter here as highlighting is set with visual persistence and selecting the light blue row does nothing so it isn't that.
Config.fpw is the same in dev as it is in the .exe - checked so not that!
Runtime version same as dev version - checked so isn't that
Themes - don't use themes and have them set off - but will check that as a possible problem. Well spotted heads up Ted!
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Tracy Pearson Sent: 28 January 2016 16:06 To: profox@leafe.com Subject: RE: VFP Colours in Development mode..
Dave Crozier wrote on 2016-01-28:
Here is an example:
http://tinypic.com/r/2lu7t74/9
top of the screen in Dev mode and the bottom is the same program in
compiled exe.
Dave
Dave,
The focus isn't in the same place in that picture. Could that have something to do with it?
Are theme's enabled in one but not the other?
Tracy Pearson PowerChurch Software
[excessive quoting removed by server]
Hey Dave,
Was curious to know if you got this issue resolved?
The reason I asked -I'm working on a Multi-Select Grid thing, using code posted to Foxite - and I was just looking at the following set of code where the guy sets colors Different based upon the OS in use: DO CASE && Set colours according to OS CASE UPPER(OS(1)) = [WINDOWS 5.00] && Win 2K .SETALL([DynamicBackColor],; "IIF(&lcSelected, RGB(10,36,106), RGB(255,255,255))",; [Column]) CASE UPPER(OS(1)) = [WINDOWS 5.01] && Win XP .SETALL([DynamicBackColor],; "IIF(&lcSelected, RGB(49,106,197), RGB(255,255,255))",; [Column]) CASE UPPER(OS(1)) = [WINDOWS 6.00] && Vista .SETALL([DynamicBackColor],; "IIF(&lcSelected, RGB(51,153,255), RGB(255,255,255))",; [Column]) CASE UPPER(OS(1)) = [WINDOWS 6.01] && Windows 7 .SETALL([DynamicBackColor],; "IIF(&lcSelected, RGB(51,153,255), RGB(255,255,255))",; [Column]) ENDCASE .SETALL([DynamicForeColor],; && All OS "IIF(&lcSelected, RGB(255,255,255), RGB(0,0,0))",; [Column])
Not sure if this helps w/your issue - but, thought I would post this follow-up.
Regards, Kurt
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Dave Crozier Sent: Friday, January 29, 2016 9:41 AM To: profoxtech@leafe.com Subject: RE: VFP Colours in Development mode..
Yes, Dev mode in the picture has run all the pre login setup stuff and the user specific stuff so I am beginning to look at the Themes as suggested as being the culprit.
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Stephen Russell Sent: 29 January 2016 14:11 To: ProFox Email List profox@leafe.com Subject: Re: VFP Colours in Development mode..
In Dev mode are you just going to a specific application within a much larger system? If so have you started in dev mode from the beginning?
On Fri, Jan 29, 2016 at 7:52 AM, Dave Crozier DaveC@flexipol.co.uk wrote:
Focus doesn't matter here as highlighting is set with visual persistence and selecting the light blue row does nothing so it isn't that.
Config.fpw is the same in dev as it is in the .exe - checked so not that!
Runtime version same as dev version - checked so isn't that
Themes - don't use themes and have them set off - but will check that as a possible problem. Well spotted heads up Ted!
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Tracy Pearson Sent: 28 January 2016 16:06 To: profox@leafe.com Subject: RE: VFP Colours in Development mode..
Dave Crozier wrote on 2016-01-28:
Here is an example:
http://tinypic.com/r/2lu7t74/9
top of the screen in Dev mode and the bottom is the same program in
compiled exe.
Dave
Dave,
The focus isn't in the same place in that picture. Could that have something to do with it?
Are theme's enabled in one but not the other?
Tracy Pearson PowerChurch Software
[excessive quoting removed by server]
On Thu, Jan 28, 2016 at 7:11 AM, Dave Crozier DaveC@flexipol.co.uk wrote:
Here is an example:
http://tinypic.com/r/2lu7t74/9
top of the screen in Dev mode and the bottom is the same program in compiled exe.
Dave
Great illustration, Dave! Thanks for posting it.
So , same machine, same monitor, same Windows theme, eliminates all the easy answers.
Same runtime version.
So, what's different between your development environment and your runtime environment?
When you start in development, do you have a different CONFIG.FPW file? Ihe Dev env reads the local Tools|Options settings, but that shouldn't matter, unless you've set up some custom color scheme and not put that in the EXE. Do you have any conditional code that only runs with the runtime? I suspect you've got an errant setting for using the Windows themes, but I'm not sure where.
Hi Dave,
In development machine using the EXE does occurs the same?
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
On 28/01/2016 11:53, Dave Crozier wrote:
Gentlemen, Just had an observation by one of our users about the "wish wash" colous used in grids to highlight the current row.
In development mode these are fine as I specify row highlichting with visual persistence and rcb(0,0,255) as the highlightbackcolor for the grid and a white forecolour so it stands out really well as dark blue background with white writing. No problem there...
However, when the program is compiled up into an exe the row highlighting appears a s really light blus back colour with white writing which is almost indistinguishable due to lack of contrast.
Has anyone else come across this phaenomena? In al my years I have never noticed it but it has obviously happened.
Luckily all the grids we use are subclassed so I can change the look accordingly but the same thing happens when I specify green as the highlight back colour.
I appreciate that certain monitors give different "colour hues" but I am running the dev program and the compiled program on the same monitor and still get the different colours... weird!
Any ideas?
A somewhat confused Dave
We've had this problem for years with (clothes) designers saying that what they have on screen does not match the printout, but that's a whole different can of worms... The row highlighting etc I do on grids always looks the same on all the user machines. Are you (or the user) using modified windows colours? Does the change of colour happen on all machines or just some?
Peter
This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
www.whisperingsmith.com
Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR. Tel:0161 831 3700 Fax:0161 831 3715
London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960
Is it possible this user is running RDP or at a reduced color depth? That can cause this kind of oddity.
--
rk -----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Peter Cushing Sent: Thursday, January 28, 2016 7:21 AM To: profoxtech@leafe.com Subject: Re: VFP Colours in Development mode..
On 28/01/2016 11:53, Dave Crozier wrote:
Gentlemen, Just had an observation by one of our users about the "wish wash" colous used in grids to highlight the current row.
In development mode these are fine as I specify row highlichting with visual persistence and rcb(0,0,255) as the highlightbackcolor for the grid and a white forecolour so it stands out really well as dark blue background with white writing. No problem there...
However, when the program is compiled up into an exe the row highlighting appears a s really light blus back colour with white writing which is almost indistinguishable due to lack of contrast.
Has anyone else come across this phaenomena? In al my years I have never noticed it but it has obviously happened.
Luckily all the grids we use are subclassed so I can change the look accordingly but the same thing happens when I specify green as the highlight back colour.
I appreciate that certain monitors give different "colour hues" but I am running the dev program and the compiled program on the same monitor and still get the different colours... weird!
Any ideas?
A somewhat confused Dave
We've had this problem for years with (clothes) designers saying that what they have on screen does not match the printout, but that's a whole different can of worms... The row highlighting etc I do on grids always looks the same on all the user machines. Are you (or the user) using modified windows colours? Does the change of colour happen on all machines or just some?
Peter
This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
www.whisperingsmith.com
Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR. Tel:0161 831 3700 Fax:0161 831 3715
London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960
[excessive quoting removed by server]
Hi Dave:
I've tested a new form with a grid with a blue selected row, and it looks the same in development and in EXE.
Here is the form converted to text with FoxBin2Prg, so you can regenerate the binary if you want. Look closely the properties I've used for the grid:
*-------------------------------------------------------------------------------------------------------------------------------------------------------- * (ES) AUTOGENERADO - ¡¡ATENCIÓN!! - ¡¡NO PENSADO PARA EJECUTAR!! USAR SOLAMENTE PARA INTEGRAR CAMBIOS Y ALMACENAR CON HERRAMIENTAS SCM!! * (EN) AUTOGENERATED - ATTENTION!! - NOT INTENDED FOR EXECUTION!! USE ONLY FOR MERGING CHANGES AND STORING WITH SCM TOOLS!! *-------------------------------------------------------------------------------------------------------------------------------------------------------- *< FOXBIN2PRG: Version="1.19" SourceFile="test_resaltargrid.scx" /> (Solo para binarios VFP 9 / Only for VFP 9 binaries) * * DEFINE CLASS dataenvironment AS dataenvironment *< CLASSDATA: Baseclass="dataenvironment" Timestamp="" Scale="" Uniqueid="" ClassIcon="2" />
DataSource = .NULL. Height = 0 Left = 0 Name = "Dataenvironment" Top = 0 Width = 0
ENDDEFINE
DEFINE CLASS form1 AS form *< CLASSDATA: Baseclass="form" Timestamp="" Scale="" Uniqueid="" />
*-- OBJECTDATA items order determines ZOrder / El orden de los items OBJECTDATA determina el ZOrder *< OBJECTDATA: ObjPath="Grid1" UniqueID="" Timestamp="" /> *< OBJECTDATA: ObjPath="Grid1.Column1.Header1" UniqueID="" Timestamp="" /> *< OBJECTDATA: ObjPath="Grid1.Column1.Text1" UniqueID="" Timestamp="" />
Caption = "Form1" DataSession = 2 DoCreate = .T. Height = 249 Left = 0 Name = "Form1" Top = 0 Width = 452 WindowType = 1
ADD OBJECT 'Grid1' AS grid WITH ; ColumnCount = 1, ; Height = 145, ; HighlightStyle = 2, ; Left = 36, ; Name = "Grid1", ; Panel = 1, ; RecordSource = "c_txt", ; SelectedItemBackColor = 0,0,255, ; Themes = .F., ; Top = 52, ; Width = 381, ; Column1.ControlSource = "texto", ; Column1.Name = "Column1", ; Column1.Width = 335 *< END OBJECT: BaseClass="grid" />
ADD OBJECT 'Grid1.Column1.Header1' AS header WITH ; Caption = "Header1", ; Name = "Header1" *< END OBJECT: BaseClass="header" />
ADD OBJECT 'Grid1.Column1.Text1' AS textbox WITH ; BackColor = 255,255,255, ; BorderStyle = 0, ; ForeColor = 0,0,0, ; Margin = 0, ; Name = "Text1", ; SelectedBackColor = 0,0,255 *< END OBJECT: BaseClass="textbox" />
PROCEDURE Load CREATE CURSOR c_txt (texto C(50)) INSERT INTO c_txt (texto) VALUES ("algo para resaltar 1") INSERT INTO c_txt (texto) VALUES ("algo para resaltar 2") INSERT INTO c_txt (texto) VALUES ("algo para resaltar 3") INSERT INTO c_txt (texto) VALUES ("algo para resaltar 4") INSERT INTO c_txt (texto) VALUES ("algo para resaltar 5") GO TOP
ENDPROC
ENDDEFINE
2016-01-28 12:53 GMT+01:00 Dave Crozier DaveC@flexipol.co.uk:
Gentlemen, Just had an observation by one of our users about the "wish wash" colous used in grids to highlight the current row.
In development mode these are fine as I specify row highlichting with visual persistence and rcb(0,0,255) as the highlightbackcolor for the grid and a white forecolour so it stands out really well as dark blue background with white writing. No problem there...
However, when the program is compiled up into an exe the row highlighting appears a s really light blus back colour with white writing which is almost indistinguishable due to lack of contrast.
Has anyone else come across this phaenomena? In al my years I have never noticed it but it has obviously happened.
Luckily all the grids we use are subclassed so I can change the look accordingly but the same thing happens when I specify green as the highlight back colour.
I appreciate that certain monitors give different "colour hues" but I am running the dev program and the compiled program on the same monitor and still get the different colours... weird!
Any ideas?
A somewhat confused Dave
[excessive quoting removed by server]
On 28/01/2016 11:53, Dave Crozier wrote:
Gentlemen, Just had an observation by one of our users about the "wish wash" colous used in grids to highlight the current row.
In development mode these are fine as I specify row highlichting with visual persistence and rcb(0,0,255) as the highlightbackcolor for the grid and a white forecolour so it stands out really well as dark blue background with white writing. No problem there...
However, when the program is compiled up into an exe the row highlighting appears a s really light blus back colour with white writing which is almost indistinguishable due to lack of contrast.
Has anyone else come across this phaenomena? In al my years I have never noticed it but it has obviously happened.
Luckily all the grids we use are subclassed so I can change the look accordingly but the same thing happens when I specify green as the highlight back colour.
I appreciate that certain monitors give different "colour hues" but I am running the dev program and the compiled program on the same monitor and still get the different colours... weird!
Any ideas?
I'd build a new EXE and put in a new form and put on some coloured squares including the background colour you are having trouble with. try this in development and using the runtime, then if they are still different you can rule out any problems with your code.
Peter
This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
www.whisperingsmith.com
Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR. Tel:0161 831 3700 Fax:0161 831 3715
London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960