Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color in WAIT command?
Message
 
To
04/05/1998 13:05:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00096765
Message ID:
00096800
Views:
24
>Can any of the text you use in a WAIT command be colorized? It would even be great if the variables used in it could be colorized too.
>This is part of the code that allows a fast and useful way to obtain
>user input using a WAIT command. It works fine. It assumes the default
>Foxpro 5.0a color, however, which is really drab.
>
>WAIT window at 20,70;
> space(10)+"CHARGE SEARCH"+space(10)+chr(13+;
> +chr(13)+;
> "Enter Field 1: "+xtar1+chr(13)+;
> " "+chr(13)+;
> "Enter Field 2: "+xtar2+chr(13)+;
> " "+chr(13)+;
> "ENTERs = Accept END = Cancel";
> to xinp
>
>Any help would be appreciated.
>
>John Fish
>JF services

John,there is no way to do that except changing Windows system colors, but probably you can use your own pop-up container to display the message in colors you want.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform