ASPiK SDK
Loading...
Searching...
No Matches
Extended KickButton and TextButton

The CKickButton and CTextButton (in KickButton mode) have a behavior that you might want to change. In VSTGUI4, "KickButton" refers to a momentary on/off switch. The default behavior is to generate two mouse-click messages, one when the button is pressed, and the other when it is released. You might want to only have mouse click messages on one of the two events, for example on mouse-down only.

For any CKickButton object, you may apply one of the following custom-view values in the GUI Designer:

CustomKickButtonDU - issues mouse click messages on both mouse-Down and mouse-Up events (same as default valueChanged)
CustomKickButtonD - issues mouse click messages on mouse-Down event only
CustomKickButton - issues mouse click messages on mouse-Up event only

For any CTextButton object that you have set for Kick Button mode, you may apply one of the following custom-view values in the GUI Designer:

CustomTextButtonDU - issues mouse click messages on both mouse-Down and mouse-Up events (same as default valueChanged)
CustomTextButtonD - issues mouse click messages on mouse-Down event only
CustomTextButtonU - issues mouse click messages on mouse-Up event only