Recent

Author Topic: [CLOSED] Change formstyle  (Read 2087 times)

pcurtis

  • Hero Member
  • *****
  • Posts: 951
[CLOSED] Change formstyle
« on: January 22, 2022, 06:29:43 pm »
Why does changing Formstyle from fsSystemStayontop to fsNormal make the form flicker redraw?
Can I stop this?
« Last Edit: January 23, 2022, 01:05:07 pm by pcurtis »
Windows 10 20H2
Laz 2.2.0
FPC 3.2.2

pcurtis

  • Hero Member
  • *****
  • Posts: 951
Re: Change formstyle
« Reply #1 on: January 23, 2022, 01:04:13 pm »
LCL issue  :(
Windows 10 20H2
Laz 2.2.0
FPC 3.2.2

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: [CLOSED] Change formstyle
« Reply #2 on: January 23, 2022, 01:15:31 pm »
Hi!

Try this:

Code: Pascal  [Select][+][-]
  1. BeginUpdate;
  2. FormStyle:= fsNormal;
  3. EndUpdate;
  4.  
 

Perhaps it helps.

If not use Linux.

Winni


pcurtis

  • Hero Member
  • *****
  • Posts: 951
Re: [CLOSED] Change formstyle
« Reply #3 on: January 23, 2022, 07:39:18 pm »
Quote
BeginUpdate;
FormStyle:= fsNormal;
EndUpdate;

Where are Begin/Endupdate from?

Quote
If not use Linux.

Not very cross platform
« Last Edit: January 23, 2022, 08:00:10 pm by pcurtis »
Windows 10 20H2
Laz 2.2.0
FPC 3.2.2

 

TinyPortal © 2005-2018