Jump to content
Developer Wiki and Function Reference Links ×

An object deleting itself


Recommended Posts

The only way an object is getting deleted is if either it or the class it belongs to is deleted. If the class is being deleted, you have the option to move all objects in the class to another class of your choice or delete those objects.

Link to comment

Aha! because it's a bom.

just kidding. lol.

because I want to make kind of menucommand but like a tool.

But with tools, you'll need to click somewhere in the drawing before the code is run.

For objects, you can use events to do something directly after clicking its icon. But after all the commands are done, I want to quit the code and not waiting for user input.

Link to comment

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...