Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with _screen.activeform
Message
De
16/07/2004 04:22:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem with _screen.activeform
Divers
Thread ID:
00925061
Message ID:
00925061
Vues:
47
i have do form findrec with _screen.activeform in my menu and do form findrec with thisform in toolbar.

in form findrec, i add a property frmwithgrid. and in the init() i put,
lparameters frmwithgrid

set cursor on

public findcontinue

findcontinue=.f.
if type("m.frmWithGrid") # "O"
	thisform.frmwithgrid = null
else
	thisform.frmwithgrid = m.frmwithgrid
endif
but when i run findrec in menu, i'm getting error ACTIVEFORM is not an object, in my code in line thisform.frmwithgrid.parent.activeform.gridhighlighter1.nrecno=recno().

what is wrong? pls help. TIA.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform