By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,346 Members | 2,158 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,346 IT Pros & Developers. It's quick & easy.

Opening response window automatically from another window

P: n/a
I have a 'quickadd' type window for doing quick data entry. The window is
launch from a MDI child and is suppose to be a re-sizable popup/child
window. This is an excel type datagrid for doing quick edits. I also have
a quick add detail window that I want to popup to quickly enter the details.
This window has an Copy & Add feature that basically lets the user enter
lots of data and copies common data over from the previous row.

The idea was that I would popup this quick edit excel type window and
instantly popup the detail window. The data is shared between the two but
the quick add detail window only shows the current row. As the user hits
the Copy & Add button the row is basically copied to the large grid window.
When the user is done quick-adding they can close the response window and do
any edits. Closing that window saves the data.

My problem is I can't seem to get the quick add window to open on top of the
large edit window. It basically never draws itself until I close the quick
add. All my funtionality with the data works fine, I just can't see both
windows at once. I am opening my windows as such:

Create WinQuickEdit (pass some logic)

Load Event fires and calls AddMethod
Create WinQuickAdd (pass some logic)
WinQuickAdd.ShowDialog( this ); --> at this point
I see the winQuickAdd


WinQuickAdd.Close(); --> at this point I
see the winQuickEdit with 2 new rows.

Any ideas? I have tried playing with the Show and ShowDialog and onTop
properties but can't seem to get it to work the way I would like.

Nov 16 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.