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
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Variables as indexes of a...
by
dsiders
[
Today
at 03:37:52 am]
[Solved] Can a thumbnail ...
by
jamie
[
Today
at 02:47:30 am]
Random crashes on Mac Stu...
by
jamie
[
Today
at 02:18:19 am]
How to access and set pro...
by
KodeZwerg
[
Today
at 01:55:40 am]
OpenSSL 3.0 vs Indy's 1.0...
by
Remy Lebeau
[
Today
at 01:26:36 am]
CompareText improvement
by
BeniBela
[
Today
at 12:31:51 am]
Fullscreen event?
by
KodeZwerg
[
Today
at 12:17:27 am]
fpc 3.3.1 or lazarus 2.3 ...
by
Martin_fr
[March 30, 2023, 11:29:01 pm]
Make build crashes
by
Jonas Maebe
[March 30, 2023, 09:19:49 pm]
Synapse TCP/IP client and...
by
GetMem
[March 30, 2023, 09:16:46 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Problem on Form.OnShow event (Read 8117 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: 740
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: 340
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