Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Problem on Form.OnShow event
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
Getting results from sql ...
by
dsiders
[
Today
at 04:41:44 pm]
Lightweight HTML/CSS rend...
by
mattias
[
Today
at 04:18:36 pm]
CONCAT formula
by
wp
[
Today
at 04:09:14 pm]
Any way to "embed" Window...
by
d2010
[
Today
at 02:45:07 pm]
could Ardour's YTK be use...
by
Fred vS
[
Today
at 02:23:48 pm]
How to remove consoleApp ...
by
Fred vS
[
Today
at 01:59:28 pm]
Debian releases a Gtk3 La...
by
Thaddy
[
Today
at 01:30:12 pm]
Label with multiple lines...
by
CM630
[
Today
at 01:03:55 pm]
[AGGPas, fpGUI] Use CopyI...
by
Graeme
[
Today
at 12:37:36 pm]
actinon: C photorealistic...
by
Dzandaa
[
Today
at 12:16:46 pm]
DirectX Math SIMD Pascal ...
by
Boleeman
[
Today
at 11:59:41 am]
Yet Another Snake Game
by
silvercoder70
[
Today
at 09:40:16 am]
Initialization & finaliza...
by
runewalsh
[
Today
at 04:40:40 am]
[AGGPas] Difference betwe...
by
Graeme
[
Today
at 02:29:45 am]
[SOLVED] GTK3 : Icons hav...
by
theo
[March 16, 2026, 11:29:43 pm]
add thumb up or like butt...
by
Martin_fr
[March 16, 2026, 09:35:13 pm]
Problem with drawing orde...
by
wp
[March 16, 2026, 06:26:27 pm]
[CLARIFIED]TChart: Wrong ...
by
wp
[March 16, 2026, 06:22:26 pm]
Hello! Anything new?
by
simone
[March 16, 2026, 05:47:57 pm]
LAMW Foreground service -...
by
Mongkey
[March 16, 2026, 05:40:05 pm]
mORMot again (HttpServer/...
by
ttomas
[March 16, 2026, 12:45:49 pm]
Is it me or is there some...
by
Martin_fr
[March 16, 2026, 11:48:04 am]
Exiting HeapTrace dump
by
jamie
[March 16, 2026, 11:34:49 am]
emuloader: help to resurr...
by
arcadegamer
[March 15, 2026, 08:30:31 pm]
AutoSize TMemo.Height?
by
wp
[March 15, 2026, 05:55:05 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Problem on Form.OnShow event (Read 9196 times)
typo
Hero Member
Posts: 3051
Problem on Form.OnShow event
«
on:
April 14, 2010, 08:12:52 pm »
I am having problems setting Window values on OnShow event of the form. I tested on OnActivate and OnCreate events and it works. But why it does not on OnShow event?
«
Last Edit: April 14, 2010, 08:17:43 pm by typo
»
Logged
LazarusBrasil.Org
cpalx
Hero Member
Posts: 754
Re: Problem on Form.OnShow event
«
Reply #1 on:
April 14, 2010, 08:23:58 pm »
what kind of problems???
Logged
typo
Hero Member
Posts: 3051
Re: Problem on Form.OnShow event
«
Reply #2 on:
April 14, 2010, 08:35:37 pm »
None of the window properties could be set on this event, Left, Top, Width and Height.
Lazarus 0.9.29 r24105 FPC 2.4.0 i386-win32-win32/win64
«
Last Edit: April 14, 2010, 08:40:37 pm by typo
»
Logged
LazarusBrasil.Org
bonmario
Sr. Member
Posts: 346
Re: Problem on Form.OnShow event
«
Reply #3 on:
April 14, 2010, 08:45:22 pm »
The problem is this?
http://bugs.freepascal.org/view.php?id=16087
If is the same, for the moment, you can rebuild IDE with the option
Code:
[Select]
-dOldAutoSize
Logged
typo
Hero Member
Posts: 3051
Re: Problem on Form.OnShow event
«
Reply #4 on:
April 14, 2010, 08:49:48 pm »
This is the problem.
Logged
LazarusBrasil.Org
Ocye
Hero Member
Posts: 518
Re: Problem on Form.OnShow event
«
Reply #5 on:
April 15, 2010, 09:48:34 am »
You can also set variables at first OnIdle(), assigned at OnShow and immediately released after first use.
Logged
Lazarus 1.7 (SVN) FPC 3.0.0
typo
Hero Member
Posts: 3051
Re: Problem on Form.OnShow event
«
Reply #6 on:
April 15, 2010, 02:33:06 pm »
-dOldAutoSize semms to work fine.
Logged
LazarusBrasil.Org
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Problem on Form.OnShow event
TinyPortal
© 2005-2018