气愤!解决办法

气愤!!!!
今天浏览到的!

原帖:
http://community.csdn.net/Expert/topic/5594/5594101.xml?temp=.7096826


很是郁闷,
不知道有几个人理解了楼主的意思。
我想是这样的功能吧:象QQ上聊天记录,一点就显示出来,显示出的话就关掉的那种东西!

一点研究问题的态度都没有!
怪不得现在做软件的不值钱

------解决方案--------------------
类似于这样

if PanelMsg.Visible=false then
begin
PanelMsg.Visible:=true;
PanelMsg.Height:=200;
Height:=Height+200;
end
else
begin
PanelMsg.Visible:=false;
Height:=Height-PanelMsg.Height;
end;