Trigger Button

BlitzMax Forums/BlitzMax Beginners Area/Trigger Button

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Put your code in a separate Function.

When you click a button, call the Function. When you want to run the same code without the user pressing the button, call the same Function.