I'm adding a standard MS Status Bar to the bottom of a form. I made it 3 panels wide. Left panel for messages, right panel to keep the date (this is an SDI form) and the 2nd (middle) panel I was using to say "Connected/Disconnected" to indicate status of connectivity to LAN/Server or else when laptop users are on their own. All is fine.
Now I tried to change this "Connected"message to a couple of images to indicate state. I added a default image in the SBarCtrl Properties (proprietary) sheet. But I cannot change this at runtime.
When I try code like the following:
ThisForm.oStatus.Panels.Item(2).Picture="<connected image.bmp goes here>"
ThisForm.oStatus.Panels.Item(2).ToolTipText="Connected"
Even though Intellisense, MSDN help and the Object Browser say Picture should be a text property, VFP shows it as an Object. Yet I can't get it to show this supposed object's property. What am I missing? Is there a better/simpler way? Or another Status bar redistributable control maybe?
TIA