Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cesar Chalom's messageboxex
Message
De
04/03/2021 04:44:40
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
03/03/2021 17:06:18
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01678706
Message ID:
01678751
Vues:
96
>>Thanks. It isn't what I'm looking for. What I am really trying to do is detect that a VFP messagebox has opened. I'm trying to move this to vfp9.
>
>No chance.
>All you can do is to redirect the messagebox via #DEFINE, and set some flag while the messagebox is open.
>It's a pain.

Perhaps rigorously replace one of its parameters with a function which will return the value of the parameter, and also set a flag somewhere...? Still leaves you with no clue as to when was it closed, unless you wrap the whole call in some other procedure and then never use plain messagebox anywhere?

Messagebox is a pain - it's not a VFP form, it doesn't take focus from the current form, it takes it from the whole app, causing bunch of events to fire, and yes, you have no clue when it opens and closes, even in those events, which may have been triggered by something else. A phantom.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform