Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Different Width of a Form in Vista



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> Visual Basic Forum
View previous topic :: View next topic  
Author Message
giann



Joined: 31 Jan 2007
Posts: 4

PostPosted: Wed Mar 07, 2007 7:20 pm    Post subject: Different Width of a Form in Vista Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> Visual Basic Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap