Close Button

Close Button

I want to program a button to close, exit or terminate my object. I think I looking for something like this, "object.close or object.exit", but I can't find it. Does anyone know the correct syntax to do this? Thanks.
3,501 views 2 replies
Reply #1 Top
You will actually need to create another widget that will act as the close button. Under "Object Type," select widget and choose "Widget Close" under the drop down menu below that.

-Mike
[Stardock Support]
Reply #2 Top
The object you define as the close button should be grouped into the widget group with any other objects that will be exported with the widget, as a rule. Also, the close button object won't work unless the project is exported and running as a widget or gadget.