ClickTool

Published on March 22, 2022

🏷️ Tags: #extensions

A non-visible extension that detects clicks and long clicks for visible components that does not have the Click or LongClick events.

Made with Niotron IDE at https://ide.niotron.com.

For more information, please read this MIT App Inventor community post.

Current version: 3 Package name: com.gordonlu.clicktool.aix

πŸ“– Documentation

Event blocks

GotFocus - This event is fired when a registered component is focused.

Parameters: component = component

LostFocus - This event is fired when a registered component has losen focus.

Parameters: component = component

OnClick - This event is fired when a registered component is clicked.

Parameters: component = component

OnLongClick - This event is fired when a registered component is long clicked.

Parameters: component = component

Method block

PerformClick - Performs a click for the given component.

Parameters: component = component

PerformLongClick - Performs a long click for the given component.

Parameters: component = component

RegisterClick - Registers the component so that when the user clicks the component, it will fire the OnClick event.

Parameters: component = component

RegisterFocus - Registers the component so that when the user focuses or removes focus for the component, it will fire the respective event.

Parameters: component = component

RegisterLongClick - Registers the component so that when the user clicks the component, it will fire the OnLongClick event.

Parameters: component = component

UnregisterClick - Unregisters the component so that when it is clicked, the extension will not fire the OnClick event.

Parameters: component = component

UnregisterFocus - Unregisters the component so that when the user has focused or removed focus this component, it will not fire the respective event.

Parameters: component = component

UnregisterLongClick - Unregisters the component so that when it is clicked, the extension will not fire the OnLongClick event.

Parameters: component = component

Open Source

This extension's source code is open source in the official GitHub repository.

TERMS AND CONDITIONS

By downloading or sharing my extension, you agree to follow these terms and conditions.

  1. Have fun using the extension!

  2. This, along with the official GitHub repository and the official MIT App Inventor community post above, are the only authorized places to download this extension. As an organization, you are not allowed to host and advertize this extension on your website, document, tweet, blog, article or any software you made without my authorization. You are also reminded not to include a direct download link of this extension on your website without my permission. If you are interested in the actions listed above, please contact me via email. Do remember that if you violate term no. 2, AICODE has the right to flag your website, document, tweet, blog or article as a violation of copyright, or other legal actions will be taken. Please contact me if you find anyone do this.

However, you can copy the link of this webpage and share it to someone as a personal identity (not as an organization), or sharing it on these authorized forums: App Inventor, Kodular, Niotron, Appzard and Android Builder communities. The term organization includes schools, markets and app stores, companies and social groups. Thank you for your understanding.

Those organizations are authorized to advertize or host my extension:

  • Kodular admins

  • MIT App Inventor admins

  • Pura Vida Apps / Taifun Baer

  1. Selling this extension/product to anyone is not allowed unless authorized by AICODE.

  2. These terms and conditions are written and issued on December 20, 2021. AICODE has the total permission to edit these terms and conditions anytime.