Screen Display

Timothy Purvis posted at 03-Jul-08 03:00
Can anyone offer assistance with this problem. I am writing an app that has an image (imagebox) on the screen. When the form opens, there is no border and the window is maximum. How do i make sure that the image appears in the centre of the screen. I have used all sorts of equations .top .height .width but to no avail. The problem is that it seems perfect on one screen but not on another monitor.

Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Screen Display - Timothy Purvis  03-Jul-08 03:00 3:00:48 PM
      screen center - Partha Mandayam  03-Jul-08 05:29 5:29:13 PM
          solution to screen centre - Umapathy Kaliaperumal  04-Jul-08 12:34 12:34:55 AM
      Try this link - this will solve your prob. - santhosh kumar  04-Jul-08 01:46 1:46:18 AM
      In form_resize event put the code to set appropriate left and top of the imagebox - Deepak Ghule  04-Jul-08 01:59 1:59:07 AM
View Posts