Convert a path of a image on the db to a image on the BO?


Author
Message
Fabian R Silva, -
Fabian R Silva, -
StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)StrataFrame User (267 reputation)
Group: StrataFrame Users
Posts: 153, Visits: 1.2K
What is the best way to show a image that I have to convert from a path on the db to a image on my UI? I think about a custom readonly property that read it, serialize it and show it,





when I don´t like to load everytime a property if it was filled previously I do:



private _mycustomImage as image

property mycustomimage

get

if _mycustomimage is nothing then

'-- read image from db and convert it to a image...

_mycustomImage = imagethatIgetfrompath

endif

return _mycustomimage

end get

end property



but this is not possible for a custom property on BO



I not sure about Custom Code on BOM or what solution is the best recommendation.



Thanks
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search