Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Clipped frame
Clipped frame [message #25122] Thu, 11 February 2010 20:50 Go to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
On a different computer the frame is clipped.

index.php?t=getfile&id=2246&private=0

The image on the left is on the computer the upp GUI was made on.
Win XP Mobile Intel(R) 945 Express Chipset

The right image is on:
Win XP ATI Radeon Xpress 200m

On Win Vista it is not clipped but a small amount is added on the bottom ~ 4 to 5 pixels.

On Win7 the bottom is clipped so the bottom text box is missing and the right is clipped about the width of ~ 4 characters.

The code is about done but I can't deploy it if the frame will be clipped.

What could cause this?
Re: Clipped frame [message #25123 is a reply to message #25122] Thu, 11 February 2010 21:19 Go to previous messageGo to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
It may be caused by my placing it in the top left.

I have tried 2 ways:

LeftPosZ(4, 245).TopPosZ(50, 86);
or
SetRect(4, 50, 247, 85);

Leaving it centered it is not clipped at least for the other Win XP.

How can the position be set so there will not be a clipping problem?
Re: Clipped frame [message #25127 is a reply to message #25123] Thu, 11 February 2010 21:58 Go to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
I think I found the answer. I remember a post from Anton re setting the position. He mentioned NoCenter();
I had that in my code and as I usually do I comment (//) lines to see if they are necessary, it was not on the computer I was working on.

I just un-commented that line and it seems OK when the app is run on different computers.

Thanks again Anton!
Previous Topic: One way to share IML across obj files
Next Topic: text box action with enter key
Goto Forum:
  


Current Time: Sat Apr 20 15:26:40 CEST 2024

Total time taken to generate the page: 0.03499 seconds