CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2003
    Posts
    322

    Positioning Frame controls very close together

    in VB6-

    Is there a way to position two frames on a from, so their edges touch- cleanly,
    without having the "overlap" zone from one frame, overlapping the adjacent frame ?

  2. #2
    Join Date
    Apr 2002
    Location
    Cleveland, Ohio, USA
    Posts
    200
    You can manually set the positions of the frames to get them to line up. Assuming your form's ScaleMode is set to Twip, place two frames on the form with the same Height and Top values.

    Set the Left property of Frame2 (the right hand frame) to:

    Frame1.Left + Frame1.Width - 20

    This overlaps the boarders to make it look like one boarder.

    Is this what you were trying to do?

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