VCOM:VectorWorks:ISDK::AddButtonMode

From Vectorworks Developer
Jump to navigation Jump to search

.SDK|SDK ..SDK:Types|SDK Types ..VCOM:VCOM (Vectorworks Component Object Model)|VCOM Basics ..VCOM:Class Reference|VCOM Class Reference

Description

namespace VectorWorks

Member of VCOM:VectorWorks:ISDK

Parameters changed in Vectorworks 2012.

Places a pushButton in the modeBar. PushButtons are used in MiniCad for preferences buttons. Response to Button events when tool definition function receives the kToolDoModeEvent action with message1 equal to the GroupNumber of the button.

virtual void AddButtonMode(
const TXString& iconSpec)

Parameters

const SDK:TXString& iconSpec The PNG image found in a VWR file that should be used for the button's icon.

Version

Availability: from Vectorworks 2009

Parameters changed in Vectorworks 2012.