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
Rolling releases Lazarus[...
by
marcov
[
Today
at 10:12:17 pm]
[SOLVED] Bass.dll equaliz...
by
Pe3s
[
Today
at 09:29:00 pm]
Documentation Repositorie...
by
Martin_fr
[
Today
at 08:15:38 pm]
would multi threading hel...
by
440bx
[
Today
at 06:48:25 pm]
Lazarus for Windows on aa...
by
Luc
[
Today
at 06:17:03 pm]
Developing FreePascal on ...
by
HKPhysicist
[
Today
at 05:00:26 pm]
TLazSerial : serial port ...
by
CM630
[
Today
at 04:27:04 pm]
Difference in formatting ...
by
Hartmut
[
Today
at 09:30:18 am]
Lazarus Bugfix Release 4...
by
CM630
[
Today
at 08:02:52 am]
OPC client with Lazarus
by
TheMouseAUS
[
Today
at 04:56:43 am]
[Windows] UTF8 encoding w...
by
PascalDragon
[January 22, 2026, 09:51:05 pm]
Lazarus in Windows allowe...
by
vinntec
[January 22, 2026, 06:01:29 pm]
Perlin Map 3D
by
Boleeman
[January 22, 2026, 05:47:15 pm]
PasTemplates - a go-like ...
by
CynicRus
[January 22, 2026, 05:35:57 pm]
Strange Error when I use ...
by
TYDQ
[January 22, 2026, 03:14:50 pm]
FPCupDeluxe unable to bui...
by
Martin_fr
[January 22, 2026, 02:57:15 pm]
TRichMemo install shows "...
by
vinntec
[January 22, 2026, 01:36:50 pm]
Register global hotkey
by
Thaddy
[January 22, 2026, 06:28:54 am]
X11Libre, finally and for...
by
Fred vS
[January 21, 2026, 10:20:53 pm]
What's wrong with my appl...
by
bourbon
[January 21, 2026, 09:04:40 pm]
How to observe the value ...
by
nouzi
[January 21, 2026, 06:26:13 pm]
Anti "churning" in solita...
by
TBMan
[January 21, 2026, 04:30:05 pm]
Perlin Noise Map With BGR...
by
Boleeman
[January 21, 2026, 01:36:13 pm]
Strange Mail from memo.mi...
by
Thaddy
[January 21, 2026, 01:27:19 pm]
[Solved] Lazreport. Sorti...
by
Petrus Vorster
[January 21, 2026, 11:39:09 am]
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: Why doesn't my timage show up on my form? (Read 14247 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: 2671
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: 2671
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: 5667
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: 5667
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: 5667
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: 1648
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: Win10 (Win64); Lazarus 3_4 (x64) 25-05-2024 (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