PlanetSquires Forums

Support Forums => PlanetSquires Software => Topic started by: SeaVipe on November 18, 2023, 06:02:27 PM

Title: StatusBar Panel Width
Post by: SeaVipe on November 18, 2023, 06:02:27 PM
Hi Paul,

Is there a way to set the width of a StatusBar Panel after the form with the StatusBar is visible?

This line:
frmMain.StatusBar.Panel(0).Width = 700
...works before the form is shown but any attempt to repeat the above with a different value has no effect once the form is visible.
Title: Re: StatusBar Panel Width
Post by: Paul Squires on November 18, 2023, 10:02:00 PM
hmmmm.... yeah, looks like there is a call missing after the Panel size is changed at runtime.

Try this:

   frmMain.StatusBar.Panel(0).Width = 700
   frmMain.SizeStatusBar
Title: Re: StatusBar Panel Width
Post by: SeaVipe on November 20, 2023, 08:00:29 PM
Perfect, thanks, Paul