| Author |
Get value from "child" frame
|
|
|
| I have a main ("parent") frame that opens up another frame (with an OK
button) on the click of a button. How do I get a value stored in a variable
within the "child" frame back to the parent frame when the user clicks on
the child frame's OK button?
Apologies for the simple question...
TIA
| |
|
| "nos" <nos@nospam.com> wrote in message
news:cnm8c.83464$1p.1226392@attbi_s54...
> use the reference from when you created the child
It gets update within the child frame though.
| |
|
|
"Si" <si@spamtrap.com> wrote in message
news:c3t12e$29h9br$1@ID-83837.news.uni-berlin.de...
> "nos" <nos@nospam.com> wrote in message
> news:cnm8c.83464$1p.1226392@attbi_s54...
>
> It gets update within the child frame though.
>
ok I think I see now, you need to pass a reference
to the parent at the time the child is created, a so-called
back pointer - it is an ugly solution
perhaps someone else knows better
| |
|
| use the reference from when you created the child
"Si" <si@spamtrap.com> wrote in message
news:c3solk$2cp23f$1@ID-83837.news.uni-berlin.de...
> I have a main ("parent") frame that opens up another frame (with an OK
> button) on the click of a button. How do I get a value stored in a
variable
> within the "child" frame back to the parent frame when the user clicks on
> the child frame's OK button?
>
> Apologies for the simple question...
>
> TIA
>
>
|
|
|
|