At the moment I am trying to centre a graphic within a frame using the following code :

Picture1.Left = (Frame1.Width - Picture1.Width) / 2
Picture1.Top = (Frame1.Height - Picture1.Height) / 2

This is through VB4 - 16 Bit. I then run the application under OS/2 and the graphic is not in the centre. Any idea appreciated.