我只是听说有第三方控件可以用,我嫌麻烦,所以没有细问,只想用现成的东西来做 我现在实现了类似效果,但是没有小按钮,而且是用也不是很方便,code如下 procedure TForm.Splitter1Moved(Sender: TObject); begin If (Splitter1.Left <= 10) then begin Splitter1.Left := Splitter1.MinSize; end else begin Splitter1.Left := 1; end; end; 其中,Splitter1.MinSize设置为你想要的宽度大家集思广益,看能不能实现我想要的效果呢?
DevExpress ExpressBar Suite v5.5.1 Full Sourcehttp://www.2ccc.com/article.asp?articleid=2546 Delphi and C++Builder控件(含完整源码),用于创建工具栏、菜单、浮动窗口(docking)等。
很多网站都有这种效果,csdn左边那个树形也是这种效果么。
我现在实现了类似效果,但是没有小按钮,而且是用也不是很方便,code如下
procedure TForm.Splitter1Moved(Sender: TObject);
begin
If (Splitter1.Left <= 10) then
begin
Splitter1.Left := Splitter1.MinSize;
end
else begin
Splitter1.Left := 1;
end;
end;
其中,Splitter1.MinSize设置为你想要的宽度大家集思广益,看能不能实现我想要的效果呢?
Delphi and C++Builder控件(含完整源码),用于创建工具栏、菜单、浮动窗口(docking)等。