Alienhead Posted March 30, 2024 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 Alienhead Components and Software
Alienhead Posted April 1, 2024 Author Posted April 1, 2024 Seriously? Quote Alienhead Components and Software
Dreikblack Posted April 1, 2024 Posted April 1, 2024 I thought i got answer in discord already. SetParent(nil) and widgetVar = nil, if you kept it somewhere Quote
Alienhead Posted April 1, 2024 Author 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 Alienhead Components and Software
SpiderPig Posted April 1, 2024 Posted April 1, 2024 I think it's a bug. Might pay to post a small example and bug report. 1 Quote
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.