Widget handler: OnShow

Widget handlers < OnShow

DescriptionEdit

The OnShow event is called when a hidden frame is about to become visible on screen. Showing a frame that is already visible does not invoke the Onshow() event.

ArgumentsEdit

no known arguments

NotesEdit

When attempting to show an UI object by calling Region:Show() you should bear in mind that the UI object will only become visible if its parent is visible. OnShow will not be called if the object does not become visible.

Have a look at Handling UI Events for an explanation of event handling and some code examples.