Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show methow syntax
Message
From
06/04/2004 13:52:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Show methow syntax
Miscellaneous
Thread ID:
00892690
Message ID:
00892690
Views:
47
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
Map
View

Click here to load this message in the networking platform