?
Solved

mdi tile horizontal

Posted on 2004-08-13
4
Medium Priority
?
501 Views
Last Modified: 2012-08-14


Hi everyone

I am starting work on MDI forms and I have a form that is opened and displays records in a datagrid. When a record is selected for the first time i want a new form to open in the bottom half of the screen displaying the full record in a columnar form, however when the record in the top half of the screen is changed I want the bottom half of the screen to altar accordingly

I have almost got it to work!!!

I can select a record and open another MDI form showing all the records data but i am trying to horzantal tile it and not doing so well because the forms end up the wrong way round.

is this the best way to do what i want to and also how when i tile mdi child forms can i make one be at the top

cheers davoman
0
Comment
Question by:davoman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 96

Expert Comment

by:Bob Learned
ID: 11794962
I believe that it is because of the Z-order of the forms.  You could try a BringToFront on one of the forms to change this behavior.

HTH:)

Bob
0
 
LVL 1

Author Comment

by:davoman
ID: 11795033
thats sounds good what code would i use cos not used z-order before
0
 
LVL 96

Accepted Solution

by:
Bob Learned earned 2000 total points
ID: 11795116
If you look at the property list for a Form in the code view, using Intellisense, there is the BringToFront method.

Example:

 Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load

    Me.BringToFront

  End Sub

Bob
0
 
LVL 1

Author Comment

by:davoman
ID: 11795676
thanks that done the trick
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question