Sep-23-2021, 12:29 PM
(Sep-23-2021, 12:15 PM)deanhystad Wrote: We are getting close now. How about you add the code to set the value in OrthoView and add the code to use the value in MyToolBar.set_message. I know it won't run anymore, but I am still unclear about what the dependency is.
I don't think there is any class dependency here since you are talking about things that happen in __init__. MyToolBar should be able to get whatever INSTANCE VARIABLE values it needs from the OrthoView OBJECT using the instance passed when you create the toolbar.
Can you please provide me example code in order to understand? Thanks...