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 

DesignTime?

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





PostPosted: Tue Mar 06, 2007 9:11 am    Post subject: DesignTime? Reply with quote



Hi!
Is possible to put a condition to like "_DEBUG" to know if a custom VLC
Component is working at design time or at run time?

Thanx

Melk
Back to top
Giuliano
Guest





PostPosted: Tue Mar 06, 2007 3:12 pm    Post subject: Re: DesignTime? Reply with quote



Il Tue, 6 Mar 2007 08:46:06 +0100, "Melk" <NOSPAM_i_melk (AT) libero (DOT) it> ha
scritto:

Quote:
Is possible to put a condition to like "_DEBUG" to know if a custom VLC
Component is working at design time or at run time?

Hi Melk,

Maybe you would like to try to have a look at the
TComponent::ComponentState property. Such property has
a flag named csDesigning which states, literally, that
"The component is in a form being manipulated by the
form designer."

Regards

Giuliano
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.