﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-喜++&amp;&amp;方块糖-随笔分类-object pascal</title><link>http://www.cppblog.com/WangYu/category/6137.html</link><description>海阔天空</description><language>zh-cn</language><lastBuildDate>Mon, 19 May 2008 22:58:51 GMT</lastBuildDate><pubDate>Mon, 19 May 2008 22:58:51 GMT</pubDate><ttl>60</ttl><item><title>一个问题</title><link>http://www.cppblog.com/WangYu/archive/2008/02/06/42562.html</link><dc:creator>喜++</dc:creator><author>喜++</author><pubDate>Tue, 05 Feb 2008 19:00:00 GMT</pubDate><guid>http://www.cppblog.com/WangYu/archive/2008/02/06/42562.html</guid><description><![CDATA[function TCustomStatusBar.ExecuteAction(Action: TBasicAction): Boolean;<br>begin<br>&nbsp; if AutoHint and (Action is THintAction) and not DoHint then<br>&nbsp; begin<br>&nbsp;&nbsp;&nbsp; if SimplePanel or (Panels.Count = 0) then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SimpleText := THintAction(Action).Hint else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Panels[0].Text := THintAction(Action).Hint;<br>&nbsp;&nbsp;&nbsp; Result := True;<br>&nbsp; end<br>&nbsp; else Result := inherited ExecuteAction(Action);<br>end;
<br><br>在MDI中谁来CALL?<br><br>bool TCustomStatusBar::ExecuteAction(TBasicAciton&amp; Action)<br>{<br>&nbsp;&nbsp;&nbsp; if(AutoHint &amp;&amp; Action.IsKindOf(THintAction) &amp;&amp; !DoHint())<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  if (SimplePanel || Panels.Count == 0)<br>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp;SimpleText = Action.Hint
;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; else<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Panels[0].Text = Action.Hint;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; return true;<br>&nbsp;&nbsp;&nbsp; return Base::(?)ExecuteAction(Action); &nbsp; &nbsp;  <br>
<br>}<br><br>   <img src ="http://www.cppblog.com/WangYu/aggbug/42562.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/WangYu/" target="_blank">喜++</a> 2008-02-06 03:00 <a href="http://www.cppblog.com/WangYu/archive/2008/02/06/42562.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>无题</title><link>http://www.cppblog.com/WangYu/archive/2008/02/04/42528.html</link><dc:creator>喜++</dc:creator><author>喜++</author><pubDate>Mon, 04 Feb 2008 15:26:00 GMT</pubDate><guid>http://www.cppblog.com/WangYu/archive/2008/02/04/42528.html</guid><description><![CDATA[DELPHI 这个脚本环境还真不赖。<br>（别给我讲啥是语言，啥是脚本，啥是编译，啥是解释，偶懂）<br><br> <img src ="http://www.cppblog.com/WangYu/aggbug/42528.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/WangYu/" target="_blank">喜++</a> 2008-02-04 23:26 <a href="http://www.cppblog.com/WangYu/archive/2008/02/04/42528.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>