Results 1 to 4 of 4

Thread: Multi-monitor problem ........

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2004
    Location
    England
    Posts
    9

    Multi-monitor problem ........

    Hi everyone,

    I have written a small prog that uses one form only, but updates this every 30 seconds. The problem I have is that, when running in a multi-monitor environment, the form does not appear on the same screen all the time - it keeps jumping from screen to screen.

    Please, please help me stop this !!

    Many thanks in advance for any suggestions you may have - this is driving me bananas.

    Jeff

  2. #2
    Hyperactive Member
    Join Date
    Feb 2003
    Location
    Grenada
    Posts
    346
    I'm not familiar with Multiple monitors...but here's a suggestion...
    Try setting the screen co-ordinates of the form at run time....

    e.g. Me.Left = 0
    Me.Top = 0

    Cause from what I understand, the width and height of a multiple monitor environment are continuous.
    If my post has been helpful, then please rate it accordingly...
    If it has solved your question(s), then don't forget to mark the thread as "[Resolved]"... thank you.

  3. #3
    PowerPoster Pc_Madness's Avatar
    Join Date
    Dec 2001
    Location
    Melbourne, Australia
    Posts
    2,765
    Yup, multi-monitors are treated as one big screen, so if its jumping around, then it would have to be something your doing through code.
    Don't Rate my posts.

  4. #4
    Addicted Member
    Join Date
    Nov 2001
    Location
    Peterborough, UK
    Posts
    160
    Hi Gosser...

    I do a LOT of work with Multiple Monitor installations.

    It depends on exactly which version of Windows you are running as to how it would behave, but most of the time simply ensuring that you set the .left and .top properties during run time will ensure form placement stability.

    for example, if you have your monitors set at 1024 x 768 and in the <screen-properties-settings> setup you have your monitors positioned horizontally then you effectively now have a single monitor which is 2048x768.

    Knowing this you can position you form appropriately, or make one BIG form which covers both monitors and then position controls on that form.

    Anyway, good luck, hope this helps!


    Pigmy
    Remember - The light at the end of the tunnel could well be an on-coming train !

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width