> Adding property to the class you are editing is simple, but there must be a way to
> add a property to a control outside a class.
Regarding Proerties the others have answered. At Designtime you can only add to the class you modify. To modify a control within a form class you will need to modify the class of that control (what the property windows will show you as class property of that control). If that is equal to the baseclass you will need to replace that control with a class based on that baseclass control.
More general speaking: You can't add methods or properties to subobjects of a class in the class designer.
In the form designer - for SCX forms only - you can select a control or group of controls and save them as a class, which helps to make such class refactoring.
Bye, Olaf.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only