Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does form exists?
Message
De
19/07/2000 02:20:23
 
 
À
19/07/2000 01:53:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00394154
Message ID:
00394189
Vues:
11
>Hi Jess. Thank you. But it doesn’t work properly. By the way my form – form1 is under another form2. For form2 wexists() work good. Both forms are modal and alwaysontop - .t..



Whatever Forms include modal or non-modal, you can use _SCREEN.Forms to do:
For iX = 1 to _SCREEN.FORMCOUNT
  IF _SCREEN.FORMS[iX].Caption = [Wanted!! ;p]  && or .Name = [Certain Name], change it in Form Designer!
      _SCREEN.FORMS[iX].Show
      _SCREEN.FORMS[iX].TxtCust_No = PickUp.Cust_no

      * whatever objects inside form, you can control it here!
  Endif
EndFor



His suggestion is okey, you should not make a Form Object,
named List1 which is NOT a list object at all, maybe other object like grid!

Then, it will not be a problem!!

To Check a property exist or not in a object (maybe form, container or other simply object like label)

IF PEMSTATUS(ThisForm, [NewProperty], 5)
....

To check the object is a container:

IF PEMSTATUS(chkObj, [SetALL], 5)
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform