Alienhead Posted March 30, 2024 Share Posted March 30, 2024 ( LUA ) What's the proper way to remove/delete a Textlabel widget ( or any other widget ) from an interface? Or even better yet remove an unused interface completely ? Tried setting it to nil and removing references but no good. All my attempts at it have failed. Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Alienhead Posted April 1, 2024 Author Share Posted April 1, 2024 Seriously? Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Dreikblack Posted April 1, 2024 Share Posted April 1, 2024 I thought i got answer in discord already. SetParent(nil) and widgetVar = nil, if you kept it somewhere Quote Link to comment Share on other sites More sharing options...
Alienhead Posted April 1, 2024 Author Share Posted April 1, 2024 LUA dont allow SetParent(nil) on the widgets, tried that yesterday. Just errors out at runtime. Unreferenced widgetVar = nil never removes the widget. This seems to be something needing some attention I suppose. Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
SpiderPig Posted April 1, 2024 Share Posted April 1, 2024 I think it's a bug. Might pay to post a small example and bug report. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.