G
Guest
I have added panels to a statusbar control using the .Add Method. I want to
determine how many panels there are in another part of the program. I tried;
'There is no count property exposed so this doesn't work;
mystatusbar.Panels.Count
I tried counting but this gives a runtime error;
dim i as integer
while p as panel in mystatusbar.panels
i=i+1
end while
Does anyone know how to find the no. of panels in the control?
determine how many panels there are in another part of the program. I tried;
'There is no count property exposed so this doesn't work;
mystatusbar.Panels.Count
I tried counting but this gives a runtime error;
dim i as integer
while p as panel in mystatusbar.panels
i=i+1
end while
Does anyone know how to find the no. of panels in the control?