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
>