Switch and Toggle Button Extension

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi,

    Just finalized Switch and Toggle button extension, this little extension is addition to missing views on android exporter.

    Will release it quickly after demo;

    Ok now it's ready , example mfa is included

    Installation : As allways copy .mfx file to Extensions/Unicode drawer and .zip file to Android drawer;

    Look carefully the example MFA events when button is initialized eg:
    You must set button type at the begining of frame like set type to 0 or 1 ; 0 mean switch button and 1 toggle button.
    Tryed to make 2 extensions in one hope it's working for you. The order of events is important.

    Please login to see this attachment.


    Regards

  • Hi,

    Regards

    I tested it. Although, it seems very complex and doesn't show when running in fusion as a button to test with. Works fine on Android though.
    However for me, I like being able to test the buttons in fusion before porting to android.

    Here is how I make switches. Both Rocker and Single Touch
    Please login to see this attachment.
    LINK to .mfa: Please login to see this link.

    Edited 3 times, last by VBEinc (January 29, 2023 at 3:46 PM).

  • I tested it. Although, it seems very complex and doesn't show when running in fusion as a button to test with. Works fine on Android though.
    However for me, I like being able to test the buttons in fusion before porting to android.

    Here is how I make switches. Both Rocker and Single Touch
    Please login to see this attachment.
    LINK to .mfa: Please login to see this link.

    Sure , the edittime part not coded on C++ , for this reason you can just see the rectangle on editor, but when you build to android you can see the result
    on execution of the application.

    I will separate this extension to one for toggle button and the second for switch button, like that no confusion on the initialization of buttons.

    Regards

  • Sure , the edittime part not coded on C++ , for this reason you can just see the rectangle on editor, but when you build to android you can see the result
    on execution of the application.

    I will separate this extension to one for toggle button and the second for switch button, like that no confusion on the initialization of buttons.

    Regards

    Nice work bud!

    Definitely a cool addition!

    Something I thought would be pretty cool for Fusion would be a Active Button.
    Basically, you could use the ( CLICK ON OBJECT ) but with a twist. 50% would be one direction and 50% would be the other.
    Then the user could simply add their graphics to the object. Resize as needed and Half would be ON and the other OFF ( Determined in the editor - top / bottom or left / right ).
    Basically making ZONES within an object!

    Edited 3 times, last by VBEinc (January 29, 2023 at 6:43 PM).

  • Hi,

    The two extension is now separated this mean Switchbutton and Togglebutton and now updated with the common
    features for toggle button event list :

    Please login to see this attachment.

    event list for switchbutton is exactly the same..

    .mfa examples are included for both extension.. Tested with S21 build with API 33 min 4.4 kit-kat and target level12 (S)

    Regards

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!