Hi All,
This is just an example to see how to get component from datamodule.
var t:tdatamodule; ds:tdatasource;
begin
t:=tdatamodule(application.findcomponent('dmmo'));
ds:=tdatasource(tmseform(t).findcomponent('dso'));
Showmessage(tmsedatasource(ds).dataset.name);
showmessage(tmseform(t).name);
end;
I use to enable/disable autoedit and readonly.
Med
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk