PlanetSquires Forums

Support Forums => WinFBE - Code Editor and Visual Designer => Topic started by: SeaVipe on November 18, 2023, 05:32:27 PM

Title: StatusBar Panel Width
Post by: SeaVipe on November 18, 2023, 05:32: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, 09:32: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, 07:30:29 PM
Perfect, thanks, Paul