C++Builder中函數和快捷鍵的問題? (50分)

  • 主题发起人 主题发起人 stuwe
  • 开始时间 开始时间
S

stuwe

Unregistered / Unconfirmed
GUEST, unregistred user!
1.在C++Builder中有沒有像Delphi那樣"Ctrl+Shift+C"這樣的快捷鍵
2.還有那些快捷鍵?(加以說明功能)
3:創建函數怎么樣做才寫最少的代碼??
 
还是看C++builder自己的帮助吧
在索引里输入shortcut,一大堆。
 
ALT + [
这是C++Builder有而Delphi没有的,寻找匹配大括号
for(;;)
{
//do
something
}
 
還有沒有???
 
菜单 后面对应的 呵呵
 
to﹕Cardinal
后面對應的就不用說了
 
to:cwmdelpher
這些好像我也知道

我要的不是這些﹐我要的是在菜單里面查不到的
 
这里有delphi的 不知道和c++Builder能不能对应起来:
1.SHIFT+鼠标左键 先选中任一控,按键后可选中窗体
2.Shift+F8 调试时弹出CPU窗口。
3.Shift+F10 等于鼠标右键(Windows快捷键)。
4.****f+箭头 选择
5.shift +F12 快速查找窗体并打开
6.F7 (步进式调试同时追踪进入子过程)
7.F8 (步进式调试不进入子过程)
8.F9 运行
9.F12 切换EDITOR,FORM
10.Alt+F4 关闭所有编辑框中打开的源程序文件,但不关闭项目。
11.ALT+鼠标左键 可以块选代码,删除对齐的重复代码非常有用。
12.Ctrl+F9 编译
13.Ctrl+shift+N(n=1,2,3,4......) 定义书签
14.Ctrl+n(n=1,2,3,4......)跳到书签n
15.CTRL +SHIFT+N 在书签N处,再按一次 取消书签:
16.Ctrl+PageUp 将光标移至本屏的第一行,屏幕不滚动。
17.Ctrl+PageDown 将光标移至本屏的最后一行,屏幕不滚动。
18.Ctrl+↓ 向下滚动屏幕,光标跟随滚动不出本屏。
19.Ctrl+↑ 向上滚动屏幕,光标跟随滚动不出本屏。
20.Ctrl+Home 将光标移至文件头。
21.Ctrl+End 将光标移至文件尾。
22.Ctrl+B Buffer List窗口。
23.Ctrl+I 同Tab键。
24.CTRL+J (弹出Delphi语句提示窗口,选择所需语句将自动完成一条语句。)代码模板
25.Ctrl+M 同Enter键。
26.Ctrl+N 同Enter键,但光标位置保持不变。
27.Ctrl+T 删除光标右边的一个单词。
28.Ctrl+Y 删除光标所在行。
29.CTRL+C 复制
30.CTRL+V 粘贴
31.CTRL+X 剪切
32.CTRL+Z 还原(Undo)
33.CTRL+S 保存
34.Ctrl+F 查找
35.Ctrl+L 继续查找
36.Ctrl+r 替换
37.CTRL+ENTER 定位到单元文件
38.Ctrl+F3 Call Stack窗口。
39.Ctrl+F4 等于File菜单中的Close项。
40.Ctrl+Backspace 后退删除一个词。好像是到 . 为止。
41.Ctrl+鼠标转轮 加速滚屏。
42.Ctrl+O+U 将选中的整块代码都转为小写或大写
41.Ctrl+Shift+G 插入GUID。
42.Ctrl+Shift+T 在光标行加入To-Do注释。
43.Ctrl+Shift+Y 删除光标之后至本行末尾之间的文本。
44.CTRL+SHIFT+C 编写申明或者补上函数.
45.CTRL+SHIFT+E 显示 EXPLORER ,我觉的这个比较好
46.CTRL+SHIFT+U 代码整块移动(左移)
47.CTRL+SHIFT+I 代码整块移动(右移)
48.CTRL+SHIFT+↑ 在过程、函数、事件内部, 可跳跃到相应的过程、函数、事件的定义
49.CTRL+SHIFT+↓ 在过程、函数、事件的定义处, 可跳跃到具体过程、函数、事件内部
50.Ctrl+Alt+c 注释块
51.Ctrl+Alt+u 取消注释块
52.Ctrl+Alt+h 生成头(更详细的设置在GExperts配置的Editor Experts属性页)












 
CTRL+SHIFT+C 编写申明或者补上函数.
CTRL+SHIFT+↑ 在过程、函数、事件内部, 可跳跃到相应的过程、函数、事件的定义
CTRL+SHIFT+↓ 在过程、函数、事件的定义处, 可跳跃到具体过程、函数、事件内部
類似于上面這几個
 
44.CTRL+SHIFT+C 编写申明或者补上函数.
BCB中有这个吗?DELPHI才有吧?
 
to:xzh2000
是的﹐Delphi中才有﹐但我想知道C++Builder中有那個快捷鍵跟Delphi中
這些快捷鍵對應
 
还没结束啊?[:D]
其实,大部分和Delphi都一样!
再给你两个特殊的。[:D]
===============================================================================
选中一些文本,按Ctrl+O+U(保持Ctrl按下,先按O,再按U),将改变选中文本的大小写。
Ctrl+K+E将选中文本全部变成小写;Ctrl+K+F变成全部大写。
文本选择的块列转换:
我们知道按Shift+光标可以按行选择文本,你用Alt+Shift+光标 移动看看?:)
 
来自:stuwe, 时间:2003-4-12 17:09:00, ID:1763109 | 编辑
CTRL+SHIFT+C 编写申明或者补上函数.
CTRL+SHIFT+↑ 在过程、函数、事件内部, 可跳跃到相应的过程、函数、事件的定义
CTRL+SHIFT+↓ 在过程、函数、事件的定义处, 可跳跃到具体过程、函数、事件内部

我主要是想知道c++builder里面有沒有跟delphi里面以上的快捷鍵對應
 
stuwe:
>>我主要是想知道c++builder里面有沒有跟delphi里面以上的快捷鍵對應
好像没有。就象“ALT + [”这个快捷键,C++Builder有,而Delphi中没有一样,按我们想,
Delphi中应该用“ALT + [”实现begin
...end;
配对的查找,但确实没有!
如果哪位朋友给出你上面要找的那三个快捷键,我出500分!
 
只要實現相同的功能
 
看是沒有對應的快捷鍵可用了
順便問一下﹐創建函數怎么樣才能寫最少代碼?
 
These editor keyboard shortcuts apply to the Default keystroke mapping scheme.
Shortcut Action or command
F1 Help|Topic Search
Ctrl+F1 Help|Topic Search
F3 Search|Search Again
Ctrl+E Search|Incremental Search
Ctrl+F Search|Find
Ctrl+I Inserts a tab character
Ctrl+j Templates pop-up menu
Ctrl+N Inserts a new line
Ctrl+P Causes next character to be interpreted as an ASCII sequence
Ctrl+R Search|Replace
Ctrl+S File|Save
Ctrl+T Deletes a word
Ctrl+Y Deletes a line
Ctrl+Z Edit|Undo
Ctrl+<space bar> Code Completion pop-up window
Ctrl+Shift+I Indents block
Ctrl+Shift+U Outdents block
Ctrl+Shift+Y Deletes to the end of a line
Ctrl+Shift+Z Edit|Redo
Ctrl+Shift+<space bar> Code Parameters pop-up window
Alt+[ Finds the matching delimiter (forward)
Alt+] Finds the matching delimiter (backward)
End Moves to the end of a line
Home Moves to the start of a line
Enter Inserts a carriage return
Ins Turns insert mode on/off
Del Deletes the character to the right of the cursor
Backspace Deletes the character to the left of the cursor
Tab Inserts a tab
Space Inserts a blank space
Left Arrow Moves the cursor left one column, accounting for the autoindent setting
Right Arrow Moves the cursor right one column, accounting for the autoindent setting
Up Arrow Moves up one line
Down Arrow Movesdo
wn one line
Page Up Moves up one page
Pagedo
wn Movesdo
wn one page
Ctrl+Left Arrow Moves one word left
Ctrl+Right Arrow Moves one word right
Ctrl+Tab Moves to the next code page (or file)
Ctrl+Shift+Tab Moves to the previous code page (or file)
Ctrl+Backspace Deletes the word to the right of the cursor
Ctrl+Home Moves to the top of a file
Ctrl+End Moves to the end of a file
Ctrl+Del Deletes a currently selected block
Ctrl+Space Inserts a blank space
Ctrl+PgDn Moves to the bottom of a screen
Ctrl+PgUp Moves to the top of a screen
Ctrl+Up Arrow Scrolls up one line
Ctrl+Down Arrow Scrollsdo
wn one line
Ctrl+Enter Opens file at cursor
Shift+Tab Moves the cursor to the left one tab position
Shift+Backspace Deletes the character to the left of the cursor
Shift+Left Arrow Selects the character to the left of the cursor
Shift+Right Arrow Selects the character to the right of the cursor
Shift+Up Arrow Moves the cursor up one line and selects from the left of the starting cursor position
Shift+Down Arrow Moves the cursordo
wn one line and selects from the right of the starting cursor position
Shift+PgUp Moves the cursor up one screen and selects from the left of the starting cursor position
Shift+PgDn Moves the cursordo
wn one line and selects from the right of the starting cursor position
Shift+End Selects from the cursor position to the end of the current line
Shift+Home Selects from the cursor position to the start of the current line
Shift+Space Inserts a blank space
Shift+Enter Inserts a new line with a carriage return
Ctrl+Shift+Left Arrow Selects the word to the left of the cursor
Ctrl+Shift+Right Arrow Selects the word to the right of the cursor
Ctrl+Shift+Home Selects from the cursor position to the start of the current file
Ctrl+Shift+End Selects from the cursor position to the end of the current file
Ctrl+Shift+PgDn Selects from the cursor position to the bottom of the screen
Ctrl+Shift+PgUp Selects from the cursor position to the top of the screen
Ctrl+Shift+Tab Moves to the previous page
Shift+Alt+arrow Selects column-oriented blocks
Click+Alt+mousemove Selects column-oriented blocks
Ctrl+O+C Turns on column blocking
Ctrl+O+K Turns off column blocking
Alt+Backspace Edit|Undo
Alt+Shift+Backspace Edit|Redo
Alt+Shift+Left Arrow Selects the column to the left of the cursor
Alt+Shift+Right Arrow Selects the column to the right of the cursor
Alt+Shift+Up Arrow Moves the cursor up one line and selects the column from the left of the starting cursor position
Alt+Shift+Down Arrow Moves the cursordo
wn one line and selects the column from the left of the starting cursor position
Alt+Shift+Page Up Moves the cursor up one screen and selects the column from the left of the starting cursor position
Alt+Shift+Pagedo
wn Moves the cursordo
wn one line and selects the column from the right of the starting cursor position
Alt+Shift+End Selects the column from the cursor position to the end of the current line
Alt+Shift+Home Selects the column from the cursor position to the start of the current line
Ctrl+Alt+Shift+Left Arrow Selects the column to the left of the cursor
Ctrl+Alt+Shift+Right Arrow Selects the column to the right of the cursor
Ctrl+Alt+Shift+Home Selects the column from the cursor position to the start of the current file
Ctrl+Alt+Shift+End Selects the column from the cursor position to the end of the current file
Ctrl+Alt+Shift+Page Up Selects the column from the cursor position to the bottom of the screen
Ctrl+Alt+Shift+Pagedo
wn Selects the column from the cursor position to the top of the screen
 
后退
顶部