change its content via an event triggered by another pane instance?
2:
I think I have a general misconception of ctrls and reactions to events.
Generally I want to be able to to have a pane or panel whose content is
determinied by events triggered (automatically or manually)
from another panel ...
Whenever I think I have figured it out it would not work in connection
w/ AuiManager managed panes.
I might be confusing aui.Manager, responsible for a pane's LAYOUT with
the actual pane and its content, thoug I am not sure how to access
already created content of a pane ...
To illustrate a simple example from the demo: (agw.AUI):
In the TreePane (left) when an Item is clicked, I want to update the
content of the html window showing WELCOME TO AUI at startup to display
some other text...
change its content via an event triggered by another pane instance?
Assuming that both thispane and theother pane have a common parent you could now access it by doing thotherpane.GetParent().thispane.wnd.ChangeValue....
or you could again use pubsub and have theotherpane do a sendmessage and thispane do a subscribe
2:
I think I have a general misconception of ctrls and reactions to events.
Generally I want to be able to to have a pane or panel whose content is
determinied by events triggered (automatically or manually)
from another panel ...
pane/panel are containers of controls
Whenever I think I have figured it out it would not work in connection
w/ AuiManager managed panes.
I might be confusing aui.Manager, responsible for a pane's LAYOUT with
the actual pane and its content, thoug I am not sure how to access
already created content of a pane ...
aui is "just" another container - also a pretty sophisticated one which contains lots of other containers and they then contain controls, also you can/could set just one control as a auipane (which you have done above).
Hope it helps and doesn't add to the confusion.
Werner
change its content via an event triggered by another pane instance?
Assuming that both thispane and theother pane have a common parent you
could now access it by doing
thotherpane.GetParent().thispane.wnd.ChangeValue....
or you could again use pubsub and have theotherpane do a sendmessage
and thispane do a subscribe
2:
I think I have a general misconception of ctrls and reactions to events.
Generally I want to be able to to have a pane or panel whose content is
determinied by events triggered (automatically or manually)
from another panel ...
pane/panel are containers of controls
Whenever I think I have figured it out it would not work in connection
w/ AuiManager managed panes.
I might be confusing aui.Manager, responsible for a pane's LAYOUT with
the actual pane and its content, thoug I am not sure how to access
already created content of a pane ...
aui is "just" another container - also a pretty sophisticated one
which contains lots of other containers and they then contain
controls, also you can/could set just one control as a auipane (which
you have done above).
Hope it helps and doesn't add to the confusion.
Werner
--
--------------------------------------------------
Tobias Weber
CEO