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
52
S
32
G
13
Posts: 241
Reputation: 11,831

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
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

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
52
S
32
G
13
Posts: 241
Reputation: 11,831

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
51
S
25
G
107
Posts: 1,581
Reputation: 60,458

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
52
S
32
G
13
Posts: 241
Reputation: 11,831


Return to How do I....?

Who is online

Users browsing this forum: David181, jorgmaquoi, unicornspitfire and 19 guests