Recent

Author Topic: Forms designer  (Read 1122 times)

pilot@wlship.com

  • Newbie
  • Posts: 1
Forms designer
« on: April 06, 2025, 09:14:58 pm »
I am relatively new to Lazarus, coming from programs like Clarion, VB6 and Visual Studio.

I am used to 'wysiwyg' form designers in these programs, but in my version of Lazarus, colours of components  on a form doesnt show in design mode, but only when I run/compile  the application.

Is this normal behaviour?

Thanks for comments/suggestiions

I have Lazarus 64 on Windows 11. I use a docked environment with black theme.


dsiders

  • Hero Member
  • *****
  • Posts: 1453
Re: Forms designer
« Reply #1 on: April 06, 2025, 10:14:25 pm »
I am used to 'wysiwyg' form designers in these programs, but in my version of Lazarus, colours of components  on a form doesnt show in design mode, but only when I run/compile  the application.
Is this normal behaviour?
Thanks for comments/suggestiions
I have Lazarus 64 on Windows 11. I use a docked environment with black theme.

If you're talking about TForm.. just change the Color from clDefault to clForm. In the docked form editor, the design surface is a control with the clWindow color... and that causes clDefault to resolve to the wrong color. But clForm works as expected.

If you're using the collection of hacks called metadarkstyle for the "black theme".. then all bets are off.
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

 

TinyPortal © 2005-2018