FormDesigner: AddStatusBarField #PB_Ignore

Post bugs related to the IDE here
Marc56us
Addict
Addict
Posts: 1477
Joined: Sat Feb 08, 2014 3:26 pm

FormDesigner: AddStatusBarField #PB_Ignore

Post by Marc56us »

There is a bug (not really annoying) in the FormDesigner on the AddStatusBarField function.
I often use the status bar with only one field which must take all the width even when resizing, so use #PB_Ignore

It's not possible to write #PB_Ignore in panel tool
If I try to put it in Width, code will write AddStatusBarField(0) in code
Il I try to put the value of #PB_Ignore (-65535) PB crash after showing
---------------------------
Error
---------------------------
An Error has been detected in the IDE!
Error: Division by zero
IDE build on 02/04/2018 [10:46] by Fred
Branch: v5.60 Revision: 1825
---------------------------
OK
---------------------------

But I can write in code AddStatusBarField(#PB_Ignore) directly, and save it