Never seen this before...anybody?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Never seen this before...anybody?

  1. #1
    Join Date
    Oct 2009
    Posts
    3

    Resolved Never seen this before...anybody?

    Weird problem. I have a couple of frames on a form, Frame1 and Frame2. Top property is set to 930 on both. Left property is set to 60 on Frame1 and 3390 on Frame2. Placed a break in the Resize event and placed in runtime. Checked Top and Left properties of both frames...

    Frame1.Top=8.201058E-02
    Frame1.Left=60 (unchanged)
    Frame2.Top=8.201058E-02
    Frame2.Left=3390 (also unchanged)

    Neither frame appears to visibly change positions, they are in the same position in runtime as they were originally.

    I checked a couple of other projects and didn't see this behavior.

    Anyone seen this before or know what's going on?
    Last edited by rdprecure; December 10th, 2013 at 01:05 PM.

  2. #2
    Join Date
    Oct 2009
    Posts
    3

    Resolved Re: Never seen this before...anybody?

    Found it. Duh! I had accidentally set the form's scaleheight to 1 instead of the scalemode like I had intended.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center