Jump to content

Suppressing the Default OIP at creation

Recommended Posts

   kObjXPropShowPrefDialogWhen = 32;
    kCustomObjectPrefNever      = 0;
    kCustomObjectPrefAlways      = 1;
    kCustomObjectPrefNew         = 2;


blah blah blah...


in event loop 5:

    gFlag := SetObjPropCharVS(kObjXPropShowPrefDialogWhen, Chr(kCustomObjectPrefNever));


Link to comment

It works for me Sam and definitely needs to be in the kObjOnInitXProperties event (5). It's possible it also needs this:



    kObjXPropAcceptStates = 18;


    gFlag := SetObjPropVS(kObjXPropAcceptStates, TRUE); 


Also have you tried quitting and restarting Vw? I find this necessary sometimes even in developer mode.

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.

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