转至繁体中文版     | 网站首页 | 图文教程 | 资源下载 | 站长博客 | 图片素材 | 武汉seo | 武汉网站优化 | 
最新公告:     敏韬网|教学资源学习资料永久免费分享站!  [mintao  2008年9月2日]        
您现在的位置: 学习笔记 >> 图文教程 >> 软件开发 >> Delphi程序 >> 正文
Shortcut Keys of Delphi         ★★★★

Shortcut Keys of Delphi

作者:闵涛 文章来源:闵涛的学习笔记 点击数:624 更新时间:2009/4/23 18:37:40

If you never used the shortcut keys of Delphi, you would not be aware that it is a wonderful thing. But as soon as you begin, you will never give it up. My suggestion on it is that using shortcut keys when you begin to program with Delphi. It will give you a lot of help.

The following is some of the Delphi shortcut keys(if you have not changed them yet) which I think is very usually used. You can get more from the Delphi help file. If you think some others are important too, you can tell me by the email.

Shorcut Key Function Supplement ctrl + space Get the name of methods or variants, if after an Object, you will get the list of Object''''s property and methods. If the input method has used this shortcut key, you should change it to make it can be used in delphi. ctrl + shift + c Complete the class at cursor If you add some methods to a class, what you need to do is just writting the declaration in the interface part of the class and use this shorcut key to get the body part. ctrl + shift + up arrow Go to the declare part of the method whose body part is at cursor.   ctrl + shift + down arrow Go to the body part of the mothod whose declare part is at cursor.   ctrl + o + c Change the select way to vertical After you press this shortcut key, and you can select the code vertically.(Only help you select vertically using key(shift + arrow).) ctrl + o + k Change back to normal state form the above one.   F12 Toggle between the code screen and the form one.   ctrl + F12 View units(You will get a units list after pressing this shortcut key. ) If you install the PowerWord, this shortcut key will be occured by this software, you can change it to make it can be used in Delphi shift + F12 View Forms You will get a forms list after pressing. alt + F12 Use unit You will get a units list from which you can select the unit you want to use(add the unit name to the use part of implemetation). F9 Run If you are debug, it will run to the end of this funcition. ctrl + F9 Compile   ctrl + F2 Program reset Stop the run state. F5 Add(Delete) break point on the line at the cursor   F8 When you debug, step one line code.   F7 When you debug, step into the method on the line.   F4 When you debug, run to the line at the cursor.   ctrl + F5 Inspect the value of the variant at the cursor.   alt + F5 Add to watch at the cursor   ctrl + j Get the template of some useful code structure. For example for,try etc. You can add what you like by the following Tools/Editor Options/Code Insight ctrl + f Open the searching dialog and the word at the curor has been the content of searching(Of course you can change it ).   F3 Find next one.   alt + F11 Open project   ctrl+click When you write code, you can use this way to go to the declaration of the method at the cursor, when you debug, you can get the property or value of the variant at the cursor.   F11 Show the Object Spector or the form window if they are not visible.  

版权所有:idilent 网站转载请注明作者 其他转载方式请与作者联系(idilent@yahoo.com.cn)。


[办公软件]如何实现Office工具栏、菜单以及菜单命令重命名  [办公软件]如何在Office文档(大)括号内输入多行文字
[办公软件]如何在office(PowerPoint,Word,Excel)中制作带圈的…  [办公软件]批量删除Office文档(word,excle,powerpoint)中的超…
[办公软件]Office(Word,Excel)密码破解软件(Office Password…  [办公软件]如何让低版本的Office也能顺利编辑2007文档
[办公软件]设置office艺术字的形状  [办公软件]如何将Office菜单设置、工具设置、宏设置等应用到…
[办公软件]在Office(word,excel)中输入各级钢筋符号的方法  [办公软件]打开Office文档就提示安装的原因及解决方案
教程录入:mintao    责任编辑:mintao 
  • 上一篇教程:

  • 下一篇教程:
  • 【字体: 】【发表评论】【加入收藏】【告诉好友】【打印此文】【关闭窗口
      注:本站部分文章源于互联网,版权归原作者所有!如有侵权,请原作者与本站联系,本站将立即删除! 本站文章除特别注明外均可转载,但需注明出处! [MinTao学以致用网]
      网友评论:(只显示最新10条。评论内容只代表网友观点,与本站立场无关!)

    同类栏目
    · C语言系列  · VB.NET程序
    · JAVA开发  · Delphi程序
    · 脚本语言
    更多内容
    热门推荐 更多内容
  • 没有教程
  • 赞助链接
    更多内容
    闵涛博文 更多关于武汉SEO的内容
    500 - 内部服务器错误。

    500 - 内部服务器错误。

    您查找的资源存在问题,因而无法显示。

    | 设为首页 |加入收藏 | 联系站长 | 友情链接 | 版权申明 | 广告服务
    MinTao学以致用网

    Copyright @ 2007-2012 敏韬网(敏而好学,文韬武略--MinTao.Net)(学习笔记) Inc All Rights Reserved.
    闵涛 投放广告、内容合作请Q我! E_mail:admin@mintao.net(欢迎提供学习资源)

    站长:MinTao ICP备案号:鄂ICP备11006601号-18

    闵涛站盟:医药大全-武穴网A打造BCD……
    咸宁网络警察报警平台