Hello,
I've just started exploring and using embedded wizard and I don't understand how I can access variables of a parent from a child.
Here's my example : I have a component main_screen that's positioned in the application window by drag and drop (hence will exist forever in memory, no matter if displayed or not). In that main_screen, I've a rectangle on top of all other widgets whose purpose is to "deactivative the screen". By clicking a button on the main_screen, I display another dialog (modal), a numpad and I activate the visibility of the rectangle on top of everything. Simple.
Now, I'd like from the numpad dialog to turn off the visibility of the rectangle of the main_screen. Fundamentally, I know how to do it by connecting properties for instance but I find it cumbersome and I'd like to be able to do in a method of the numpad something like :
this.Owner.Rectangle.Visibility = false;
Clean and simple...
But it doesn't work...I was expecting to be able to have access to the widgets of the main_screen by accessing the parent of my numpad dialog (that is, the main screen). What am I missing ? How can I circumvent this?
Thanks in advance.