It is possible to create your own custom component. However, there is no way to add new line styles to the toolbar. It is embedded too deep in the toolbar code. You can provide an alternate UI for you user to set the property by overriding the CreatePopupMenu method of the component. Here is an example where you can create a custom shape that expands the pen settings to be settable by an end user in a simple demo:
Comments
to add new line styles to the toolbar. It is embedded too deep in the
toolbar code. You can provide an alternate UI for you user to set the
property by overriding the CreatePopupMenu method of the component. Here is
an example where you can create a custom shape that expands the pen settings
to be settable by an end user in a simple demo:
http://www.digital-metaphors.com/tips/SetShapePen.zip
Here is a tip that allows you to define the corner rounding:
http://www.digital-metaphors.com/tips/SetShapeCornerRound.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com