Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Scaling Frames within Frames


  • Please log in to reply

#1
Horace10

Horace10

    New Member

  • Member
  • Pip
  • 2 posts
I'm writing an application that uses a game board, and I want it to scale to the same size on monitors regardless of the screen resolution.

I've tried to set the board up as a set of tiered frames (frames within frames) which will then contain text and graphics, and while I can set the main form (screen-size) scale, and the first tier frame with ScaleWidth, ScaleHeight etc, once I try to fit the second tier frame within the first, the scaling does not seem to work.

For instance, if I want the screen to be 1500x1200, main frame centred 800x800, then set another frame internal to the first, I would assume I can set Top and Left coordinates for the internal frame within the bounds of 0-800, 0-800. But the main frame's Width and Height properties seem to revert to main screen native scale, and there isn't a ScaleWidth and ScaleHeight property for a frame. Even Parent.ScaleWidth and Parent.ScaleHeight doesn't work.

Anyone got any ideas?
  • 0

Advertisements







Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP