Page 1 of 1

XBrowse: aImgRect for Image positioning, sizing, etc

Posted: Mon Nov 28, 2016 3:03 pm
by nageswaragunupudi
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
Image

fwh\samples\xbrimag3.prg
Image

Also please see http://forums.fivetechsupport.com/viewt ... =3&t=33235 for composing text and image in the same cell.