I am using Borland C++ Builder. I am trying to get the filename of an Image. How do I do that? (e.g Label1->Caption = Image1-> ????)

Thanks a lot

To my knowledge there is no way to get the filename once the bitmap has been read into memory. Actually, the bitmap may not be in any file at all, but can be part of the program's resources, which is attached to the end of the executable program.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.