BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MyComponent should not cut & copy to clipboard

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development)
View previous topic :: View next topic  
Author Message
Jialing
Guest





PostPosted: Wed Sep 03, 2003 4:59 am    Post subject: MyComponent should not cut & copy to clipboard Reply with quote




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





PostPosted: Wed Sep 03, 2003 5:29 am    Post subject: Re: MyComponent should not cut & copy to clipboard Reply with quote




"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





PostPosted: Wed Sep 03, 2003 5:41 am    Post subject: Re: MyComponent should not cut & copy to clipboard Reply with quote




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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.