Sign in Join
Wiki copytemporary

Revision 1 of 3, by Kupferstecher on 12-8-2021. The page as it is now.

Main menu/zh CN

主菜单

主菜单包括如下内容: <u>F</u>ile(文件) <u>E</u>dit(编辑) <u>S</u>earch(查找) <u>V</u>iew(查看) <u>P</u>roject(工程) <u>R</u>un(运行) <u>c</u>omponents(构件) <u>T</u>ools(工具) E<u>n</u>vironment(环境) <u>W</u>indows(窗口) <u>H</u>elp(帮助)

通常情况下,你可以通过鼠标左键来点击相应的菜单功能,也可以通过热键Alt+相应热键字母(如果焦点不在菜单上,你可以使用Alt键和方向键选择菜单)

文件子菜单

<div class="floatright">

<figure> <img src="文件子.png" title="文件子.png" /> <figcaption>文件子.png</figcaption> </figure>

</div>

<div style="clear:both;">

</div>

编辑子菜单

<div class="floatright">

<figure> <img src="编辑子.png" title="编辑子.png" /> <figcaption>编辑子.png</figcaption> </figure>

</div>

<div style="clear:both;">

</div>

查找子菜单

<div class="floatright">

<figure> <img src="查找子.png" title="查找子.png" /> <figcaption>查找子.png</figcaption> </figure>

</div>

'''

<div style="clear:both;">

</div>

查看子菜单

<div class="floatright">

<figure> <img src="查看子.png" title="查看子.png" /> <figcaption>查看子.png</figcaption> </figure>

</div>

控制屏幕上的各种窗口和面板显示。

主面板中的标签“属性”:用来改变控件显示属性,如名称、颜色,标题、字体、大小等(两列中,左侧为属性,右来输入或选择属性值)。 “事件”:列表控件允许的事件,如点击、双击等。点击...在源代码编辑器中编写相应事件。 “常用”:显示常用的属性和事件列表(你也可以右击属性,也添加到“常用”中)。 “限制“,控件在各平台中的支持情况。

<div style="clear:both;">

</div>

源代码子菜单

<div class="floatright">

<figure> <img src="源代码子.png" title="源代码子.png" /> <figcaption>源代码子.png</figcaption> </figure>

</div>

工程子菜单

<div class="floatright">

<figure> <img src="工程子.png" title="工程子.png" /> <figcaption>工程子.png</figcaption> </figure>

</div>

新版本(如1.0.14),Ctrl+Shift+T键,在当前位置添加一个TODO。格式如// TODO : 待办说明。

运行子菜单

<div class="floatright">

<figure> <img src="运行子.png" title="运行子.png" /> <figcaption>运行子.png</figcaption> </figure>

</div>

其用途时,在Pascal控制台显示终端窗口。

如果你正在开发一个控制台模式的Pascal程序(即不使用图形界面),你应该勾选"使用运行的应用程序"。

当你尝试编译/运行程序时,会得到错误消息:

"xterm: Can't execvp /usr/share/lazarus//tools/runwait.sh: Permission denied".(大意为:权限不足。) 

如果出现这种情况,你需要设置程序的拥有可执行权限(如使用 chmod +x 文件名);程序启动后,程序的所有输入/输出都将在控制台中显示。

程序执行完毕,“Press Enter”显示在屏幕上,这时,程序之前的输入/输出都将在屏幕上显示,直至你按<span class="kbd">Enter</span>关闭控制台窗口。

注意: 作为当前版本,对Windows用户,没有控制台命令。直到Lazarus团队的adressess说,下面一行应该工作(on WinXP -- someone please update for other Windowses)

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

参见Pascal 控制台模式的单独教程。

<div style="clear:both;">

</div>

--Feibaicamel 14:28, 31 12月 2009 (CET)

包子菜单

<div class="floatright">

<figure> <img src="包子.png" title="包子.png" /> <figcaption>包子.png</figcaption> </figure>

</div>

(注意:配图与介绍并不符合,因为Lazarus版本不同,但大多项是相似的,你可以参照着使用。)

工具子菜单

<div class="floatright">

<figure> <img src="工具子.png" title="工具子.png" /> <figcaption>工具子.png</figcaption> </figure>

</div>

<div style="clear:both;">

</div>

窗口子菜单

<div class="floatright">

<figure> <img src="窗口子.png" title="窗口子.png" /> <figcaption>窗口子.png</figcaption> </figure>

</div>

Contains a list of the currently opened files and the available windows such as Source Editor, Object Inspector and Project Inspector. Clicking on the name of one of the windows brings it to the foreground and gives it focus.

<div style="clear:both;">

</div>

帮助子菜单

<div class="floatright">

<figure> <img src="帮助子.png" title="帮助子.png" /> <figcaption>帮助子.png</figcaption> </figure>

</div>

At present this has three selections:

Help can be configured with [Tools|Options|Help]


From the Free Pascal wiki, page "Main menu/zh CN", 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.