General information
Category:
Forms & Form designer
>I need to access properties on another form. In a very basic setup here is what I have:
>
>
>***startup form is form1
>
>***gotfocus of form1
>Do form2
>
>***btnclick on form1
>thisform.release
>do form3
>
>****btnclick on form3
>x = form2.property
>* should this be desktop.form2.property? *
>
>***error msg
>object form2 not found (btw: I am looking right at it. I copied and pasted the name into the code incase I was misspelling)
>
>What am i screwing up here?
You need _SCREEN.forms.form2.property or something close to that. If that syntax looks a little ugly, that is why people hang form names like decorations in an array property of their application object.
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