Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can you direct the Set-Talk-On output to a form?
Message
De
24/06/1998 17:58:12
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00110975
Message ID:
00111388
Vues:
16
>When Set Talk is ON, the output is displayed in the bottom left of the status bar. You can watch the counter adding new records, appending, summing etc.
>
>How do I get this output to be displayed on a form?

I put it to the screen (the code is taken from my debug_on.prg, which has just a couple of lines more than you see):
set status bar off
set debu on
set talk on
set talk nowi
acti scree

If Talk is set to a window, it doesn't show all the value changes etc, it shows only the counters, i.e. the things that have the For/while clause and involve _tally. Also, if you're debugging a form, directing Talk to its window will cause it to scroll and mess up the display, so it won't be rather useful, unless you want to see which objects get refreshed/repainted, because they'll pop up in the middle of your Talk output, and subsequently cause your output to resume from the object's position, overwriting (partially...) the previous output. Pretty messy, therefore I prefer activating the screen, so the output scrolls behind the forms. Scrolling behind is the worst thing you can do to slow down the display, but in a debugging session we don't need speed, do we?

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
Répondre
Fil
Voir

Click here to load this message in the networking platform