I am successfully inserting items into a listview but when I try to modify the item individually to change the border individually for that item, I don’t seem to have access.
I’ve tried: validate, cast, and creating a variable, but I don’t seem to have access.
Blueprint Runtime Error: “Accessed None trying to read property V_Border”. Node: Set Brush Color Graph: EventGraph Function: Execute Ubergraph BP Character Creation Blueprint: BP_CharacterCreation
Need to see what “Construct BP Item Frame Character” does.
Right out of the gate I can tell you that if you don’t have an initialized instance of a class you won’t be able to change anything. It doesn’t exist, thus Access None, Always Invalid etc.
Thank you so much. I needed how to pass the parameters. I thought I could directly, but no. I need an intermediary (object or structure) and each time the ADD is called, it calls the interface, which is where I must pass the parameters.
Thank you so much.
That’s not how list view works. You push the data into the object via exposed parameters:
And have the interface in the widget pull that data from the object and set its own elements. Example:
If you ever want to manipulate widget’s data associated with its list view object while a widget is instantiated, manipulate the object itself and have the list refresh active widget instances:
It’s how I did it.
I don’t like anything in the construct that is of type expose on spawn, I prefer to have different methods of the object to do different things. I find it more modular to have the object and have different functions for different purposes.
But that is personal opinion.
But you can also have it all at expose on Spawn.
Thanks for the pointer on manipulating the widget data associated with your listview object while instantiating it.