CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1

    Labels inside a frame

    I have two labels inside a frame but they are only visible at runtime if the frame's visible property is set to false. Both the labels are not visible at design time whether the frame is visible or not. Why is this? Is there a way out of this?

    Thanks
    Simon


  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Labels inside a frame

    The labels aren't placed in the frame, they are placed on the form. Make sure to drag them from the toolbox to the frame.
    You can also use ctrl-x crtl-v to cut-paste them. When pasting, make sure the frame is selected.
    If they are in the frame, you shouldn't be able to move them anywhere outside the frame, so you can use that as a check, and if you move the frame, the labels should move along.

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  3. #3

    Re: Labels inside a frame

    Thanks! for that quick reply. It works.

    Simon

    PS: Labels are not in the frame but inside the frame within its boundary.


Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured