giann
Joined: 31 Jan 2007 Posts: 4
|
Posted: Wed Mar 07, 2007 7:20 pm Post subject: Different Width of a Form in Vista |
|
|
In a VB4 program I have one main Form, (frm1). Also there are some other forms, (frm2, frm3...) which are loaded right next to frm1. For example: (frm2.Left = frm1.Left + frm1.Width or frm3.Left=frm1.Left+frm1.Width).
The problem comes when the program runs in windows vista.
Then, the second form, (frm2 for example), comes not exactly next to frm1 but lays a little bit on the frm1. If I change the code as: (frm2.Left = frm1.Left + frm1.Width +120) then everything is ok for the windows vista. But then it is not ok when program runs in XP,as there is a small distance between the two forms. Any idea for this? |
|