Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to chk whether _Screen Or Form ??
Message
De
29/08/1999 01:56:17
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordanie
 
 
À
28/08/1999 11:40:56
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00258801
Message ID:
00258916
Vues:
16
>OK. I see your point. What about comparing objects?
>In VFP6
>IF _SCREEN = AnObject
>In earlier versions, you must switch a property, like tag, and see if it's switched in the other object
>OldTag = _SCREEN.Tag
>_SCREEN.Tag = SYS(3)
>IF AnOjbect.Tag = _SCREEN.Tag
>
>
>
>>>>How to chk whether _Screen Or Form ?? All properties are same... How i can chk that passed object is screen or form ??
>>>>
>>>>TIA...
>>>The _SCREEN.Name = "Screen"
>>
>>Pls note that this will normally work, but the problem is it can be changed by user..
>>
>>Is there any other way ??

Thnks for the replies...

Pls note I'm using vfp 5.0a so comparing objects will not work..

Tag method is a nice trick and can solve my problems..

Thnks for your help..
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform