Rob Kennedy wrote:
>Dave Sellers wrote: > > >>If I type something into the TMemo and then hit one of the buttons on a >>TActionToolBar, the buttons's associated Action's OnExecute event fires >>before the TMemo's OnExit. >> >>This seems very odd to me. There is a note at the bottom of the >>TWinControl OnExit help which says "In some control classes the >>ActiveControl property updates before the OnExit event occurs". Is what >>I'm seeing a demonstration of that? It's one thing for the ActionToolBar >>to become the ActiveControl but firing the OnExecute seems quite another. >> >> > >Is the tool bar really becoming the active control? Tool bars don't >typically gain the input focus, but I'm not that familiar with >TActionToolBar yet. > > Good question. I was thinking aloud there and should have checked. If I check at the beginning of the action's OnExecute event handler, the active control is still the TMemo which leads me back to my main problem, how can this fire before the memo's OnExit? ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h3mq1gu/M=362329.6886308.7839368.1510227/D=groups/S=1705115362:TM/Y=YAHOO/EXP=1122640807/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!</a>.</font> --------------------------------------------------------------------~-> ----------------------------------------------------- Home page: http://groups.yahoo.com/group/delphi-en/ To unsubscribe: [EMAIL PROTECTED] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/delphi-en/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

