Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object not found in a when event
Message
De
23/09/1998 13:50:20
 
 
À
23/09/1998 13:39:10
Pierre Sauve
Micro-Fox Canada Inc.
Montréal, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00139956
Message ID:
00139964
Vues:
35
>Hi every one ,
>
>I am learning Visual Foxpro , and that is why my question may seem very basic. But I looked everywhere I could in the documentation and could not find anything to help me.
>
>I created a form with 4 pages . On one of the page I have a feild that can have one of two values ; "Y" or "N" . Then in the next field I want the when event to check that previous field content and only return true if the content is "Y". No matter what I try , I get a object not found error .
>
>Can someone help me ?
>
>Thanks in advance.

You need to reference the object through its containership hierarchy:
THISFORM.pageframe1.page2.mytext1.value

fortunately there is a shortcut using relative referencing:
THIS.PARENT.mytext1.value
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform