Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Color in WAIT command?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00096765
Message ID:
00097907
Views:
32
Bob ...

(Disregard my last message)
This is a subsequent message after I wrote the one, asking how to use the MBOX pgm. It appears that, unfortunately, there are at least three files in the libraries that have MBOX in their names. I have finally found the MBOX you must be referring too ... the one by Brien Givens in the "Visual Foxpro in General" library. It has the features you describe and - is - easy to use. Nice program.

I notice that it seems to allow just one textbox object at a time to be used in a messagebox. I was hoping to be able to have the ability to prompt the user for up to three textbox inputs in a single messagebox.
Have you ever been able to do that?

John Fish
JF Services


>The mbox class in the files library works similar to a messagebox and can be used in a wait status. You can add custom objects, listboxes, text box, all sorts of options. Its a little bit of a challenge to get it working the way you want, but once you understand the concept, it is one of my most important tools. It comes with its own help file, instructions and several samples. I believe the author needs more samples, but it gets you going. Its well worth the 20 or so dollars spent for the source. Check it out. The zipped file comes working with everything but the source.
>
>By the way, you can change about anything on it - colors, etc or modify the source and make it work exactly the way you want. I personally didn't bother, I've got it working fine.
>
>
>
>
>
>>Thanks for bothof your replies. Too bad. It would have been a very useful, extremely quick way to compose a user input dialog. It - does - work. But without the colors it would be drab and colorless to use.
>>
>>John Fish
>>JF Services
>>
>>
>>>>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
>>>
>>>
>>>If i'm not wrong this depends only on the windows color configuration. There's no other way to change wait window color.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform