Home > Back-end >  How to obtain the Image controls within the address of the picture
How to obtain the Image controls within the address of the picture

Time:10-22

The image using Delphi controls, how to show the control at run time using the path of the picture

CodePudding user response:

Couldn't be, see TGraphic LoadFromFile process, the process does not save the file address, besides the picture if loading from memory stream didn't file this concept.

CodePudding user response:

Seems to take less than

CodePudding user response:

refer to the original poster weeshui123 response:
the image using Delphi controls, how to show the control at run time using image path

Is not
If you want to use the image files, can be saved from the image

CodePudding user response:

Don't understand, if it is your own pictures of loading, why I do not know its origin?

CodePudding user response:

If it is your own code, just find a place to write down the image path

CodePudding user response:

If it is loaded from a file, get a variable to hold the,
If from a load flow, save the file first, then load, there is a temporary address,
If it is someone else's program, if not the network access, see resource file else try caught by address,
  • Related