On 7 May 2010 20:03, Daniel Hiromy wrote:
> In a form I have a TContactList being shown on a TListView, and a mediator
> for a TTelephoneList, owned by a TContact, that is shown in a String Grid.

A normal Master-Detail (one-to-many) design. I personally hate that in
a single form UI, but it seems quite popular with many developers. :)


> Does the framework has a better way to handle with this?
> I couldn't find another way.

That looks right to me. Like I said, I don't personally use such a UI
design but it is catered for by the mediators. I would also recommend
you look at Demo 21 (Address Book demo). The demos are part of tiOPF2
source code repository.

  <tiopf>/Demos/LCL/Demo_21_*
  <tiopf>/Demos/VCL/Demo_21_*


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

------------------------------------------------------------------------------

_______________________________________________
tiOPF-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tiopf-talk

Reply via email to