| Forum |
|
|||||||
| Software Q&A Having trouble with software? Find solutions here |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
mekalodu
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,495
|
how do i do this. ======================================== And after i click a menu item in a MDI container i have made a form open inside the MDI container. on clicking a button in the new form or the MDI container i want a new form (maximised) to open in the same MDI Container and the previous form to close. the new Form always opens when i try but the previous form does not close. how do i implement this? Form2 newMDIChild1 = new Form2(); newMDIChild1.MdiParent = Form1(); newMDIChild1.Show(); is the command for opening new window in MDI container.....
__________________
mekalodu |
|
|
| Advertisements. Register and be a member of the community to get rid of them. | |
|
Advertisement
|
|
|
|
#4 (permalink) |
|
mekalodu
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,495
|
there is no unload option ...but the hide is working to some extent ......
----------------------------------------------- in COM+ using VC# component what sud i do and what code sud i write in the component to retrieve data from a database and display it in a MDI Child Form in a datagrid. plz tell me the code also.
__________________
mekalodu |
|
|
|
|
#5 (permalink) |
|
Human Spambot
Join Date: Feb 2004
Location: Mumbai
Posts: 2,653
|
Do you want to come back to the same form or not? If yes, then use .hide otherwise use me.unload
__________________
:: Free hosting and free domain names available in special cases. Conditions apply :: |
|
|
|
|
#6 (permalink) | |
|
mekalodu
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,495
|
ok fine .... i got it ...
can u answer my second question .. Quote:
__________________
mekalodu |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|