📄 189.htm
字号:
You do this by creating a Component Editor. One would think that a component ed <br>
itor would be something that is called from the popup menu but it actually contr <br>
ols what appears in the menu or rather the items that your component can add to <br>
the menu. <br>
<br>
The steps to follow are: <br>
<br>
1. Create a class that derives from TComponentEditor <br>
2. In your class override the method GetVerbCount, GetVerb, and ExecuteVerb. <br>
3. In your component's Register procedure add a call to RegisterComponentEditor <br>
that associates your component editor with your <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
When viewing the source for the VCL units, it's definitely a good idea to <br>
become comfortable with bookmarks in the editor. That is, Ctrl+Shift+N, <br>
when N is a number 0-9, to set a bookmark. Jump to a bookmark using Ctrl+N. <br>
<br>
2.6. How can I add to the popup menu that is displayed when the right mouse butt <br>
on is clicked on my component? <br>
<br>
You do this by creating a Component Editor. One would think that a component ed <br>
itor would be something that is called from the popup menu but it actually contr <br>
ols what appears in the menu or rather the items that your component can add to <br>
the menu. <br>
<br>
The steps to follow are: <br>
<br>
1. Create a class that derives from TComponentEditor <br>
2. In your class override the method GetVerbCount, GetVerb, and ExecuteVerb. <br>
3. In your component's Register procedure add a call to RegisterComponentEditor <br>
that associates your component editor with your <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
When viewing the source for the VCL units, it's definitely a good idea to <br>
become comfortable with bookmarks in the editor. That is, Ctrl+Shift+N, <br>
when N is a number 0-9, to set a bookmark. Jump to a bookmark using Ctrl+N. <br>
<br>
2.6. How can I add to the popup menu that is displayed when the right mouse butt <br>
on is clicked on my component? <br>
<br>
You do this by creating a Component Editor. One would think that a component ed <br>
itor would be something that is called from the popup menu but it actually contr <br>
ols what appears in the menu or rather the items that your component can add to <br>
the menu. <br>
<br>
The steps to follow are: <br>
<br>
1. Create a class that derives from TComponentEditor <br>
2. In your class override the method GetVerbCount, GetVerb, and ExecuteVerb. <br>
3. In your component's Register procedure add a call to RegisterComponentEditor <br>
that associates your component editor with your <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
When viewing the source for the VCL units, it's definitely a good idea to <br>
become comfortable with bookmarks in the editor. That is, Ctrl+Shift+N, <br>
when N is a number 0-9, to set a bookmark. Jump to a bookmark using Ctrl+N. <br>
<br>
2.6. How can I add to the popup menu that is displayed when the right mouse butt <br>
on is clicked on my component? <br>
<br>
You do this by creating a Component Editor. One would think that a component ed <br>
itor would be something that is called from the popup menu but it actually contr <br>
ols what appears in the menu or rather the items that your component can add to <br>
the menu. <br>
<br>
The steps to follow are: <br>
<br>
1. Create a class that derives from TComponentEditor <br>
2. In your class override the method GetVerbCount, GetVerb, and ExecuteVerb. <br>
3. In your component's Register procedure add a call to RegisterComponentEditor <br>
that associates your component editor with your <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
When viewing the source for the VCL units, it's definitely a good idea to <br>
become comfortable with bookmarks in the editor. That is, Ctrl+Shift+N, <br>
when N is a number 0-9, to set a bookmark. Jump to a bookmark using Ctrl+N. <br>
<br>
2.6. How can I add to the popup menu that is displayed when the right mouse butt <br>
on is clicked on my component? <br>
<br>
You do this by creating a Component Editor. One would think that a component ed <br>
itor would be something that is called from the popup menu but it actually contr <br>
ols what appears in the menu or rather the items that your component can add to <br>
the menu. <br>
<br>
The steps to follow are: <br>
<br>
1. Create a class that derives from TComponentEditor <br>
2. In your class override the method GetVerbCount, GetVerb, and ExecuteVerb. <br>
3. In your component's Register procedure add a call to RegisterComponentEditor <br>
that associates your component editor with your <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
When viewing the source for the VCL units, it's definitely a good idea to <br>
become comfortable with bookmarks in the editor. That is, Ctrl+Shift+N, <br>
when N is a number 0-9, to set a bookmark. Jump to a bookmark using Ctrl+N. <br>
<br>
2.6. How can I add to the popup menu that is displayed when the right mouse butt <br>
on is clicked on my component? <br>
<br>
You do this by creating a Component Editor. One would think that a component ed <br>
itor would be something that is called from the popup menu but it actually contr <br>
ols what appears in the menu or rather the items that your component can add to <br>
the menu. <br>
<br>
The steps to follow are: <br>
<br>
1. Create a class that derives from TComponentEditor <br>
2. In your class override the method GetVerbCount, GetVerb, and ExecuteVerb. <br>
3. In your component's Register procedure add a call to RegisterComponentEditor <br>
that associates your component editor with your <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
When viewing the source for the VCL units, it's definitely a good idea to <br>
become comfortable with bookmarks in the editor. That is, Ctrl+Shift+N, <br>
when N is a number 0-9, to set a bookmark. Jump to a bookmark using Ctrl+N. <br>
<br>
2.6. How can I add to the popup menu that is displayed when the right mouse butt <br>
on is clicked on my component? <br>
<br>
You do this by creating a Component Editor. One would think that a component ed <br>
itor would be something that is called from the popup menu but it actually contr <br>
ols what appears in the menu or rather the items that your component can add to <br>
the menu. <br>
<br>
The steps to follow are: <br>
<br>
1. Create a class that derives from TComponentEditor <br>
2. In your class override the method GetVerbCount, GetVerb, and ExecuteVerb. <br>
3. In your component's Register procedure add a call to RegisterComponentEditor <br>
that associates your component editor with your <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
When viewing the source for the VCL units, it's definitely a good idea to <br>
become comfortable with bookmarks in the editor. That is, Ctrl+Shift+N, <br>
when N is a number 0-9, to set a bookmark. Jump to a bookmark using Ctrl+N. <br>
<br>
2.6. How can I add to the popup menu that is displayed when the right mouse butt <br>
on is clicked on my component? <br>
<br>
You do this by creating a Component Editor. One would think that a component ed <br>
itor would be something that is called from the popup menu but it actually contr <br>
ols what appears in the menu or rather the items that your component can add to <br>
the menu. <br>
<br>
The steps to follow are: <br>
<br>
1. Create a class that derives from TComponentEditor <br>
2. In your class override the method GetVerbCount, GetVerb, and ExecuteVerb. <br>
3. In your component's Register procedure add a call to RegisterComponentEditor <br>
that associates your component editor with your <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
When viewing the source for the VCL units, it's definitely a good idea to <br>
become comfortable with bookmarks in the editor. That is, Ctrl+Shift+N, <br>
when N is a number 0-9, to set a bookmark. Jump to a bookmark using Ctrl+N. <br>
<br>
2.6. How can I add to the popup menu that is displayed when the right mouse butt <br>
on is clicked on my component? <br>
<br>
You do this by creating a Component Editor. One would think that a component ed <br>
itor would be something that is called from the popup menu but it actually contr <br>
ols what appears in the menu or rather the items that your component can add to <br>
the menu. <br>
<br>
The steps to follow are: <br>
<br>
1. Create a class that derives from TComponentEditor <br>
2. In your class override the method GetVerbCount, GetVerb, and ExecuteVerb. <br>
3. In your component's Register procedure add a call to RegisterComponentEditor <br>
that associates your component editor with your <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
When viewing the source for the VCL units, it's definitely a good idea to <br>
become comfortable with bookmarks in the editor. That is, Ctrl+Shift+N, <br>
when N is a number 0-9, to set a bookmark. Jump to a bookmark using Ctrl+N. <br>
<br>
2.6. How can I add to the popup menu that is displayed when the right mouse butt <br>
on is clicked on my component? <br>
<br>
You do this by creating a Component Editor. One would think that a component ed <br>
itor would be something that is called from the popup menu but it actually contr <br>
ols what appears in the menu or rather the items that your component can add to <br>
the menu. <br>
<br>
The steps to follow are: <br>
<br>
1. Create a class that derives from TComponentEditor <br>
2. In your class override the method GetVerbCount, GetVerb, and ExecuteVerb. <br>
3. In your component's Register procedure add a call to RegisterComponentEditor <br>
that associates your component editor with your <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
When viewing the source for the VCL units, it's definitely a good idea to <br>
become comfortable with bookmarks in the editor. That is, Ctrl+Shift+N, <br>
when N is a number 0-9, to set a bookmark. Jump to a bookmark using Ctrl+N. <br>
<br>
2.6. How can I add to the popup menu that is displayed when the right mouse butt <br>
on is clicked on my component? <br>
<br>
You do this by creating a Component Editor. One would think that a component ed <br>
itor would be something that is called from the popup menu but it actually contr <br>
ols what appears in the menu or rather the items that your component can add to <br>
the menu. <br>
<br>
The steps to follow are: <br>
<br>
1. Create a class that derives from TComponentEditor <br>
2. In your class override the method GetVerbCount, GetVerb, and ExecuteVerb. <br>
3. In your component's Register procedure add a call to RegisterComponentEditor <br>
that associates your component editor with your <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
When viewing the source for the VCL units, it's definitely a good idea to <br>
become comfortable with bookmarks in the editor. That is, Ctrl+Shift+N, <br>
when N is a number 0-9, to set a bookmark. Jump to a bookmark using Ctrl+N. <br>
<br>
2.6. How can I add to the popup menu that is displayed when the right mouse butt <br>
on is clicked on my component? <br>
<br>
You do this by creating a Component Editor. One would think that a component ed <br>
itor would be something that is called from the popup menu but it actually contr <br>
ols what appears in the menu or rather the items that your component can add to <br>
the menu. <br>
<br>
The steps to follow are: <br>
<br>
1. Create a class that derives from TComponentEditor <br>
2. In your class override the method GetVerbCount, GetVerb, and ExecuteVerb. <br>
3. In your component's Register procedure add a call to RegisterComponentEditor <br>
that associates your component editor with your <br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -