Subject:
强烈建议,支持禁止D7 IDE窗口的"Dockable"功能
[Print This Page]
Author:
3304xfq
Time:
2015-6-8 11:30
Subject:
强烈建议,支持禁止D7 IDE窗口的"Dockable"功能
D5-D7所有窗口,都会自动Dockable,比如
Object TreeView
Object inspector
Project Manager
Code explorer
等等
大多数窗口,或是子窗口, 在拖动时,或是调整大小时,都会过份自动的去和其它窗口合并,非常烦人
希望可以有选项,统一一次性关闭这些功能
目前,只能鼠标右键,在弹出菜单中,把Dockable钩去掉
Author:
Passion
Time:
2015-6-8 13:58
可以写个脚本完成这功能:
{*******************************************************}
{ }
{ Pascal Script Source File }
{ Run by RemObjects Pascal Script in CnWizards }
{ }
{ Generated by CnPack IDE Wizards }
{ }
{*******************************************************}
program DisableDock;
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
var
I: Integer;
begin
for I := 0 to Screen.FormCount - 1 do
begin
if Screen.Forms[I].DragKind = dkDock then
Screen.Forms[I].DragKind := dkDrag;
if Screen.Forms[I].DragMode = dmAutomatic then
Screen.Forms[I].DragMode := dmManual;
end;
end.
Author:
Passion
Time:
2015-6-8 14:00
保存此脚本,然后在脚本专家中打开脚本窗口,再打开此脚本,然后在脚本窗口中点执行,即可。
Welcome to CnPack Forum (http://bbs.cnpack.org/)
Powered by Discuz! 5.0.0