We are running into a strange problem with WinGrid. If a new Form is opened with in grid's BeforeExitEditMode event handler then instead of displaying the form it gets minimized to task bar. Here is an example code- an ultragrid is place in Form1
f.Show()
End Sub
We do not want to open Form2 as dialog form. Is this a bug in grid or there is any correct way of writing code?
thanks in advance,
Abhishek
I'm guessing here, but it's possible that since you're doing this in the BeforeExitEditMode event, there are focus-related issues coming into play here, and the grid/editor may be trying to maintain focus at this point. What are you trying to do in this event? It would seem to me that you would need to have a modal dialog if this new form is going to handle logic related to whether or not to exit edit mode.
-Matt