How do u set the picture property of the panel when the status bar is in simple mode???
Woka
How do u set the picture property of the panel when the status bar is in simple mode???
Woka
Simple mode does not support images in it...
Also...if you want Text on it in simple mde ..you need to use the SimpleText property..
and one more thing...when the Statusbar is in simple mode. You cannot control it through the Panels() collection
they are maintained seperately
try this:
VB Code:
Private Sub Command1_Click() If StatusBar1.Style = sbrSimple Then StatusBar1.Style = sbrNormal Else StatusBar1.Style = sbrSimple End If End Sub Private Sub Form_Load() StatusBar1.SimpleText = "SimpleMode" StatusBar1.Panels(1).Text = "Normal Mode" End Sub
I know how to use a status bar, which is why I know it's not possible to have an icon when in simple mode...but you can do it using API...
WOka