K
K E Senthil Kumar
Hi,
I am using Vb.Net. I use a frmMain which has a menu and explorer style. On
click of menu or item in explorer, other forms are activated. The frmMain
has a Status bar control. The events of the other forms are also to be shown
in the frmMain.
I tried to access through the following code:
private sub MyProcedur()
....
....
dim frmM as new frmMain()
frmMain.sbar1.panels(0).text = " My string"
End sub
in the second form. Though no error is reported, the text is not shown in
the panels.
how do i do it correctly.
Thanks
Senthil kumar
I am using Vb.Net. I use a frmMain which has a menu and explorer style. On
click of menu or item in explorer, other forms are activated. The frmMain
has a Status bar control. The events of the other forms are also to be shown
in the frmMain.
I tried to access through the following code:
private sub MyProcedur()
....
....
dim frmM as new frmMain()
frmMain.sbar1.panels(0).text = " My string"
End sub
in the second form. Though no error is reported, the text is not shown in
the panels.
how do i do it correctly.
Thanks
Senthil kumar