DELPHI DEV构件dxTabContainerDockSite和dxTabContainerDockSite等是怎样加上去的

DELPHI 语言
DEV的DEMO例子“DOCK WINDOWS” 里 有 dxTabContainerDockSite和dxTabContainerDockSite 等它们不是独立的构件 是派生的(自动生成的)。不知 是怎么 自动生成

楼主是那个版本的DEV?现在已经没有dxTabContainerDockSite和dxTabContainerDockSite
现在用的版本只有三个组件:dockManager/DockSite/DockPanel,加个DockSite,然后就加dockPanel就OK

var
ATabContainer: TdxTabContainerDockSite; ASideContainer: TdxSideContainerDockSite;
begin
// obtain the tab container
ATabContainer := dxDockPanel1.TabContainer;
if ATabContainer = nil then Exit;
// create a horizontal side container comprised of the
// tab container and the third panel
dxDockPanel3.DockTo(ATabContainer, dtRight, 1);
// change the first panel's position within the tab container
dxDockPanel1.DockTo(ATabContainer, dtClient, 1);
// obtain the side container
ASideContainer := dxDockPanel4.SideContainer;
if ASideContainer = nil then Exit;
// cancel the top panel's expansion
ASideContainer.ActiveChildIndex := -1;
end;
温馨提示:内容为网友见解,仅供参考
无其他回答

DELPHI DEV构件dxTabContainerDockSite和dxTabContainerDockSite等...
现在用的版本只有三个组件:dockManager\/DockSite\/DockPanel,加个DockSite,然后就加dockPanel就OK var ATabContainer: TdxTabContainerDockSite; ASideContainer: TdxSideContainerDockSite;begin \/\/ obtain the tab container ATabContainer := dxDockPanel1.TabContainer;if ATabContainer = nil then ...

相似回答
大家正在搜