General information
Category:
Forms & Form designer
By "passing the object reference" do you mean to do something like this...
do form Form2 with Form1
Then in Form use the "parameters" to access it?
>>Could you explain how I declare the form as a public variable and pass the reference along the forms?
>
>I imagine your 1st form has:
>
>DO FORM Form2
>
>Make that:
>
>PUBLIC Form2
>DO FORM Form2
>
>Better use the NAME cluse as well (just to be safe):
>
>PUBLIC Form2
>DO FORM Form2 NAME Form2
>
>But consider my other solutions, such as passing the object refrence along the forms, it is cleaner and it doesn't use PUBLIC variables.
Previous
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