Thank you! That works just fine. Next, I will try to get rid of the form border. I quickly found the ways to remove the system, minimize, maximize and close buttons. I docked the form to the panel so when the panel (inside it's form) resizes, the subform follows. Perfect... but, the user still sees the window border and caption and can manually resize the form. I suppose it's very easily removed but I simply have not found the command yet. My knowledge in Windows Forms seems quite rudamentary yet. /Ricky
Ricky Helgesson
Posts
-
Opening a form inside another -
Opening a form inside anotherI have already tried that but when i Run: myPanel.Controls.Add(myForm); ...I get an error message something like this: "You can not add a top-level control to a control". (I should have written that in my first post.) So, do you know if it still is possible any other way? /Ricky
-
Opening a form inside anotherI am developing an application where I am seeking the look and feel of Microsoft Outlook. I have created some forms for my different objects (contracts, suppliers etc.). I have created ContractListForm, ContractForm, SupplierListForm and SupplierForm among others. Now, in my main form, I have a toolbar to the left and when the user clicks one of the buttons, I want to open up the correct *ListForm to the right (not in a new window). Is this possible? If not, how should I design this? I would like to be able to do just like in Outlook, where the user can chose to open the Inbox for instance either to the right, or in a new window. /Ricky