Jump to content
Developer Wiki and Function Reference Links ×

How to quit a VWDialog in a Direct Edit Event?


Stefan Bender

Recommended Posts

Dear developers,


There are requests to quit a VWDialog during  an ADD_LB_DIRECT_EDIT() event (i.e., when direct editing a list browser cell). The main idea is that if the user selects a custom SResource control (i.e. button button "New" or "Edit..." instead of selecting a resource) in a direct editable resource browser cell of a listbrowser, the dialog should close down and the user enters symbol edit mode.

We could do this in "normal" dialog events by setting the item to 0, but how is this possible in a direct edit event?

Or is there another way to force a dialog to quit? I tried CloseDialog(true), but no effect.

 

Thanks for any help,

Stefan Bender 

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