Hi Martin
Is there a simple method to set in the procedure
onFocusedWidgetChanged(const oldwidget: twidget; const newwidget:
my CurrentDatasource to newwidget.datalink.datasource
Ex CurrentDs.dataset := classof(newwidget).datalink.datasource.dataset
All What I found is
If newwidget is tdbwidgetgid then currentDs.dataset:=
tdbwidgetgrid(newwidgetgrid).dataliknk.datasource.dataset
......
.....
if newwidget is tdb* then
...................................................
Best Regards
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk