Topic
  • 3 replies
  • Latest Post - ‏2013-10-31T14:06:31Z by pommCannelle
sakthiraj
sakthiraj
1 Post

Pinned topic Problem in dialog

‏2013-10-29T10:40:30Z |

Hello All,

I am developing a script which involves UI. I need to show some error message boxes. But the problem is after showing the message the execution stopped. Also after a sucessful execution the main UI closes automatically. How to avoid this?

 

I want my UI closed only when I press the default closing button

 

Updated on 2013-10-29T10:41:44Z at 2013-10-29T10:41:44Z by sakthiraj
  • Tony_Goodman
    Tony_Goodman
    270 Posts

    Re: Problem in dialog

    ‏2013-10-29T11:08:16Z  

    I guess that you are using an ok button on your dialog. ok buttons close the dialog on completion.

    You can use an apply button instead. These leave the dialog open after executing their callback.

    See ok() and apply() perms in the help.

  • llandale
    llandale
    3035 Posts

    Re: Problem in dialog

    ‏2013-10-29T18:50:44Z  

    I guess that you are using an ok button on your dialog. ok buttons close the dialog on completion.

    You can use an apply button instead. These leave the dialog open after executing their callback.

    See ok() and apply() perms in the help.

    Also, if the main dialog is "block"d then it disallows other interaction of DOORS.  When it is "show"n the you can see the dialog and still interact with other DOORS windows such as the module.

  • pommCannelle
    pommCannelle
    91 Posts

    Re: Problem in dialog

    ‏2013-10-31T14:06:31Z  

    ( or your code is followig a "show" perm ... post your code, i'm sure someone will help you o;) )

    Updated on 2013-10-31T14:07:21Z at 2013-10-31T14:07:21Z by pommCannelle