[Gambas-bugtracker] Bug #2193: SliderBox problems

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Thu May 13 00:08:39 CEST 2021


Comment #2 by Benoît MINISINI:

The "Null object" error has been fixed by commit https://gitlab.com/gambas/gambas/-/commit/c5a0e318d7ab1bf0e0945ff13024f54eaa6391b2.

The warning message displayed while you hit an arrow key says all: do not call the event loop during the SpinBox Change events.

As for the window size that does not match the slider value, I didn't notice. But your window size calculus seems wrong at first sight: you add 4 pixels if the window has a border, whereas you can't know the width of the window border.

Another point: no need to write Form.Window, because Form.Window = Form as soon as the form is top-level.

Benoît MINISINI changed the state of the bug to: Fixed.

More information about the Bugtracker mailing list