Jump to content
Developer Wiki and Function Reference Links ×

Events: Edit- Double Click


Assembly

Recommended Posts

How does one enable double click editing for event enabled objects?.

VectorLab says:

Edit Object

If this property is enabled, one of four behaviors can be specified for this event. The default edit behavior can be invoked. For path objects, this is the Edit Group behavior. For other object types, the dialog saying "The selected object has no edit behavior." will be displayed.

A custom edit behavior can be defined. In this case, the edit action will raise the kObjXPropSpecialEdit event, which can be handled in the object's event loop. Typically this is used to display a dialog into which the user can enter parameter values, and which would typically be the same dialog the user sees in the Preferences event.

I've had a good go with both example 4 and 9, but am lost...

Am I correct in thinking there are four types of edit events?.

Is one of them the double click?

How do I enable the edit event and get the double click active in the event CASE.

Link to comment

I do not think you will find that file. The best source for the values is the SDK.

The following values I found in the VW2008 header file MiniCadHookIntf.h but this file may have changed in recent versions.

const ObjectPropID kObjXPropSpecialEdit = 3;

// kObjectSpecialEditPropertyID property values:

const unsigned char kObjXPropSpecialEditDefault = 0;

const unsigned char kObjXPropSpecialEditCustom = 1;

const unsigned char kObjXPropSpecialEditProperties = 2;

const unsigned char kObjXPropSpecialEditReshape = 3;

const ObjectEventID kObjOnSpecialEditID = 7;

const ObjectEventID kObjOnReshape = 9;

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