Sign in Join
Wiki copytemporary

Main menu/zh TW

Deutsch · English · Español · Français · Italiano · Magyar · Nederlands · Português · Shqip · Slovenčina · Suomi · Македонски · Русский · 中文(中国) · 中文(台灣) · 日本語

主選單

主選單包含了以下的幾個項目: 檔案 (F) 編輯 (E) 搜尋 (S) 檢視 (V) 專案 (P) 執行 (R) 元件 (C) 工具 (T) 環境 (n) 視窗 (W) 協助 (H)

一般說來,選項都可以用滑鼠移過去後點擊選取,或是按鍵盤 Alt+F (將焦點移至主選單,如果原來還沒有),然後再按 Tab 在這幾個子選單裡交替移動,直到你要的子選單被反白為止。

檔案子選單 (File)

編輯子選單 (Edit)

搜尋子選單

'''

檢視子選單

控制螢幕裡各個視窗與面版的一些顯示。

專案子選單

執行子選單

一種很重要的用法是使用此子選單的功能開啟一個遠端視窗來控制傳統 Pascal 主控台中輸入/輸出的顯示。如果你在開發一主控台模式的 Pascal 程式 (就是不使用圖形使用者介面,表單,按鈕和對話盒),那你應該選取 "使用投放式程式"。如果你是第一次使用這個編譯/執行工作,你可能會得到這樣一個無來由的回應訊息

"xterm: Can't execvp /usr/share/lazarus//tools/runwait.sh: Permission denied".
"{無法執行 /usr/share/lazarus//tools/runwait.sh: 權限不足}"。

若真的發生了,你需要為一些檔案變更適當的權限 (舉例使用 chmod +x 檔名,或是用視窗工具變更權限);也許你會需要 root 的權限來變更。之後,每一次你要發動你的程式的時候,就會彈出一主控台視窗框,所有你的文字輸出/入 (readln, writeln 等) 都會顯示在裡面。

After your program has finished execution, a message "Press enter" appears on the screen. Thus any output your program generated will remain on the screen until you have had a chance to read it; after you press 'enter' the console window closes.

Note: as for the current version, there is no prepared console command for Windows users. Until the Lazarus team adressess that, the following line should work (on WinXP -- someone please update for other Windowses)

C:\Windows\system32\cmd.exe /C ${TargetCmdLine}

See the separate tutorial on Console Mode Pascal programming.

These last three options enable you to open (and maintain) a test project. Use File -> Open to open an .lpr file, pressing cancel on the next dialog to open this file as "normal source" file.

The Package sub-menu

The Tools sub-menu

Standard packages add the following menu items:

環境子選單

Most of these settings are auto generated and read only.

The Windows sub-menu

Contains a list of the currently opened files and the available windows such as 原始碼編輯器, 物件檢視器 and Project Inspector. Clicking on the name of one of the windows brings it to the foreground and gives it focus.

The Help sub-menu

At present this has three selections:

At present by default, if you place your Editor cursor over any keyword from the Free Pascal Components Library FCL, the RunTime Library RTL or the Lazarus Components Library LCL, and then press F1 you will be taken by your default browser to the appropriate definition on the website. Be aware that your browser may be located on another desktop on your machine (eg in Linux), and you may not see the information immediately; of course if you are not connected to the internet you cannot get this information.

There are alternative help options which gives the end-user off-line help. For example, if you have a copy of Kylix, you can reuse the help files supplied with it, inside Lazarus IDE. See the Adding Kylix Help page for details.

Eventually there will be a full on-line Help service, with information about Pascal syntax, the use of the IDE, how to use, modify or create Components, and hints on how to perform certain tasks. This part of the Documentation section (the thing you are currently reading) represents the beginning of the process. We need contributions from anyone who feels able to provide them: the WiKi is very easy to edit.


From the Free Pascal wiki, page "Main menu/zh TW", as it stood on 2021-12-08 after a change by Kupferstecher, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 2, last changed by WikiArchive .

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.