[PLUGIN] Toggle Button

Post your completed addons to share with the community

Post » Mon Feb 06, 2012 11:04 am

Toggle Button
Version: 1.22 (21/01/2013)
Download ToggleButton.rar

Here is a plugin specially made for iOS app makers.
It let you add to your project the native toggle button from iOS 4- and iOS 5+.

A new category, which will regroups all the mobile plugin I've done/I'll do, named 'IPhone/Mobile'



PROPERTIES
- iOS Version : Choose the version of the iOS. The appearance of the button will be directly affected by this property.
- Status : Choose the default status of the toggle button at the start of the layout.
- z-Index : Let you place your toggle button on the top of some other elements.

ACTION
- Set status : Set the toggle button's status to 'On' or 'Off'.
- Switch status : Switch the toggle button's status.

CONDITION
- Toggle Button status : Test if the toggle button is on 'On' or 'Off' mode
Last edited by septeven on Tue Apr 25, 2017 2:46 pm, edited 2 times in total.
Passionate developer

If my work helped you to make your project, please consider making a donation :)
B
44
S
12
G
14
Posts: 631
Reputation: 10,987

Post » Mon Feb 06, 2012 11:22 am

Oh very nice. Also, not restricted to iPhone users, I've just tested in desktop FF and Chrome and this works pretty good !

Just a notice, you should maybe also add an action "Toggle status" to simply switch behind status, without having to keep track of which status the button is currently on.

Good job and a sweet suite you're making ^^
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
289
S
112
G
94
Posts: 7,333
Reputation: 69,293

Post » Mon Feb 06, 2012 11:36 am

Thanks Kyatric.
Yes you can use it on desktop browser (not on IE), but this button is typical looking like native iphone objects, so it may be less pertinent to use it on desktop computer.
[quote]Just a notice, you should maybe also add an action "Toggle status" to simply switch behind status, without having to keep track of which status the button is currently on.[/quote]
Do you mean, a switch action, that switch to 'On' when the button is 'Off' and vice versa ?septeven2012-02-06 11:36:19
Passionate developer

If my work helped you to make your project, please consider making a donation :)
B
44
S
12
G
14
Posts: 631
Reputation: 10,987

Post » Mon Feb 06, 2012 12:02 pm

@Kyatric Hopefully your request was what I understood because I added it.

Changelog v. 1.1
ADD - Switch toggle status action.
Passionate developer

If my work helped you to make your project, please consider making a donation :)
B
44
S
12
G
14
Posts: 631
Reputation: 10,987

Post » Mon Feb 06, 2012 12:17 pm

Nice
B
21
S
6
G
8
Posts: 1,215
Reputation: 7,881

Post » Mon Feb 06, 2012 12:38 pm

yeah the toggle status action is exactly what I meant.
Good job !
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
289
S
112
G
94
Posts: 7,333
Reputation: 69,293

Post » Mon Feb 06, 2012 10:28 pm

I noticed the other plugins in the IOS cat there are those just there for display or are you actually developing them?
B
30
S
13
G
7
Posts: 740
Reputation: 8,044

Post » Mon Feb 06, 2012 11:07 pm

@smitchell they are in-development and not ready for a public release
Passionate developer

If my work helped you to make your project, please consider making a donation :)
B
44
S
12
G
14
Posts: 631
Reputation: 10,987

Post » Mon Feb 06, 2012 11:18 pm

Cool!

Your dialog box plugin already gives native alerts.. Does your IOS dialog box do anything different?
B
30
S
13
G
7
Posts: 740
Reputation: 8,044

Post » Mon Feb 06, 2012 11:24 pm

@smitchell
My actual dialog plugin opens browser default dialogs (with the name of the page as title).
This one simulates native iOs dialogs (you can set titles, content, button titles, input, textarea, etc...)
I'm also working on an id system which let you store more of one information (input entries, clicked buttons, etc.).septeven2012-02-06 23:24:50
Passionate developer

If my work helped you to make your project, please consider making a donation :)
B
44
S
12
G
14
Posts: 631
Reputation: 10,987

Next

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 1 guest