Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@ Get color problems
Message
From
25/09/2003 18:46:14
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
@ Get color problems
Miscellaneous
Thread ID:
00832523
Message ID:
00832523
Views:
49
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
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Next
Reply
Map
View

Click here to load this message in the networking platform