On Wednesday 04 July 2018 20:29:41 mohamed hamza wrote: > Hi Martin, > > > 3 years ago, I submitted a problem about activating subform. > > Clicking inside objects of subform activate it. ( tdbwidgets , ....) but > clicking Vscrollbar or Hscrollbar of tdbgrid does not do it. > I'll add another option. > > In fact I want to write something like: > > > OnActivate ( tdbwidget ) > > > ds.dataset:=tdbwidget(sender).datalink.datasource.dataset; > > end; > > > where ds is a common datasource to all dbgirds. > I don't understand the purpose. "ds" is the datasource for the dbgrids and you want to set "ds.dataset" while clicking on the scrollbar of the dbgrid with the dataset of another dbwidget?
Martin ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

