Jump to content
Developer Wiki and Function Reference Links ×

Deleting Layout Items


Gonda

Recommended Posts

Hi All,

Is it possible to remove/delete items from a Layout? i.e. Pressing an "Add" button adds a text entry box and pressing "Remove" deletes a text entry box.

I've found plenty of functions for creating, moving, editing, etc, but none for deleting which seems odd. My issue is that I need to create a Layout/Dialog that is dynamically generated so prearranging everything and just showing/hiding items will not work.

Cheers,

-gonda

Link to comment
  • Vectorworks, Inc Employee

There is no way to add or remove elements once the dialog is created.

The way most dialogs accomplish this is by closing the exiting dialog and creating a new one with the added control and repopulating with the existing user data.

This makes the dialog blink but accomplished the desired workflow.

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...