Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
@ Get color problems
Message
De
25/09/2003 18:46:14
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
@ Get color problems
Divers
Thread ID:
00832523
Message ID:
00832523
Vues:
50
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform