Hello, I see a strange behavior using oBrowse:Report(cTitle): On screen I have this: on Report I have this: I investigated a little and found those lines of code on MakeRepCol
if oXCol:bEditValue != nil cPic := oXCol:cEditPicture endif
so, making a report the the picture is used only when bEditValue is defined, instead in all other cases it is used to transform the value to show... I think the picture, despite the name, is used also when is not Edit...
Kindly note that usage of bStrData was deprecated almost ten years back, i.e., from March 2008. Even earlier, bStrData was supposed to return a formatted string, though some tolerance is built into xbrowse to allow bStrData returning non-character values.
Kindly read whatsnew.txt of March 2008.
We suggest using bEditValue as a SETGET block returning value of any type and optional cEditPicture for formatting. bStrData is constructed internally by XBrowse, using bEditValue and cEditPicture.
You made a valid point that you understood cEditPicture to be used only for editing. I agree if we name bEditValue and cEditPicture as bValue and cPicture, they would convey the right meaning. But we are continuing the same names that were created at the time xbrowse was first created.
We also recommend using command syntax to define xbrowse, without forgetting to mention the datasource while creating xbrowse. This enables realisation of full potential of xbrowse.