Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Designer
»
Why doesn't my timage show up on my form?
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
Lazarus undead repository...
by
sh17
[
Today
at 05:14:06 am]
TlsLib4Pascal
by
Tomxe
[
Today
at 04:26:49 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]
var vs out (including "co...
by
440bx
[
Today
at 12:56:32 am]
Which Linux version
by
cdbc
[August 12, 2026, 11:22:16 pm]
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]
Why does Free Pascal use ...
by
440bx
[August 12, 2026, 07:02:28 pm]
[RE-SOLVED] Splitting an ...
by
madref
[August 12, 2026, 04:58:26 pm]
'ReadStr' ?
by
J-G
[August 12, 2026, 03:37:39 pm]
Fpcupdeluxe
by
DonAlfredo
[August 12, 2026, 02:20:26 pm]
Trayslate 1.5.0 - Free tr...
by
AlexanderT
[August 12, 2026, 02:18:28 pm]
enable easy marker moveme...
by
Paolo
[August 12, 2026, 01:30:39 pm]
Error installing EyeCandy...
by
JuhaManninen
[August 12, 2026, 08:46:00 am]
LRS Explorer
by
CM630
[August 11, 2026, 11:33:24 pm]
Identify network devices
by
Warfley
[August 11, 2026, 10:55:13 pm]
Lazarus Bugfix Release 4....
by
geraldholdsworth
[August 11, 2026, 04:55:42 pm]
[Solved[ How to define th...
by
Mike.Cornflake
[August 11, 2026, 03:42:11 pm]
Dataset EnableControls/Di...
by
Mike.Cornflake
[August 11, 2026, 03:37:42 pm]
Debugging in a real termi...
by
Martin_fr
[August 11, 2026, 02:59:09 pm]
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: Why doesn't my timage show up on my form? (Read 14374 times)
DanNineOne
New Member
Posts: 46
Why doesn't my timage show up on my form?
«
on:
May 02, 2009, 10:15:12 am »
I place a timage on a form, put an image in and run.
When the form appears at runtime, I cannot see the image!
How do i get it to show up?
Logged
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Win 7 64 bit with Lazarus 1.0.6 <<
>> danieljabailey@googlemail.com <<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marc
Administrator
Hero Member
Posts: 2706
Re: Why doesn't my timage show up on my form?
«
Reply #1 on:
May 02, 2009, 01:19:25 pm »
What's the image ?
And does it show at designtime ?
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
DanNineOne
New Member
Posts: 46
Re: Why doesn't my timage show up on my form?
«
Reply #2 on:
May 02, 2009, 02:04:50 pm »
it is a PNG, (although I have tried BMP and JPG too, they do not work either) I can see the image at design time but not runtime
Logged
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Win 7 64 bit with Lazarus 1.0.6 <<
>> danieljabailey@googlemail.com <<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Marc
Administrator
Hero Member
Posts: 2706
Re: Why doesn't my timage show up on my form?
«
Reply #3 on:
May 04, 2009, 01:04:05 pm »
did you set image.visible to true ? (Silly guess maybe ?)
Logged
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the
bug tracker
DanNineOne
New Member
Posts: 46
Re: Why doesn't my timage show up on my form?
«
Reply #4 on:
May 05, 2009, 05:39:09 pm »
Being the bright spark that I am, yes I did check the "visible" property.
Logged
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Win 7 64 bit with Lazarus 1.0.6 <<
>> danieljabailey@googlemail.com <<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bart
Hero Member
Posts: 5757
Re: Why doesn't my timage show up on my form?
«
Reply #5 on:
May 06, 2009, 12:19:26 pm »
What OS?
Which Lazarus version?
Can you post a minimal example that shows the problem (preferably just a form with one TImage withe the image you use), so we can investigate what goes wrong?
Bart
Logged
DanNineOne
New Member
Posts: 46
Re: Why doesn't my timage show up on my form?
«
Reply #6 on:
May 06, 2009, 08:22:44 pm »
Running on windows XP, (although I regularly compile it for linux also) just an image on a form with this pic in it:
(http://glscript.sourceforge.net/MemChip.png)
Logged
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Win 7 64 bit with Lazarus 1.0.6 <<
>> danieljabailey@googlemail.com <<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bart
Hero Member
Posts: 5757
Re: Why doesn't my timage show up on my form?
«
Reply #7 on:
May 07, 2009, 12:27:48 am »
It works as expected (with your PNG) in lazarus 0.9.27 (r19751) / fpc 2.2.2 on Win9x.
Time for an upgrade of Lazarus perhaps?
Bart
Logged
DanNineOne
New Member
Posts: 46
Re: Why doesn't my timage show up on my form?
«
Reply #8 on:
May 07, 2009, 08:52:18 am »
ok, thanks for the help, i'll be upgrading to the latest version.
Logged
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Win 7 64 bit with Lazarus 1.0.6 <<
>> danieljabailey@googlemail.com <<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DanNineOne
New Member
Posts: 46
Re: Why doesn't my timage show up on my form?
«
Reply #9 on:
May 07, 2009, 05:16:18 pm »
Just managed to get it compiled (laz 0.9.27), and i still cannot see thie images.
I still see them at design time but not runtime.
I don't know if this will help but the image is on a tab sheet in a tPageControl.
Logged
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Win 7 64 bit with Lazarus 1.0.6 <<
>> danieljabailey@googlemail.com <<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cpalx
Hero Member
Posts: 754
Re: Why doesn't my timage show up on my form?
«
Reply #10 on:
May 07, 2009, 06:05:00 pm »
I don't know, but did you try to put it into a panel, maybe that can help you.
Logged
DanNineOne
New Member
Posts: 46
Re: Why doesn't my timage show up on my form?
«
Reply #11 on:
May 07, 2009, 06:18:51 pm »
Quote from: cpalx on May 07, 2009, 06:05:00 pm
I don't know, but did you try to put it into a panel, maybe that can help you.
Putting it in a panel doesn't help.
Logged
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Win 7 64 bit with Lazarus 1.0.6 <<
>> danieljabailey@googlemail.com <<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bart
Hero Member
Posts: 5757
Re: Why doesn't my timage show up on my form?
«
Reply #12 on:
May 07, 2009, 06:37:37 pm »
Post your sample program here, and we can see what goes wrong.
Bart
Logged
DanNineOne
New Member
Posts: 46
Re: Why doesn't my timage show up on my form?
«
Reply #13 on:
May 07, 2009, 06:44:07 pm »
Here is a sample project (see attachment)
Logged
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> Win 7 64 bit with Lazarus 1.0.6 <<
>> danieljabailey@googlemail.com <<
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eny
Hero Member
Posts: 1665
Re: Why doesn't my timage show up on my form?
«
Reply #14 on:
May 09, 2009, 12:53:50 am »
My 2 cents: works with Vista / Lazarus 0.9.27.
Logged
All posts based on: Win11;
stable
Lazarus 4_4 (x64) 2026-02-12 (unless specified otherwise...)
Print
Pages: [
1
]
2
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Designer
»
Why doesn't my timage show up on my form?
TinyPortal
© 2005-2018