Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Resizing an form without the native window border
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
How to avoid duplicates i...
by
mig-31
[
Today
at 05:35:46 pm]
TDWEdit
by
docno
[
Today
at 05:26:23 pm]
QGradientTrackPanel: A Fu...
by
Ed78z
[
Today
at 04:49:24 pm]
Memory location
by
Thaddy
[
Today
at 04:01:56 pm]
TurboBird IBX
by
laguna
[
Today
at 03:55:51 pm]
Which Linux version
by
Thaddy
[
Today
at 03:52:06 pm]
AsyncProcess not firing O...
by
dugga_doo
[
Today
at 03:51:11 pm]
TlsLib4Pascal
by
Xor-el
[
Today
at 03:06:13 pm]
Clean up and build
by
kapibara
[
Today
at 02:00:50 pm]
MR - DebuggerIntf for ter...
by
Martin_fr
[
Today
at 12:54:22 pm]
var vs out (including "co...
by
kupferstecher
[
Today
at 12:49:22 pm]
AArch64, load a constant ...
by
LemonParty
[
Today
at 12:31:06 pm]
Separators in the compone...
by
CM630
[
Today
at 10:29:56 am]
Lazarus undead repository...
by
Dankan1890
[
Today
at 10:28:54 am]
[RE-SOLVED] Splitting an ...
by
paweld
[
Today
at 09:52:15 am]
Why does Free Pascal use ...
by
MarkMLl
[
Today
at 09:30:40 am]
[Qt5/Qt6] JPSupport-Qt: J...
by
szlbz
[
Today
at 03:21:56 am]
Extended and XML Frames o...
by
matthius
[
Today
at 01:01:09 am]
Strangely - Not a questio...
by
Bart
[August 12, 2026, 10:26:58 pm]
Selected Text get number ...
by
Martin_fr
[August 12, 2026, 09:47:56 pm]
To DebugLn or not to Debu...
by
Martin_fr
[August 12, 2026, 09:01:02 pm]
Unleashed Pascal (async/a...
by
Martin_fr
[August 12, 2026, 08:54:07 pm]
New Big Integer library i...
by
ad1mt
[August 12, 2026, 07:16:56 pm]
The best name for procedu...
by
LemonParty
[August 12, 2026, 07:02:53 pm]
'ReadStr' ?
by
J-G
[August 12, 2026, 03:37:39 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Resizing an form without the native window border (Read 6617 times)
Hydexon
Full Member
Posts: 170
Resizing an form without the native window border
«
on:
March 05, 2011, 05:24:16 pm »
How to resize an form has a normal window when the BorderStyle property is bsNone?
Logged
Lazarus 1.0.4 Stable - FPC 2.6.0 - gtk2 | Linux Mint 14 Nadia | GNOME Shell 3.6.2 - Awesome | Intel x86 | HP Mini 1020-LA Netbook (old)
Lazarus 2.0.2 Stable - FPC 3.0.2 - Windows | Lenovo IdeaPad Y
circular
Hero Member
Posts: 4471
Re: Resizing an form without the native window border
«
Reply #1 on:
March 05, 2011, 05:28:46 pm »
I suppose you must intercept MouseDown, MouseMove and MouseUp events and move the form accordingly.
Logged
Conscience is the debugger of the mind
Martin_fr
Administrator
Hero Member
Posts: 12618
Debugger - SynEdit - and more
Re: Resizing an form without the native window border
«
Reply #2 on:
March 05, 2011, 05:39:30 pm »
look at synedits syncompletion unit, there is a form in there that does it (so resizing only via an icon in the lower right edge)
Logged
Ide Tools, Code completion and more
/
IDE cool features
/
Debugger Status
Hydexon
Full Member
Posts: 170
Re: Resizing an form without the native window border
«
Reply #3 on:
March 05, 2011, 06:13:11 pm »
Quote from: circular on March 05, 2011, 05:28:46 pm
I suppose you must intercept MouseDown, MouseMove and MouseUp events and move the form accordingly.
Moving no, resizing.
Logged
Lazarus 1.0.4 Stable - FPC 2.6.0 - gtk2 | Linux Mint 14 Nadia | GNOME Shell 3.6.2 - Awesome | Intel x86 | HP Mini 1020-LA Netbook (old)
Lazarus 2.0.2 Stable - FPC 3.0.2 - Windows | Lenovo IdeaPad Y
circular
Hero Member
Posts: 4471
Re: Resizing an form without the native window border
«
Reply #4 on:
March 05, 2011, 08:57:09 pm »
It's almost the same, but it is easier to do just moving. I suggest you to try doing the movement first, and then try resizing.
Logged
Conscience is the debugger of the mind
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Resizing an form without the native window border
TinyPortal
© 2005-2018