Click here to Skip to main content
15,912,021 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Questionabout forms in vb.net Pin
bapu288927-Dec-06 7:18
bapu288927-Dec-06 7:18 
AnswerRe: about forms in vb.net Pin
Dave Kreskowiak27-Dec-06 7:45
mveDave Kreskowiak27-Dec-06 7:45 
QuestionRe: about forms in vb.net Pin
bapu288927-Dec-06 7:56
bapu288927-Dec-06 7:56 
AnswerRe: about forms in vb.net Pin
Dave Kreskowiak28-Dec-06 3:09
mveDave Kreskowiak28-Dec-06 3:09 
AnswerRe: about forms in vb.net Pin
The ANZAC27-Dec-06 21:12
The ANZAC27-Dec-06 21:12 
QuestionRe: about forms in vb.net Pin
bapu288928-Dec-06 7:22
bapu288928-Dec-06 7:22 
AnswerRe: about forms in vb.net Pin
bapu288928-Dec-06 8:23
bapu288928-Dec-06 8:23 
QuestionMDI Layout - Horiz & Vert Pin
NigeLost27-Dec-06 6:59
NigeLost27-Dec-06 6:59 
It just won't work for me!

If I use:
Me.LayoutMdi(MdiLayout.TileVertical)
Or even:
Me.LayoutMdi(System.Windows.Forms.MdiLayout.TileHorizontal)

But the tiling is a mess. Either method, I get similar results:

- two columns (three would fit more than comfortably)
- Huge gaps between the forms
- Except one column where Forms vertically overlap to fit them all in the MDI (even though autoscroll is True)

The code from the Horiz Menu choice is:

  Private Sub TileHorizontalToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TileHorizontalToolStripMenuItem.Click<br />
<br />
   Me.LayoutMdi(System.Windows.Forms.MdiLayout.TileHorizontal)<br />
<br />
End Sub


(Cascade works just fine.)

The Forms' properties are:
Autosize = False
MaximizeBox = False
MaximumSize = 168, 406

I don't want them to resize. They must remain 168,406. I had awful-looking results when I did not restrict their dimensions and they stretched out.

Can you think of any way around this? Rearranging them manually is untidy, especially as there is no "snap to grid" feature available either.

Can anyone help?
AnswerRe: MDI Layout - Horiz & Vert Pin
Dave Kreskowiak27-Dec-06 7:50
mveDave Kreskowiak27-Dec-06 7:50 
GeneralRe: MDI Layout - Horiz & Vert Pin
NigeLost27-Dec-06 23:03
NigeLost27-Dec-06 23:03 
QuestionSaving REGISTRY Settings VB.NET Pin
vbbeg27-Dec-06 6:08
vbbeg27-Dec-06 6:08 
AnswerRe: Saving REGISTRY Settings VB.NET Pin
Dave Kreskowiak27-Dec-06 7:41
mveDave Kreskowiak27-Dec-06 7:41 
GeneralRe: Saving REGISTRY Settings VB.NET Pin
vbbeg27-Dec-06 16:52
vbbeg27-Dec-06 16:52 
GeneralRe: Saving REGISTRY Settings VB.NET Pin
Dave Kreskowiak28-Dec-06 3:02
mveDave Kreskowiak28-Dec-06 3:02 
GeneralRe: Saving REGISTRY Settings VB.NET Pin
vbbeg28-Dec-06 4:50
vbbeg28-Dec-06 4:50 
GeneralRe: Saving REGISTRY Settings VB.NET Pin
Dave Kreskowiak28-Dec-06 12:43
mveDave Kreskowiak28-Dec-06 12:43 
GeneralRe: Saving REGISTRY Settings VB.NET Pin
vbbeg29-Dec-06 4:49
vbbeg29-Dec-06 4:49 
GeneralRe: Saving REGISTRY Settings VB.NET Pin
Dave Kreskowiak29-Dec-06 5:03
mveDave Kreskowiak29-Dec-06 5:03 
GeneralRe: Saving REGISTRY Settings VB.NET Pin
vbbeg29-Dec-06 8:12
vbbeg29-Dec-06 8:12 
GeneralRe: Saving REGISTRY Settings VB.NET Pin
Dave Kreskowiak29-Dec-06 15:01
mveDave Kreskowiak29-Dec-06 15:01 
QuestionDeployment \ Program Publishing Pin
Karma3125127-Dec-06 4:30
Karma3125127-Dec-06 4:30 
AnswerRe: Deployment \ Program Publishing Pin
Dave Kreskowiak27-Dec-06 4:57
mveDave Kreskowiak27-Dec-06 4:57 
GeneralRe: Deployment \ Program Publishing Pin
Karma3125127-Dec-06 7:43
Karma3125127-Dec-06 7:43 
GeneralRe: Deployment \ Program Publishing Pin
Dave Kreskowiak27-Dec-06 7:51
mveDave Kreskowiak27-Dec-06 7:51 
GeneralRe: Deployment \ Program Publishing Pin
Karma3125127-Dec-06 9:28
Karma3125127-Dec-06 9:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.