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
|