Op 2011-01-21 15:05, Konnov Dmitry het geskryf:
> 
> How Observers and GUI components in TiOPF are related?

The tiOPF has the observer pattern implemented, so you can easily us it
for whatever you need.

> Is there a way to notify GUI component like List, Edit or TreeView by
> tiObject?

You can code your own, or simply use the Model-GUI-Mediator (MGM)
already implemented in tiOPF v2 (I don't use v3 so can't comment).
Notification in both directions get handled for your then.

Take a look at Demo 21 in the VCL, LCL or fpGUI folders for a full
example of how MGM is used with various standard gui components. MGM
supports 3 gui toolkits.

If you use MGM, you don't need DB-aware or tiOPF-custom components. Just
used stock components like TEdit, TComboBox, TMemo etc..


To find out more about MGM, here is an article I wrote about it.
  http://opensoft.homeip.net:8080/articles/model-gui-mediator.pdf


Regards,
  - Graeme -




------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
tiOPF-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tiopf-talk

Reply via email to