XBrowse: aImgRect for Image positioning, sizing, etc
Posted: Mon Nov 28, 2016 3:03 pm
XBrowse column DATA aImgRect can be used to position, size and shape an image within the cell similar to TBtnBmp aBmpRect
These samples demonstrate the use of oCol:aImgRect and oBtn:aBmpRect. In the first sample the shapes and sizes change dynamically which can not be shown in a screenshot. Only way is to build the sample and run the exe.
fwh\samples\xbrimag2.prg

fwh\samples\xbrimag3.prg

Also please see viewtopic.php?f=3&t=33235 for composing text and image in the same cell.
These samples demonstrate the use of oCol:aImgRect and oBtn:aBmpRect. In the first sample the shapes and sizes change dynamically which can not be shown in a screenshot. Only way is to build the sample and run the exe.
fwh\samples\xbrimag2.prg

fwh\samples\xbrimag3.prg

Also please see viewtopic.php?f=3&t=33235 for composing text and image in the same cell.