[BEHAVIOR] Autocomplete

Post your completed addons to share with the community

Post » Thu Apr 16, 2015 2:07 am

If you like the BEHAVIOR , a little help is always welcome! Donate

Download Link : https://www.dropbox.com/sh/wihx4st3cozcsrw/AADfFeKERT_SpzB49TsAfu1ya?dl=0
Other HMMG Plugins : https://www.dropbox.com/sh/eyld20nrw3ersuy/AABNz84T_KdQGoYjHFsj2Y-8a?dl=0

Hey guys here is a new Behavior for TextBox , this behavior will allow you to show Suggests like in google search textbox

Functionality
Add the behavior to your Textbox , then with action add Suggests that's all :D

How to install :
Copy/Paste the Folder in the zip file to your behavior's directory
Close and re-open Construct 2 if it's opened


How to Use and Preview

Demo Add text and it's data in the right form then try to type the text in the left Textbox

Preview : Image

Preview Commande : Image


************** Properties **************
Suggestions Container CSS
Suggestion CSS
Selected suggestion CSS
Matched text CSS


************** Conditions **************
On Suggest Selected : Triggered when a Suggest is Selected.


************** Actions **************
Add a suggest : Add a suggest to the Textbox


************** Expressions **************
SelectedData : Return the last selected suggest's Data
SelectedText : Return the last selected suggest's Text



If you like the BEHAVIOR , a little help is always welcome! Donate
hope it's gonna be usefull for some of you

If any one have a probleme with the BEHAVIOR email me "hsmouadh@gmail.com" , i will reply at max 5 - 6 hours
B
28
S
9
G
9
Posts: 294
Reputation: 7,064

Post » Thu Apr 16, 2015 2:57 am

The link of demo might be broken.
B
108
S
26
G
251
Posts: 4,404
Reputation: 141,625

Post » Thu Apr 16, 2015 5:14 am

hey , it's working normal here is the Link : http://www.mouadhhsoumi.tk/programmation/construct%202/Autocomplete
B
28
S
9
G
9
Posts: 294
Reputation: 7,064

Post » Thu Apr 23, 2015 7:09 pm

Pretty cool, could be useful!
B
37
S
9
G
8
Posts: 541
Reputation: 8,554

Post » Fri Apr 24, 2015 9:16 pm

@hmmg

Just other day i was thinking how to make this!!! :)
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Fri Apr 24, 2015 9:22 pm

@xanxion hope that

@irina hihihiii here is it :p :p
B
28
S
9
G
9
Posts: 294
Reputation: 7,064

Post » Sun Jul 26, 2015 9:06 am

hey hmmg,

your plugins is really cool, it works well for the big major part,

if i can suggest some improvements,
i'm using XML to setup suggestions, and the informations inside it may contain duplicated answers,
should nice to have more property to compare if the string is already contained inside text suggestion.

also, i do'nt relate what is Data related to? i can let it blank and it's still working.

i have also tryed to modify th CSS in the properties panel, but the result looks always similar in the game.
there is also no way to define max height of the suggestion panel, wich may be usefull for design.
B
16
S
3
Posts: 104
Reputation: 1,404

Post » Tue Aug 04, 2015 8:36 pm

Demo is not working with newest Firefox.
B
8
S
2
Posts: 53
Reputation: 687

Post » Thu Aug 06, 2015 6:18 pm

@Edelplastic

I have the last version "39.0" it works perfectly
B
28
S
9
G
9
Posts: 294
Reputation: 7,064

Post » Mon Aug 17, 2015 12:49 pm

Hello hmmg, it's is possible to answer to blackant master, because i've a same problem. In input text with auto complete behaviour, i've change a different color in background. In game, the modifications is the same at begining.

Thanks for your answer.
B
7
S
1
Posts: 44
Reputation: 487

Next

Return to Completed Addons

Who is online

Users browsing this forum: No registered users and 0 guests