On Sunday 02 June 2013 14:30:44 Med Hamza wrote: > Hi Martin, > As you know, I am working with OnFocusedWidgetChanged to set and reset > datasource depending on widget the user > select.
I do not understand why a datasource must be switched by focus change. We could fire an event in tdatasource (onenter/onexit) by focusing a connected widget. Would it fulfill your needs? > I want to optimize my code, Putting Dbgrid inside other frame and > testing theframe.OnEnter is not a smart solution I believe? > tform.onfocusedwidgetchanged can not be used? Martin ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

