Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SET MESSAGE Command
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00808891
Message ID:
00808897
Views:
25
>I would like to direct the results of SET MESSAGE to
>a status bar control that I have placed on a form.
>Anyone know how to do this?

Perhaps this will give you an idea:

I use a top-level UD Method (called "Message" of course) for this. In this method is simply this code:

Lparameters cText
thisform.toolstat.statbar.panels(1).text = cText

The main TL form is called, for example, TopMain, so to place messgaes on the activex bar you just need a call like:

topmain.message('Hello There!')
or
topmain.message('') && to clear the bar

Note: The activex statusbar is encased in a vfp toolbar, it works much better for me that way.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform