Hi,
I have played with this code and if I apply skin (marked with red) then multiline stops working.
Code:
Procedure OnCreate
Handle hoPaintManager hoColumns hoRecords hoColumn hoRecord hoItem
Variant vPaintManager vColumns vRecords vColumn vRecord vItem
Forward Send OnCreate
// Report control paint manager
Get Create (RefClass(cCJReportPaintManager)) to hoPaintManager
Get ComPaintManager to vPaintManager
Set pvComObject of hoPaintManager to vPaintManager
Set ComColumnStyle of hoPaintManager to xtpColumnResource
Set ComFixedRowHeight of hoPaintManager to False // Allow multi row items (for wrap text)
// Columns collection
Get Create (RefClass(cCJReportColumns)) to hoColumns
Get ComColumns to vColumns
Set pvComObject of hoColumns to vColumns
// Add new column
Get Create (RefClass(cCJReportColumn)) to hoColumn
Get ComAdd of hoColumns 0 "Column" 250 True to vColumn
Set pvComObject of hoColumn to vColumn
Set ComAlignment of hoColumn to xtpAlignmentWordBreak // Wrap text
// Records collection
Get Create (RefClass(cCJReportRecords)) to hoRecords
Get ComRecords to vRecords
Set pvComObject of hoRecords to vRecords
// Add new record
Get Create (RefClass(cCJReportRecord)) to hoRecord
Get ComAdd of hoRecords to vRecord
Set pvComObject of hoRecord to vRecord
// Add new item to the record
Get Create (RefClass(cCJReportRecordItem)) to hoItem
Get ComAddItem of hoRecord "Codejock Software's Report Control allows you to display a hierarchical list of items similar to Outlook 2003 email inbox." to vItem
Set pvComObject of hoItem to vItem
Send ComPopulate
End_Procedure
At VDFSig the skin is one of the problems, another is the line:
Code:
Send ComSetCustomDraw OLExtpCustomBeforeDrawRow
If you don't use skin and comment out the above line of code, it works.
EDIT: I am using revision 889 of VDFSig
Regards.