简体   繁体   中英

C++ Builder: Location of Bitmap

I'm developping a mobile application using C++ Builder. I wanted to change the Bitmap of a FireMonkey TImage using the function LoadFromFile():

MyImage->Bitmap->LoadFromFile("My Image location");

I added the pictures to the project but I can't find the location of my Bitmap files. Does it exist a function or a parameter to find the location of these files?

I found why my Picture loading failed. I tried to use a .bmp file which is only supported on Windows and OSX. I worked with the instruction given by Kerem D here . I converted my picture to a PNG format and now it worked. Thank you all for your answers!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM