| View previous topic :: View next topic |
| Author |
Message |
HPW Senior Member
Joined: 25 Feb 2006 Posts: 120 Location: Germany
|
Posted: 27/02/06 11:38 Post subject: LoadFromFile: backgrounds with delphi 5? |
|
|
Should a TSimpleGraph component under delphi 5 load the sample1.sgp and sample2.sgp with the contained backgrounds?
When I load them in delphi 5 I get no background in the middle eliptic node in sample1.sgp and no background in the round rectangle node on the left in sample2.sgp. The right eliptic node in sample2.sgp shows the background!
It the sgp-file version-specific?
_________________ Hans-Peter |
|
| Back to top |
|
 |
Kambiz Administrator

Joined: 07 Mar 2003 Posts: 1044 Location: Tehran, Iran
|
Posted: 27/02/06 11:55 Post subject: |
|
|
The images you mentioned are JPEG. Therefore, I think you didn't include JPEG unit in the uses clause of your unit.
_________________ Kambiz |
|
| Back to top |
|
 |
HPW Senior Member
Joined: 25 Feb 2006 Posts: 120 Location: Germany
|
Posted: 27/02/06 12:14 Post subject: |
|
|
That fix the problem.
Thanks for the info.
Maybe a nice info for the doc!
_________________ Hans-Peter |
|
| Back to top |
|
 |
|