var
tp:TPanel;
tcs:TcxSplitter;
begin
tp:=TPanel.Create(self);
tp.Align:=alLeft;
tp.Caption:='';
tp.Parent:=self;
tp.width:=66; tcs:=TcxSplitter.Create(self);
tcs.HotZone:=TcxMediaPlayer8Style.Create(tcs);
tcs.AlignSplitter:=salLeft;
tcs.Left:=tp.Width;
tcs.parent:=self; tp:=TPanel.Create(self);
tp.Align:=alClient;
tp.Caption:='';
tp.Parent:=self;
end;程序运行后,会生成上述各个控制,但是点击cxSplitter,想拖动改变二边的panel大小,发现不行,点击或拖动cxSplitter,该控制没有任何反应,这是为何?还请高手指点,谢谢!
tp:TPanel;
tcs:TcxSplitter;
begin
tp:=TPanel.Create(self);
tp.Align:=alLeft;
tp.Caption:='';
tp.Parent:=self;
tp.width:=66; tcs:=TcxSplitter.Create(self);
tcs.HotZone:=TcxMediaPlayer8Style.Create(tcs);
tcs.AlignSplitter:=salLeft;
tcs.Left:=tp.Width;
tcs.parent:=self; tp:=TPanel.Create(self);
tp.Align:=alClient;
tp.Caption:='';
tp.Parent:=self;
end;程序运行后,会生成上述各个控制,但是点击cxSplitter,想拖动改变二边的panel大小,发现不行,点击或拖动cxSplitter,该控制没有任何反应,这是为何?还请高手指点,谢谢!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货