I have a Main form called Designer. The Designer has a StatusBar. The Designer also has two panels (Panel1 and Panel2). Each Panel has a Form to show. I have decided that there is no need to have multiple StatusBars, only the one on the Designer.
On the Form opened in Panel1 I store the StatusBar values in an ArrayList. I want to pass this ArrayList to the Parent Designer Form Public Sub that updates the StatusBar.
So to update the StatusBar on the Designer I need a reference to the Designer form. Could I use a Public Property defined as Object or Variant? Would/Could I assign the value of the Public Property just after I create it?
Dim frm as new FormA
frm.p_FormInstance = frm
Then I could do something like:
aList is the list of two settings for the StatusBar to update.