Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Publish properties of owned classes
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Karin Schmidt  
View profile  
 More options Oct 28 1998, 3:00 am
Newsgroups: borland.public.cppbuilder.vcl
From: Karin Schmidt <schm...@cs.sun.ac.za>
Date: 1998/10/28
Subject: Publish properties of owned classes
Hi there,

I have written a component. This component owns a few classes and I try
to publish some properties of these owned classes. For this purpose I
derived these classes from TPersistent.
In my component class I have pointers to these owned classes but when I
try to publish them (like in the example pie) I get the
message                                        "Not an allowed type"

Does anybody know what's wrong???
Thanks in advance

Karin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Cashman  
View profile  
 More options Nov 2 1998, 3:00 am
Newsgroups: borland.public.cppbuilder.vcl
From: Mark Cashman <mcash...@ix.netcom.com>
Date: 1998/11/02
Subject: Re: Publish properties of owned classes
Karin -

There's more to publishing classes and properties than just deriving
them from TPersistent. If you define your classes based on classes
already known to the object inspector (i.e. TStringList, for instance or
TFont), it has no problem displaying the class. But otherwise you must
create a property editor for your class.

--
------
Mark Cashman, creator of The Temporal Doorway at
http://www.temporaldoorway.com
- Original digital art, writing, and more -
C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring
(Join us!)
http://www.temporaldoorway.com/workshop/software.htm
------


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Karin Schmidt  
View profile  
 More options Nov 4 1998, 3:00 am
Newsgroups: borland.public.cppbuilder.vcl
From: Karin Schmidt <schm...@cs.sun.ac.za>
Date: 1998/11/04
Subject: Re: Publish properties of owned classes
Hi!

I wrote a property editor for my class, but I had still the same problem
("not an allowed type"). A few hours later I solved this problem
accidently (it was a problem with one of my header files) and now it's
possible to publish the properties of the owned classes!!! (I have
another problem now, but that's another story)

Thank you for the hint with the property editor!!! It helped much!

Karin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Cashman  
View profile  
 More options Nov 6 1998, 3:00 am
Newsgroups: borland.public.cppbuilder.vcl
From: Mark Cashman <mcash...@ix.netcom.com>
Date: 1998/11/06
Subject: Re: Publish properties of owned classes
Glad to be of assistance.

--
------
Mark Cashman, creator of The Temporal Doorway at
http://www.temporaldoorway.com
- Original digital art, writing, and more -
C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring
(Join us!)
http://www.temporaldoorway.com/workshop/software.htm
------


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »