The following example uses color schemes in foxpro 2.5. This code should compile and work the same under vfp 7. When executed the colors do not appear for the textboxs. I am using Windows XP. VFP 7 does not have a _SCREEN.THEMES property.
What is the full syntax for @ ... Get? For instance, can I specify the class and object to use when adding the NAME to the @ GET?
* second color pair is W+/BG, which is used on Get TextBox.
DEFINE WINDOW OP01 ;
IN SCREEN NAME op01 ;
FROM 02,10 TO 08,50 ;
TITLE "Operator Signon" ;
FONT lcFONT, lnFSIZE+2 COLOR SCHEME 5
ACTIVATE WINDOW OP01
@ 1,0 SAY "Operator....:" ;
GET ocOPERATOR ;
PICTURE '@K!' ;
NAME txtocOperator ;
WHEN !SYS_SITE.IGNOREOPER
@ 2,0 SAY "Batch Number:" ;
GET ocBATCH ;
PICTURE '@K!' ;
NAME txtocBatch
READ MODAL COLOR W/G