I am experimenting with saves using a list box, but I cannot seem to find how you set an event for 'line (double)clicked' in which it knows which line is clicked. Is this possible, if so can somebody help?
you can get the number of the selected line with the expression "Get selected line number" or ListBox.SelectedLine
+ ListBox: Double clicked
-> Text: Set text to ListBox.SelectedLine
This would set the textbox to the current line number selected by the double click.
Also how do you specify a new line whilst setting text, I was using '&Newline,' but that doesn't work?
With the "Add Line" action.
Please make sure, that you have read the wiki (e.g. List Box Object)
Also, if you right-click on an object in the object list tab, while layout editor is active, you can select "Object information" from the context menu, which lists all ACE that object has.
I don't quite understand... I have this set as the text when somebody double clicks their save:
"Game: [number]" &Newline, "Save-Date: [Save-Date]" &Newline, "Time Played: [Time Played]" but when this is triggered it only shows the top line. Add Line didn't seem to work.
Develop games in your browser. Powerful, performant & highly capable.
How to display data from database in listbox?