使用panel控件即可实现。譬如左边的索印标题窗口放在一个panel中,右边的子窗口,不同的各用一个panel用于显示。至于隐藏与否,控制visable属性即可。给个email我,或者给你做一个
解决方案 »
- 请教:delphi中nil、null、UnAssigned区别是什么
- 借题散分:各位XDJM,FastMM和DelphiSpeedUp有更新了,需要的自己搜索下载啦!
- 請問怎麼設置我自己的Open Project的路徑?
- 如何让动态创建的组件的属性跟已有的同类组件的属性一模一样?
- Delphi 和VB.net何去何从?
- 如何分析、解决写二进制字段(image类型)对长度的限制(希望数据库老手帮我分析一把)?
- 高分请教 DBGrid中数据的修改....分不够...加...
- 关于图形控件的问题,小问题解决就给分。。。
- Delphi6新生成的程序(Form上面什么都没有)怎么有300多K?太大了吧!
- if (midiOutGetNumDevs()<>0) then MediaPlayer1.Play; 都有错呀??
- 有关一个RXDBCtrl.dcu的问题
- 各位,何处有FIFA2002下载?
dfm文件如下:
object Form1: TForm1
Left = 192
Top = 107
Width = 544
Height = 464
Caption = 'Form1'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
PixelsPerInch = 96
TextHeight = 13
object Panel1: TPanel
Left = 0
Top = 0
Width = 129
Height = 437
Align = alLeft
BevelOuter = bvNone
Color = 12369084
TabOrder = 0
end
object Panel2: TPanel
Left = 129
Top = 0
Width = 16
Height = 437
Align = alLeft
BevelOuter = bvNone
Color = 13631439
TabOrder = 1
object Label1: TLabel
Left = 0
Top = 192
Width = 16
Height = 16
AutoSize = False
Caption = ' >>'
OnClick = Label1Click
end
end
object Panel3: TPanel
Left = 145
Top = 0
Width = 391
Height = 437
Align = alClient
BevelOuter = bvNone
Color = clScrollBar
TabOrder = 2
object Panel4: TPanel
Left = 0
Top = 80
Width = 391
Height = 357
Align = alBottom
BevelOuter = bvNone
Caption = 'Panel4'
Color = clCaptionText
TabOrder = 0
end
end
endpas文件如下:
unit Unit1;interfaceuses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls;type
TForm1 = class(TForm)
Panel1: TPanel;
Panel2: TPanel;
Panel3: TPanel;
Panel4: TPanel;
Label1: TLabel;
procedure Label1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;var
Form1: TForm1;implementation{$R *.DFM}procedure TForm1.Label1Click(Sender: TObject);
begin
if Panel1.Visible then
begin
Panel1.Visible := false;
Label1.Caption := ' >> '
end else
begin
Panel1.Visible := true;
Label1.Caption := ' << '
end;
end;end.
你看一下是否能满足你的要求