LoadFromFile: backgrounds with delphi 5?

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

LoadFromFile: backgrounds with delphi 5?

Postby HPW » February 27th, 2006, 11:38 am

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
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany

Postby Kambiz » February 27th, 2006, 11:55 am

The images you mentioned are JPEG. Therefore, I think you didn't include JPEG unit in the uses clause of your unit.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby HPW » February 27th, 2006, 12:14 pm

That fix the problem.
Thanks for the info.
Maybe a nice info for the doc!
Hans-Peter
HPW
Moderator
Moderator
 
Posts: 238
Joined: February 25th, 2006, 10:19 am
Location: Germany


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 1 guest

cron