Component: Button helper (Helpers)
From Flowcode Help
Jump to navigationJump to search| Author | Matrix Ltd |
| Version | 1.1 |
| Category | Helpers |
Contents
Button helper component
A button overlay that allows any object to behave like a button
Component Pack
FREE
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
| GetStateFor | |
| Returns true if the button is depressed, else false | |
| Target | |
| Return | |
| Clear | |
| Clears all objects from the lists This leaves no links for the button helper | |
| Return | |
| SetDisabledPos | |
| Sets the position of the released button | |
| PositionHandle | |
| A handle to the position of the depressed location | |
| Return | |
| SetEnabledPos | |
| Sets the position of the depressed button | |
| PositionHandle | |
| A handle to the position of the depressed location | |
| Return | |
| SetAxis | |
| Sets the movement axis as an Axis_... constant | |
| Axis | |
| Movement axis to set to, default 4 | |
| Return | |
| SetDisabledPosFor | |
| Sets the disabled position for an object | |
| Target | |
| Position | |
| Return | |
| GetTarget | |
| Gets the target handle the property links to | |
| Return | |
| GetState | |
| Returns true if the button is depressed, else false | |
| Return | |
| Register | |
| Adds the object to the list if not already there | |
| Target | |
| Return | |
| SetLatchingFor | |
| Sets whether the button is depressed when the mouse is released | |
| Target | |
| Enabled | |
| Return | |
| SetMode | |
| Sets the animation mode for the button | |
| Mode | |
| 0=User, 1=Up/Down, 2 = Lever | |
| Return | |
| SetEnabledPosFor | |
| Sets the enabled position for an object | |
| Target | |
| Position | |
| Return | |
| SetPivotPosFor | |
| Sets the position the lever rotates around for an object | |
| Target | |
| Position | |
| Return | |
| SetModeFor | |
| Sets the animation mode for the button | |
| Target | |
| The target object, 0 for 'set default' | |
| Mode | |
| 0=User, 1=Up/Down, 2 = Lever | |
| Return | |
| SetMovement | |
| Sets the movement in units or PI/16 steps for the button | |
| Move | |
| Movement to set to - default is 4 | |
| Return | |
| SetAxisFor | |
| Sets the movement axis as an Axis_... constant | |
| Target | |
| Axis | |
| Movement axis to set to, default 4 | |
| Return | |
| SetPivotPos | |
| Sets the position of the object the lever rotates around | |
| PositionHandle | |
| A handle to the position of the depressed location | |
| Return | |
| SetLatching | |
| Sets whether the button is depressed when the mouse is released | |
| Enabled | |
| Return | |
| Unregister | |
| Removes the object to the list if present | |
| Target | |
| Return | |
| SetMovementFor | |
| Sets the movement in units or PI/16 steps for the button | |
| Target | |
| Move | |
| Movement to set to, default 4 | |
| Return | |
Property reference
| Properties | |
| Host component | |
| Lever pivot | |
| Connections | |
| Simulations | |