Can i write an extra item to listbox plugin?

Get help using Construct 2

Post » Tue Jan 31, 2017 8:42 pm

Hey guys! I use a listbox.. So my listbox has 3 items:

Code: Select all
Today
Car
Hello

All good, when i run my project need to use 1 of 3 (or multiple). Ok! So my question:
Can i click on listbox, and write a new item? Like a textbox.. Thanks!
B
55
S
35
G
16
Posts: 231
Reputation: 13,714

Post » Tue Jan 31, 2017 10:07 pm

You can add a list item to a list box, but you'll need to do so from another seperate element like a text box.
Mistakes were made.
B
53
S
27
G
114
Posts: 1,699
Reputation: 64,446

Post » Wed Feb 01, 2017 7:10 am

Thanks for your reply! Yes i imagine that.. but i thought there is another way, listbox to give me rights to write on it when i run my project. :roll:
B
55
S
35
G
16
Posts: 231
Reputation: 13,714

Post » Wed Feb 01, 2017 9:10 am

There might a way to simulate it... just had an idea, didn't try it myself.

Your list box can have a blank item. Have an event, when you select the blank item, to set focused a text box (invisible, or maybe overlapping the list). Upon finishing, add the textbox.text to a new list item.
Mistakes were made.
B
53
S
27
G
114
Posts: 1,699
Reputation: 64,446

Post » Wed Feb 01, 2017 11:27 am

Yes i thought an idea like this but it's a bit complex.. But i will try. Thanks again!
B
55
S
35
G
16
Posts: 231
Reputation: 13,714


Return to How do I....?

Who is online

Users browsing this forum: DiegoSanudoDT, R0J0hound and 10 guests