News:

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

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

How to show Regen object's programatically added properties in Selection Info Pa

Started by CaraVani0, August 31, 2010, 09:57:11 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

CaraVani0

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)
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?