CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2005
    Posts
    95

    Need RTB on TOP of frame

    I have an RTB (rich text box), rtbMyMessage pasted into a frame frmAllData...all is fine...except when I change the frame size in software (using .top & .height to increase the frame size on both the frame & RTB), the RTB disappears...it looks as though it is hiding behind the frame...how can I bring it to the front??

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: Need RTB on TOP of frame

    Then you didn't copy & paste the RTB onto the frame, but still, on the form.

    Right click the RTB
    Select Cut
    Select the Frame - make sure you see the selection handles on the frame
    Right click on the Frame
    Select paste

  3. #3
    Join Date
    Nov 2005
    Posts
    95

    Re: Need RTB on TOP of frame

    NO THE RTB IS PASTED INTO THE FRAME as I mentioned above...I did go back & double check---if you drag the frame, the RTB comes along for the ride.


    When enlarging them both under software (height & top), the RTB seems to be covered over by the frame (and the rtb no longer responds to its click event).

    Any way to force (know) the RTB is on topo rather than behind the frame?

  4. #4
    Join Date
    Apr 2009
    Posts
    394

    Re: Need RTB on TOP of frame

    Cannot reproduce the behavior here on windows vista home premium sp1 with vs6.0sp6b...



    Good Luck

  5. #5
    Join Date
    Nov 2005
    Posts
    95

    Re: Need RTB on TOP of frame

    I got it...after I pasted the RTB into a frame I forgot to revise my coordinate system (such as top) so that they referenced the frame instead of the form. Moving down 7000 on a large form is one thing, moving down 7000 in a small frame makes things "go away"

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