Solved

mdi tile horizontal

Posted on 2004-08-13
4
498 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
  • 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 500 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with Query not working in client's PC 1 36
Exit the loop 4 42
Web Form VB.Net  import CSV 4 36
VB.Net - Get ColumnNames of SQL Table 4 10
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

786 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