请教各位大哥: 像 QQ 那样 单击一下聊天记录,则下面出现一个写字板的东西,单击聊天模式,则哪个东西又没看见了,这要怎么实现啊? 谢谢!
解决方案 »
- 关于DELPHI恢复SSDT的问题
- 请问:在类的实现中FClass = TClass(Tag) 这个tag为什么要用?
- 如何设置single的小数位
- delphi2005中MDICHILD窗口显示问题!急急急,在线等!!!
- 求救,多个客户端程序可以同时发送文件到服务器端,服务端程序自动接收文件并保存。
- 求助问题!
- 高手请回答:SQL语句between 的用法?这样写对吗?给分!
- !!!!!急菜鸟问题:关于edit的问题,急!!!!!
- 找工作的请进(工作地点深圳)
- 因为喜欢Delphi论坛,所以不是Delhi的问题也在这里问了,各位大虾帮忙看看.
- ado+access的数据库连接问题.
- 这个算法比效难,高手们看看.
begin
pnl1.Visible:=not pnl1.Visible;
if not pnl1.Visible then
self.Height:=self.Height-pnl1.Height
else
self.Height:=self.Height+pnl1.Height;
end;
pnl的align的值为alBottom
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;type
TForm1 = class(TForm)
Button1: TButton;
Memo1: TMemo;
procedure Button1Click(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;var
Form1: TForm1;implementation{$R *.dfm}procedure TForm1.Button1Click(Sender: TObject);
begin
if tag=0 then
begin
Height:=400;
Memo1.Visible:=True;
tag:=1;
end
else
begin
Height:=300;
Memo1.Visible:=False;
tag:=0;
end;
end;procedure TForm1.FormCreate(Sender: TObject);
begin
Height:=300;
end;end.