Recent

Author Topic: Set maximum of size of window  (Read 6333 times)

vfclists

  • Hero Member
  • *****
  • Posts: 1165
    • HowTos Considered Harmful?
Set maximum of size of window
« on: March 23, 2010, 04:39:56 pm »

Does Lazarus have a way of setting the maximum size a window can be expanded to at runtime, so that even if the user tries to maximize the windows it will still not occupy the whole screen?

I remember Delphi having that capability with dialogs, but can Lazarus do that with normal windows?
Lazarus 3.0/FPC 3.2.2

eny

  • Hero Member
  • *****
  • Posts: 1665
Re: Set maximum of size of window
« Reply #1 on: March 23, 2010, 09:32:18 pm »
Constraints properties: MaxWidth/MaxHeight.
All posts based on: Win11; stable Lazarus 4_4  (x64) 2026-02-12 (unless specified otherwise...)

vfclists

  • Hero Member
  • *****
  • Posts: 1165
    • HowTos Considered Harmful?
Re: Set maximum of size of window
« Reply #2 on: March 24, 2010, 08:53:01 am »
Constraints properties: MaxWidth/MaxHeight.

Thanks
Lazarus 3.0/FPC 3.2.2

 

TinyPortal © 2005-2018