General information
Category:
Coding, syntax & commands
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.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only