I have migrated an old FPW 2.6 application to VFP 9 just as it was, that
means, without any change in code. So, the prg are full of @GET. I face now
the problem that the command buttons do not appear in grey as it was in FPW
2.6, but they appear almost with white background, and since the main Fox
screen also has white background, the buttons are hard to distinguish, since
the contrast is too low between the two whites. What can I do in order to
have a really grey background for the buttons?


TiA
Walter Paul

RE: Coming from FPW 2.6 by Leemi

Leemi
Tue Oct 24 13:27:47 CDT 2006

Hi Walter:

Add a COLOR clause to the @...GET command. For example:

_Screen.Themes=.f.

m0wcolr = "RGB(0,0,0,192,192,192)" + ;
",RGB(0,0,0,255,255,255)" + ;
",,,,RGB(0,0,0,255,255,255)"+;
",,,RGB(0,0,0,236,233,216)"
** Workaround

@ 24.063,4.333 GET m.next_btn ;
PICTURE "@*BHN " + ;
(LOCFILE("bitmaps\next.bmp","BMP|ICO|PCT|ICN","Where is next?")) ;
SIZE 1.500,4.000,0.667 ;
DEFAULT 1 ;
FONT "Arial", 10 ;
VALID btn_val('NEXT') ;
color (m0wcolr ); && new line
MESSAGE 'Go to next record.'


I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/

*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/gp/lifeselectindex
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003

>I have migrated an old FPW 2.6 application to VFP 9 just as it was, that
>means, without any change in code. So, the prg are full of @GET. I face
now
>the problem that the command buttons do not appear in grey as it was in
FPW
>2.6, but they appear almost with white background, and since the main Fox
>screen also has white background, the buttons are hard to distinguish,
since
>the contrast is too low between the two whites. What can I do in order to
>have a really grey background for the buttons?


>TiA
>Walter Paul


Re: Coming from FPW 2.6 by WP

WP
Tue Oct 24 14:23:34 CDT 2006

Thanks Lee,

it works fine. So I have to go through my whole project and search for all
command buttons of type PICTURE '@*N.....' and supply them a color. Is there
a way to do it once and for all, by setting a certain "set color of scheme
xxxx" ?

Walter


"Lee Mitchell" <Leemi@online.microsoft.com> escribió en el mensaje
news:WGiKdo59GHA.1984@TK2MSFTNGXA01.phx.gbl...
> Hi Walter:
>
> Add a COLOR clause to the @...GET command. For example:
>
> _Screen.Themes=.f.
>
> m0wcolr = "RGB(0,0,0,192,192,192)" + ;
> ",RGB(0,0,0,255,255,255)" + ;
> ",,,,RGB(0,0,0,255,255,255)"+;
> ",,,RGB(0,0,0,236,233,216)"
> ** Workaround
>
> @ 24.063,4.333 GET m.next_btn ;
> PICTURE "@*BHN " + ;
> (LOCFILE("bitmaps\next.bmp","BMP|ICO|PCT|ICN","Where is next?")) ;
> SIZE 1.500,4.000,0.667 ;
> DEFAULT 1 ;
> FONT "Arial", 10 ;
> VALID btn_val('NEXT') ;
> color (m0wcolr ); && new line
> MESSAGE 'Go to next record.'
>
>
> I hope this helps.
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> Sincerely,
> Microsoft FoxPro Technical Support
> Lee Mitchell
>
> *-- VFP9 HAS ARRIVED!! --*
> Read about all the new features of VFP9 here:
> http://msdn.microsoft.com/vfoxpro/
>
> *--Purchase VFP 9.0 here:
> http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
> 69-4500-8bf2-3f06689f4ab3&type=ovr
>
> Keep an eye on the product lifecycle for Visual FoxPro here:
> http://support.microsoft.com/gp/lifeselectindex
> - VFP5 Mainstream Support retired June 30th, 2003
> - VFP6 Mainstream Support retired Sept. 30th, 2003
>
>>I have migrated an old FPW 2.6 application to VFP 9 just as it was, that
>>means, without any change in code. So, the prg are full of @GET. I face
> now
>>the problem that the command buttons do not appear in grey as it was in
> FPW
>>2.6, but they appear almost with white background, and since the main Fox
>>screen also has white background, the buttons are hard to distinguish,
> since
>>the contrast is too low between the two whites. What can I do in order to
>>have a really grey background for the buttons?
>
>
>>TiA
>>Walter Paul
>



Re: Coming from FPW 2.6 by Leemi

Leemi
Tue Oct 24 15:36:38 CDT 2006

Hi Walter:

I do not think you can set it globally.

Since you have a lot of locations to change, I would use the Code
References tool in VFP 9.0 to find all the @Gets and then you can do the
replace in the same tool.

I hope this helps.

This posting is provided "AS IS" with no warranties, and confers no rights.

Sincerely,
Microsoft FoxPro Technical Support
Lee Mitchell

*-- VFP9 HAS ARRIVED!! --*
Read about all the new features of VFP9 here:
http://msdn.microsoft.com/vfoxpro/

*--Purchase VFP 9.0 here:
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
69-4500-8bf2-3f06689f4ab3&type=ovr

Keep an eye on the product lifecycle for Visual FoxPro here:
http://support.microsoft.com/gp/lifeselectindex
- VFP5 Mainstream Support retired June 30th, 2003
- VFP6 Mainstream Support retired Sept. 30th, 2003

>Thanks Lee,

>it works fine. So I have to go through my whole project and search for
all
>command buttons of type PICTURE '@*N.....' and supply them a color. Is
there
>a way to do it once and for all, by setting a certain "set color of scheme
>xxxx" ?

>Walter


>"Lee Mitchell" <Leemi@online.microsoft.com> escribió en el mensaje
>news:WGiKdo59GHA.1984@TK2MSFTNGXA01.phx.gbl...
> Hi Walter:
>
> Add a COLOR clause to the @...GET command. For example:
>
> _Screen.Themes=.f.
>
> m0wcolr = "RGB(0,0,0,192,192,192)" + ;
> ",RGB(0,0,0,255,255,255)" + ;
> ",,,,RGB(0,0,0,255,255,255)"+;
> ",,,RGB(0,0,0,236,233,216)"
> ** Workaround
>
> @ 24.063,4.333 GET m.next_btn ;
> PICTURE "@*BHN " + ;
> (LOCFILE("bitmaps\next.bmp","BMP|ICO|PCT|ICN","Where is next?")) ;
> SIZE 1.500,4.000,0.667 ;
> DEFAULT 1 ;
> FONT "Arial", 10 ;
> VALID btn_val('NEXT') ;
> color (m0wcolr ); && new line
> MESSAGE 'Go to next record.'
>
>
> I hope this helps.
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> Sincerely,
> Microsoft FoxPro Technical Support
> Lee Mitchell
>
> *-- VFP9 HAS ARRIVED!! --*
> Read about all the new features of VFP9 here:
> http://msdn.microsoft.com/vfoxpro/
>
> *--Purchase VFP 9.0 here:
>
http://www.microsoft.com/PRODUCTS/info/product.aspx?view=22&pcid=54787e64-52
> 69-4500-8bf2-3f06689f4ab3&type=ovr
>
> Keep an eye on the product lifecycle for Visual FoxPro here:
> http://support.microsoft.com/gp/lifeselectindex
> - VFP5 Mainstream Support retired June 30th, 2003
> - VFP6 Mainstream Support retired Sept. 30th, 2003
>
>>I have migrated an old FPW 2.6 application to VFP 9 just as it was, that
>>means, without any change in code. So, the prg are full of @GET. I face
> now
>>the problem that the command buttons do not appear in grey as it was in
> FPW
>>2.6, but they appear almost with white background, and since the main Fox
>>screen also has white background, the buttons are hard to distinguish,
> since
>>the contrast is too low between the two whites. What can I do in order to
>>have a really grey background for the buttons?
>
>
>>TiA
>>Walter Paul
>


Re: Coming from FPW 2.6 by Craig

Craig
Wed Oct 25 09:11:07 CDT 2006

Try _Screen.Themes = .F.

--
Craig Berntson
MCSD, Visual FoxPro MVP
www.craigberntson.com
Salt Lake City Fox User Group
www.slcfox.org
www.foxcentral.net


"WP" <wpaul@nospam_fibertel.com.ar> wrote in message
news:%23vwSKn39GHA.2180@TK2MSFTNGP05.phx.gbl...
>I have migrated an old FPW 2.6 application to VFP 9 just as it was, that
>means, without any change in code. So, the prg are full of @GET. I face now
>the problem that the command buttons do not appear in grey as it was in FPW
>2.6, but they appear almost with white background, and since the main Fox
>screen also has white background, the buttons are hard to distinguish,
>since the contrast is too low between the two whites. What can I do in
>order to have a really grey background for the buttons?
>
>
> TiA
> Walter Paul
>



Re: Coming from FPW 2.6 by WP

WP
Wed Oct 25 13:10:00 CDT 2006

Hi Craig,

I do _Screen.Themes = .F. at the beginning of my program, but that is not
enough to give the command buttons a more grey aspect. But with Lee's COLOR
(xxxx) in the @GET it works fine.

Thanks a lot
Walter

"Craig Berntson" <iamcraig@iamcraigberntson.com> escribió en el mensaje
news:uDgNr9D%23GHA.924@TK2MSFTNGP03.phx.gbl...
> Try _Screen.Themes = .F.
>
> --
> Craig Berntson
> MCSD, Visual FoxPro MVP
> www.craigberntson.com
> Salt Lake City Fox User Group
> www.slcfox.org
> www.foxcentral.net
>
>
> "WP" <wpaul@nospam_fibertel.com.ar> wrote in message
> news:%23vwSKn39GHA.2180@TK2MSFTNGP05.phx.gbl...
>>I have migrated an old FPW 2.6 application to VFP 9 just as it was, that
>>means, without any change in code. So, the prg are full of @GET. I face
>>now the problem that the command buttons do not appear in grey as it was
>>in FPW 2.6, but they appear almost with white background, and since the
>>main Fox screen also has white background, the buttons are hard to
>>distinguish, since the contrast is too low between the two whites. What
>>can I do in order to have a really grey background for the buttons?
>>
>>
>> TiA
>> Walter Paul
>>
>
>



Re: Coming from FPW 2.6 by Dan_Musicant

Dan_Musicant
Mon Oct 30 14:14:13 CST 2006

-Posted and emailed-

On Wed, 25 Oct 2006 15:10:00 -0300, "WP" <wpaul@nospam_fibertel.com.ar>
wrote:

:Hi Craig,
:
:I do _Screen.Themes = .F. at the beginning of my program, but that is not
:enough to give the command buttons a more grey aspect. But with Lee's COLOR
:(xxxx) in the @GET it works fine.
:
:Thanks a lot
:Walter

Hi Walter,

I had this same problem. I defined a variable:

m0wcolr = "RGB(0,0,0,150,150,150)" + ;
",RGB(0,0,0,255,255,255)" + ;
",,,,RGB(0,0,0,255,255,255)"+;
",,,RGB(0,0,0,210,210,210),RGB(0,0,0,210,210,210)"

In each screen's buttons' WHEN() clause, I put:

.T. COLOR (m0wcolr)

having changed it to Expression from Procedure. Previous to discovering
that trick, I ran a program that made appropriate adjustments to the spr
files.

Dan

:
:"Craig Berntson" <iamcraig@iamcraigberntson.com> escribió en el mensaje
:news:uDgNr9D%23GHA.924@TK2MSFTNGP03.phx.gbl...
:> Try _Screen.Themes = .F.
:>
:> --
:> Craig Berntson
:> MCSD, Visual FoxPro MVP
:> www.craigberntson.com
:> Salt Lake City Fox User Group
:> www.slcfox.org
:> www.foxcentral.net
:>
:>
:> "WP" <wpaul@nospam_fibertel.com.ar> wrote in message
:> news:%23vwSKn39GHA.2180@TK2MSFTNGP05.phx.gbl...
:>>I have migrated an old FPW 2.6 application to VFP 9 just as it was, that
:>>means, without any change in code. So, the prg are full of @GET. I face
:>>now the problem that the command buttons do not appear in grey as it was
:>>in FPW 2.6, but they appear almost with white background, and since the
:>>main Fox screen also has white background, the buttons are hard to
:>>distinguish, since the contrast is too low between the two whites. What
:>>can I do in order to have a really grey background for the buttons?
:>>
:>>
:>> TiA
:>> Walter Paul
:>>
:>
:>
: