Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Browse window in Color
Message
De
20/04/2014 04:30:26
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01598839
Message ID:
01598843
Vues:
51
Hi Cyrus,
I have never done this. But there was a trick. For what I remember a browse window is a grid that behaves in parts like a window, in other like a grid (even if it is called by a non OOP command)

try (untestet)
SET COLOR OF SCHEME 1 TO GR+/B, RB+/R, G/R+
DEFINE WINDOW browse2 IN DESKTOP  FROM 1, 1 TO 25, 100 COLOR SCHEME 1
BROWSE COLOR SCHEME 1 NAME oBrowse_1 WINDOW browse2 
oBrowse_1.BACKCOLOR = GETCOLOR()
oBrowse_1.Column1.BACKCOLOR = GETCOLOR()
*etc
Lutz
>I need to make the browse window open with Yellow on Blue background.
>I have tried COLOR SCHEME parameter and it doesn't seem to work.
>It is always Black on white, no matter what...
>
>
>SET COLOR OF SCHEME 1 TO GR+/B, RB+/R, G/R+
>DEFINE WINDOW browse2 IN DESKTOP  FROM 1, 1 TO 25, 100 COLOR SCHEME 1
>BROWSE window browse2 COLOR SCHEME 1 
>
>
>Thank you.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform