R
Rob Meade
Hi all,
I am just making a few methods in my base class, one of which returns a
horizontal line, formatted on the page as *I* want it..its basically a
collection of three table rows.
I discovered the TableRowCollection this evening, so I was hoping that I
could return one of these objects with my three rows inside it, and then
assign the collection to the table...something like...
Dim Table as Table
Table.Rows.Add(CreateHorizontalLine())
Private Function CreateHorizontalLine() As TableRowCollection
Dim TableRowCollection as TableRowCollection
....
Return TableRowCollection
End Function
Unfortunately - this doesn't seem to work - have I misinterpreted the use of
this object or can someone guide me in the right direction please...
I could of course just return a table and add that to a cell in a row in the
table, but this does kinda make unnecessary (maybe) nesting...
Any help appreciated.
Regards
Rob
I am just making a few methods in my base class, one of which returns a
horizontal line, formatted on the page as *I* want it..its basically a
collection of three table rows.
I discovered the TableRowCollection this evening, so I was hoping that I
could return one of these objects with my three rows inside it, and then
assign the collection to the table...something like...
Dim Table as Table
Table.Rows.Add(CreateHorizontalLine())
Private Function CreateHorizontalLine() As TableRowCollection
Dim TableRowCollection as TableRowCollection
....
Return TableRowCollection
End Function
Unfortunately - this doesn't seem to work - have I misinterpreted the use of
this object or can someone guide me in the right direction please...
I could of course just return a table and add that to a cell in a row in the
table, but this does kinda make unnecessary (maybe) nesting...
Any help appreciated.
Regards
Rob