Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SET MESSAGE Command
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00808891
Message ID:
00808897
Vues:
24
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform