Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equivalents for WONTOP() etc?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00234472
Message ID:
00234571
Vues:
34
>Hi Harry,
>
>Perhaps I'm not quite understanding want you're asking, but here's a small sample of what you can access from either the _screen or forms collection.
>? _SCREEN.FormCount && the number of currently active forms.
>? _SCREEN.ActiveForm.Caption
>? _SCREEN.ActiveForm.BaseClass && the base class name
>? _SCREEN.ActiveForm.Name
>* Assuming multiple forms (5 in the example).
>? _SCREEN.Forms(5).Caption && The caption of the form at the bottom of the z order
>? _SCREEN.Forms(5).Name
>hth,


Apologies. I appear to be in dork mode. The above looks like it will do the trick, but even easier is using the very functions I was screaming for an equivalent (of). WONTOP() works ferchrissake! And so do all the others. It just hadn't occurred to me to try them with forms!

Having said that, the examples you've just given finally make sense of the 'activeform' handle which I was having trouble with.

Many thanks

Harry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform