DF 19.0 & CJ 17.3
I'm trying to increase the row's height in a cDBCJGrid to show a bigger image.
Here is what is showing without messing with the height and setting pbmultiline to true:
After doing some research in the codejock forum I found that I have to enable MeasureRow event:
Code:
Procedure OnCreate
Forward Send OnCreate
Set ComEnableMarkup to True
Send ComSetCustomDraw xtpCustomMeasureRow
End_Procedure
Procedure OnComMeasureRow Variant llRow OLE_HANDLE llhDC Integer llWidth Integer ByRef llHeight
Move 200 to llHeight
Forward Send OnComMeasureRow llRow llhDC llWidth llHeight
End_Procedure
Enabling OnComMeasureRow results in empty rows but with the height I want:
What am I missing here?
Thanks in Advanced.