Hi Knnov,

 tiOPF Model GUI Mediator / MVP - Part 1
> http://www.youtube.com/watch?v=FBw_3gXxyeI
>
> Found it yesterday ... an excellent 3 part series ... brilliant!
>
Great. I should have replied to the original post and mentioned that.

Just note that there are a couple of minor errors in the presentation that I
corrected "off camera". The main one is that when editing the line items
property / column definition in the object inspector I used the pipe symbol
'|' at the end to separate the next property Quantity but to separate the
properties you should use semi-colon ';'. The other separators for the
alignment, column width and display name are correctly shown as the pipe.
This is described in a comment in the tiBaseMediator.pas unit:

// Field definitions:
// New style:
//
PropertyName|Alignment|FieldWidth|Caption[;PropertyName|Alignment|FieldWidth|Caption;...]
//   Alignment is l (left), r (right), c (center)
//   e.g. FirstName|r|100|First Name
// or old style:
//
PropertyName(FieldWidth,"Caption",Alignment)[;PropertyName(FieldWidth,"Caption",Alignment);...]
//   Alignment is < (left), > (right), | (center)
//   e.g. FirstName(100,"First Name",>)
PropertyName can reference sub-properties, where a property is a reference
to another object. In the demo I had Product.ProductName.

Regards,
Jarrod Hollingworth
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
tiOPF-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tiopf-talk

Reply via email to