TdxDockPanel
来源:互联网 发布:webservice添加数据 编辑:程序博客网 时间:2024/06/11 12:54
procedure TMainFormFrm.blbModelClick(Sender: TObject);
var
lDockPanel: TdxDockPanel;
begin
gGlobalObjects.Section.Enter;
try
lDockPanel := dxdpRoleView;
if (lDockPanel = nil) then Exit;
if TdxBarLargeButton(Sender).Down then
begin
if lDockPanel.DockState = dsUndocked then
begin
case TdxBarLargeButton(Sender).Tag of
39: lDockPanel.Dock(dxdpPicture.ParentDockControl, lDockPanel.BoundsRect)
else
lDockPanel.Dock(dxdsFormSite, lDockPanel.BoundsRect)
end;
end;
if not lDockPanel.Visible then
lDockPanel.Visible := True;
dxDockingController.ActiveDockControl := lDockPanel;
end
else begin
lDockPanel.Visible := False;
end;
finally
gGlobalObjects.Section.Leave;
end;
end;
var
lDockPanel: TdxDockPanel;
begin
gGlobalObjects.Section.Enter;
try
lDockPanel := dxdpRoleView;
if (lDockPanel = nil) then Exit;
if TdxBarLargeButton(Sender).Down then
begin
if lDockPanel.DockState = dsUndocked then
begin
case TdxBarLargeButton(Sender).Tag of
39: lDockPanel.Dock(dxdpPicture.ParentDockControl, lDockPanel.BoundsRect)
else
lDockPanel.Dock(dxdsFormSite, lDockPanel.BoundsRect)
end;
end;
if not lDockPanel.Visible then
lDockPanel.Visible := True;
dxDockingController.ActiveDockControl := lDockPanel;
end
else begin
lDockPanel.Visible := False;
end;
finally
gGlobalObjects.Section.Leave;
end;
end;
阅读全文
0 0
- TdxDockPanel
- hdu2068错排+排列组合
- python笔记3_集合与字典
- 机器学习与深度学习(三) 支持向量机 (Support Vector Machine) SVM
- imageloader
- redis 安装和简单使用
- TdxDockPanel
- bzoj1861: [Zjoi2006]Book 书架
- JavaScript 学习
- 基于级联分类器的目标检测objdect
- 多个18B20组成测温系统
- Android7.0文件操作之FileProvider
- 实践Demo:基于MapReduce的PageRank网页排序
- 机器学习之numpy和matplotlib学习(六)
- Java+maven+selenium+testng+jenkins自动化环境搭建