I am building a list using a CJGRID in a ModalPanel. I need list to display when the dialog is activated and then using a YesNo_Box ask the user approve list. If they say no then just exit the panel.

When I used the Activating procedure in the CJGRID the user prompt came up before the list was displayed even though I had already initialized it. I moved it to the OnSetFocus and it works great.

However, When I send a Close_Panel (or try to exit the panel any other way it crashes.

Is there a better way (I am sure I am doing wrong)?