Windows Forms

T

Terry Holland

Hi

Im new to VB.Net and have got .

Im trying to create a MDI application and having some trouble a few basic
things. Ive managed to get my classes working OK but Im having probs with
the interface

In particular the following things:

1) When the app opens I want a list of actions to appear in a list at the
right hand side of the screen (from top to bottom). I thought I should do
this as a child form (frmActions) and Dock it to the right of the MDI window
(in much the same way as the vis studio.net Properties window is
docked/locked to the right side of screen). Im trying Me.Docked =
DockStyle.Right but all this seems to do is open the screen at the right
side of my MDI container screen. It is not locked in position and it is not
full height.

2) From frmActions I need to open a screen modally and within the MDI
container. Im not having much luck with this at all as all I seem to be
able to do is
a) open a screen modally but not within my MDI container or
b) open a screen within MDI but not modally

I could do with some general advice on good-practice of moving from screen
to screen

tia

Terry Holland
 
G

Guillermo Chapellin

Hi Terry,

1)To be able to dock a control or form you will need a third party control,
this is not a built-in functionality of .NET. You can see the one from
infragistics or form DevComponent.

2) To open a form in modal within the MDI just open it by using the
ShowDialog method of the form.

Guillermo.
 
T

Terry Holland

1)To be able to dock a control or form you will need a third party control,
this is not a built-in functionality of .NET. You can see the one from
infragistics or form DevComponent.
2) To open a form in modal within the MDI just open it by using the
ShowDialog method of the form.
This does open the form modally, but it is not contained within the
boundaries of the MDI container form. I am able to move it outside its
boundaries.
I want to know how to open a form modally - within the boundaries of the
parent mdi form
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top