Results 1 to 7 of 7

Thread: borderless mdichild

  1. #1

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197

    borderless mdichild

    Id like to make a borderless mdichild (frmChild) to an mdi form (frmMDI). When I set frmChild.borderstyle = 0 during design time then run it, I see nothing.
    retired member. Thanks for everything

  2. #2
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    Children cannot be borderless...
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  3. #3

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    But I did it once but cannot remember how to do it now
    retired member. Thanks for everything

  4. #4
    PowerPoster
    Join Date
    Aug 2000
    Location
    IN SILENCE
    Posts
    6,441

    Well

    If you maximize a sizable child, it's caption blens with the MDIFORM caption, but I've never seen this before...
    Remaining quiet down here !!!

    BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....

  5. #5

    Thread Starter
    Frenzied Member markman's Avatar
    Join Date
    Nov 2000
    Location
    Florida.
    Posts
    1,197
    I got it so that there was no X, Max or min button, nor an icon that blends with the main form's titlebar. Ill try to remember.
    retired member. Thanks for everything

  6. #6
    Hyperactive Member
    Join Date
    Oct 2000
    Posts
    400
    Setting an MDI Child form's BorderStyle to 0 works fine. Try chenging the backcolor of the child form and you'll see what I mean.

    But you can't resize it without a border. To resize it, set BorderStyle to 2, ControlBox to False, and remove the Caption.

    The only problem with that is you can't move it. To allow moving, set the Caption to a space. (SpaceBar)

  7. #7
    Fanatic Member coolcurrent4u's Avatar
    Join Date
    Apr 2008
    Location
    *****
    Posts
    993

    Re: borderless mdichild

    this tip solved my headache, thanks jmcswain
    Last edited by coolcurrent4u; Sep 29th, 2012 at 09:11 PM.
    Programming is all about good logic. Spend more time here


    (Generate pronounceable password) (Generate random number c#) (Filter array with another array)

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