TurboCAD Forums

The Ultimate Resource for TurboCAD Knowledge

Register
 
All posts discussing pricing or where to buy TurboCAD will be deleted.

How to show Regen object's programatically added properties in Selection Info Pa
Read 2123 times
* August 31, 2010, 09:57:11 AM
1) How to show Regen object's programatically added properties in Selection Info Palette?

How to display content in the Selection Info Palette that resembles the content displayed by the TcStair object?

So in which Regen Server's method should I "reveal" the programatically added properties, so that to be visible in the Selection Info Palette under the General, Pen, Brush and other groups of Stock properties?

Here?
(C# code)
Code: [Select]
public int GetPropertyInfo(out object Names, out object Types, out object IDs, out object Defaults)
{
          ...
}

Also,
2) a) create TcStair object.
b) right-click the object and select "Properties"
c) on the left notice that except for the Stock property pages - General, Pen, Brush, Text, Custom..., Other there are other custom pages that have custom controls in them. How to add custom tabs on the left in the Properties dialog such as "My Regen Object's Tab" and when the user clicks on it to display custom controls on the right?


Logged