|
-
Feb 7th, 2000, 11:55 PM
#1
Thread Starter
New Member
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.
-
Feb 8th, 2000, 12:45 PM
#2
Frenzied Member
OS/2 is crap.
Seriously - I used to write a lot of VB4 16-bit stuff under OS/2 and to get the graphics to look right is amazingly painful. This is because OS/2 is trying it's best to emulate Windows v3.1 and it fails most of the time.
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
-
Feb 8th, 2000, 12:46 PM
#3
Frenzied Member
One thing I did notice was changing the screen settings under OS/2 seemed to make a difference.
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
-
Feb 8th, 2000, 12:57 PM
#4
Thread Starter
New Member
I am developing and compiling under NT and then testing in OS/2. It's not as easy as changing the display settings because the application is running on hundreds of PC's within the company.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|