1. 程式人生 > 實用技巧 >CodeTyphon - 如何像Delphi一樣,有一個一體的介面?

CodeTyphon - 如何像Delphi一樣,有一個一體的介面?

CodeTyphon和Lazarus一樣,預設都是Delphi5最初那種分離的介面,可能已經習慣了現在Delphi的一體介面,所以想把它弄成一體的!!

一,Lazarus一體化:

1,需要的外掛

實現整合視窗的功能,只需要用到Lazarus自帶的anchordockingdsgn.lpk外掛,這個外掛位於:

${Lazarus_install_dir}/components/anchordocking/design

Lazarus_install_dir為Lazarus的安裝目錄

2,安裝外掛:

欲安裝anchordockingdsgn.lpk只需要開啟Lazarus選擇Package -> Open Package File -> 選中anchordockingdsgn.lpk-> install即可

在編譯之後Lazarus將會自動重啟,Lazarus視窗將被整合在一起。

二,CodeTyphon一體化:

CodeTyphon不能通過上面方法實現一體化,但是,更簡單了,直接拖動浮動的窗體黃色部分到想放入的窗體裡就可以了!!

Sir
just click and hold on yellow panel of IDE-Forms and drag... to the new Parent form

這是CodeTyphon官方開發者給的回答,回答地址:

https://www.pilotlogic.com/sitejoom/index.php/forum/installation-setup/2779-can-t-install-anchordocking-lpk-on-bridgelinux

我最終弄的一體化窗體的樣子:

參考:

https://blog.csdn.net/uijjuh_21/article/details/107883217