S swabygw Active Member Licensed User Longtime User Jan 14, 2017 #1 Let's say that we assign a bitmap to an ImageView like this: B4X: ImageView1.Bitmap = LoadBitmap(SomeDir, SomeFilename) Is it possible to, later, retrieve those parameters, SomeDir and SomeFilename, by looking at some property of ImageView1? Like, for example: B4X: Dim b As Bitmap b = ImageView1.Bitmap Dim Dname, Fname As String Dname = b.? Fname = b.? Or has the bitmap been abstracted away from its original source?
Let's say that we assign a bitmap to an ImageView like this: B4X: ImageView1.Bitmap = LoadBitmap(SomeDir, SomeFilename) Is it possible to, later, retrieve those parameters, SomeDir and SomeFilename, by looking at some property of ImageView1? Like, for example: B4X: Dim b As Bitmap b = ImageView1.Bitmap Dim Dname, Fname As String Dname = b.? Fname = b.? Or has the bitmap been abstracted away from its original source?
I inakigarm Well-Known Member Licensed User Longtime User Jan 14, 2017 #2 swabygw said: Let's say that we assign a bitmap to an ImageView like this: B4X: ImageView1.Bitmap = LoadBitmap(SomeDir, SomeFilename) Is it possible to, later, retrieve those parameters, SomeDir and SomeFilename, by looking at some property of ImageView1? Like, for example: B4X: Dim b As Bitmap b = ImageView1.Bitmap Dim Dname, Fname As String Dname = b.? Fname = b.? Or has the bitmap been abstracted away from its original source? Click to expand... You'll have to save filename/path in a variable or use the tag property of the image view to save the path and read it after Upvote 0
swabygw said: Let's say that we assign a bitmap to an ImageView like this: B4X: ImageView1.Bitmap = LoadBitmap(SomeDir, SomeFilename) Is it possible to, later, retrieve those parameters, SomeDir and SomeFilename, by looking at some property of ImageView1? Like, for example: B4X: Dim b As Bitmap b = ImageView1.Bitmap Dim Dname, Fname As String Dname = b.? Fname = b.? Or has the bitmap been abstracted away from its original source? Click to expand... You'll have to save filename/path in a variable or use the tag property of the image view to save the path and read it after
S swabygw Active Member Licensed User Longtime User Jan 14, 2017 #3 Ok, I figured that would be the case - thanks! Upvote 0