fpGUI icon indicating copy to clipboard operation
fpGUI copied to clipboard

Effect of the 'Sizeable' property

Open rchastain opened this issue 2 years ago • 3 comments

In examples/gui/animation/anim_test.lpr, I see this code:

procedure TMainForm.AfterCreate;
begin
  // ...
  Sizeable := False;

But the application is sizeable (tested on Linux). Is that property broken, or do I wrongly understand its meaning?

rchastain avatar Jan 02 '23 07:01 rchastain

Hello Roland.

It seems that Sizeable := False; only works for Windows, on Linux there is no effect. See my answer on Eschecs issue https://gitlab.com/rchastain/eschecs/-/issues/43#note_1225640386

Also on Windows property OnResize := @OnResized; is not executed when a window is resized. (but ok on Linux)

fredvs avatar Jan 03 '23 04:01 fredvs

Hello Fred! Thank you very much.

rchastain avatar Jan 03 '23 05:01 rchastain

Thank you Roland, it is definitely a regression error. I'll take a look.

graemeg avatar Jan 03 '23 08:01 graemeg