Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does form exists?
Message
From
19/07/2000 02:20:23
 
 
To
19/07/2000 01:53:56
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00394154
Message ID:
00394189
Views:
10
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform