![]() |
Issues bringing Gui Image Control to front
1 Attachment(s)
I'm showing up an image to close a GUI, but it doesn't work straight off the bat. If you update the weapon, or toggle the gui control a different way to close, then open it, then this img will close. This makes no sense to me why it wont work initially....
The img ctrl is attached b/c it wouldnt let me post it. Again, if the weapon is updated, then this works to close. If I click the icon to open the gui control this is in to toggle to close then open again, it works. It's only initially it will not work at all.... |
Try wrapping it in a GUIControl and use bringtofront(); or just try using bringtofront();
I.e. PHP Code:
|
I meant to put in OP that it is in a gui control already with other images in that same gui control. Sorry about that. Tried doing another gui control for just the image though like above, and it does the same thing.
Have also already tried bringtofront(); |
It seems the getparent() was causing some problem. Taking it out made it work fine.
|
| All times are GMT +2. The time now is 10:00 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.