Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

about VCL

Status
Not open for further replies.

tvidigal

Programmer
Sep 8, 2003
19
0
0
PT
hey all,

working on a vcl i found the need to have images inside!
i give a example of having several led images to make a TLEDGauge VCL!

what do i need! never did that so dunno really what to do!

thanks in advance,

Regards
 
I'm not exactly sure what you are trying to do.

Your solution might lie in resource files. You create a resource file using the Image Editor. Include it with your unit with the directive:
{$R *.dcr}

Then check out functions like:
TCustomImageList.ResourceLoad
TBitMap.LoadFromResourceName

It is many years since I did this, but hopefully the above should give you enough clues to start

Good luck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top