I tried

Inside MainForm.onprocedure OnInitSubform(const sender: TObject; const
asubform: twidget);
var oTC:tcomponent;

begin
oTC:=asubform.findcomponent('activator'));
If oTc <>nil then tactivator(oTC).active := true;
end;

same result

I planed to activate tdataset using a loop inside tactivator

for i ..... to clients.count
   tdataset(clients[i]).active := not(tdataset(clients[i])).active;

what do you think






2013/6/11 Martin Schreiber <[email protected]>

> On Tuesday 11 June 2013 19:15:12 Ivanko B wrote:
> > What is wrong with component streaming? Examples?
> > =========================================
> > Not wrong but difficult to keep in mind what happens at each stage -
> > at least until VERY detailed (what when happens) library docs are
> > available. My collegues are examples :) They can't handle Delphi as
> > well though, but easily manage scripting languages (Python,..) so they
> > can't be considered disqualified (they're really smart guys). But
> > maybe there're different ways of thinking - scripting languages are
> > nightmare for me :)
> > Me too partialy - with TActivator, me couldn' t get this component
> > working as expected ([de]activation chaining for multiple
> > parameterized queries, somewhere in different datamodules) - me had
> > been really lost and given up :)
> >
> That probably has nothing to do with component streaming. The purpose of
> tactivator is to activate/deactivate components in arbitrary order.
>
> Martin
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> mseide-msegui-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk
>
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to