Information générale
Catégorie:
Codage, syntaxe et commandes
hi all,
i have 2 forms namely, form1.scx & form2.scx
on the form named form1.scx i have a command button in whose click event i would like to put some code so that when a user clicks on the command button which is on form named form1.scx it invokes the SHOW method and shows the form named form2.scx in the MODAL type. how can i achieve this ?
i have tried the following code but it gives me an error.
my code in the click event of the command button on form1 is -
form2.show(1) && modal
but i get the error message - object form2 is not found
but, acually, both the forms do exist in the same directory
pls guide me where i am going wrong.
informatively, i am using vfp6.0
with sincere thanks.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement