| View previous topic :: View next topic |
| Author |
Message |
Jialing Guest
|
Posted: Wed Sep 03, 2003 4:59 am Post subject: MyComponent should not cut & copy to clipboard |
|
|
Hi & Thanks Previously
I derived my component from TCustomPanel and also derived a class
from TDefaultEditor to controlling clipboard commands.
I override Copy method in MyComponentEditor as below
void __fastcall TMyComponentEditor::Copy(void)
{
}
But it is also cut & copied to clipboard.
|
|
| Back to top |
|
 |
Remy Lebeau (TeamB) Guest
|
Posted: Wed Sep 03, 2003 5:29 am Post subject: Re: MyComponent should not cut & copy to clipboard |
|
|
"Jialing" <Jialing (AT) yaho (DOT) com> wrote
| Quote: | I derived my component from TCustomPanel and also
derived a class from TDefaultEditor to controlling clipboard
commands. I override Copy method in MyComponentEditor
as below
void __fastcall TMyComponentEditor::Copy(void)
{
}
But it is also cut & copied to clipboard.
|
And your actual question is...?
Gambit
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system ([url]http://www.grisoft.com)[/url].
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
|
|
| Back to top |
|
 |
jialing Guest
|
Posted: Wed Sep 03, 2003 5:41 am Post subject: Re: MyComponent should not cut & copy to clipboard |
|
|
I will not copy and cut my component.
I want do same as TTabSheet.
How can I disable Copy and cut of mycomponent to clipboard?
|
|
| Back to top |
|
 |
|