Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Activeform not an object problem
Message
 
 
À
29/03/2004 20:18:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00890642
Message ID:
00890658
Vues:
25
Evelyn,

>in the first search, mygrid1 highlights the found record. but after the second try, i get error "activeform is not an object".

Somewhere in the code you did not post you must have a reference to _screen.ActiveForm, and and on your second try there is no form currently active. In general you need to test that before you can use it:
if ( type( "_screen.ActiveForm" ) = "O" )
   * there is a form active
   _screen.ActiveForm.SomeMethodCall()
endif
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform