Solved

mdi tile horizontal

Posted on 2004-08-13
4
494 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
thanks that done the trick
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now