Results 1 to 5 of 5

Thread: Updating a drop-down menu list

  1. #1

    Thread Starter
    Hyperactive Member Gimpster's Avatar
    Join Date
    Oct 1999
    Location
    Redmond, WA 98052
    Posts
    331

    Post

    I can't believe it's so simple! Now my only problem is that the logo form shows up on the list as well, and I don't want that form to be in the list. It's supposed to basically be a background. You're not supposed to be able to move it or anything. I would have put an image control on the MDI parent, but it won't let you do that. So do you have any suggestions on how I can fix this problem?

    ------------------
    Ryan
    [email protected]
    ICQ# 47799046

  2. #2
    Guru Yonatan's Avatar
    Join Date
    Apr 1999
    Location
    Israel
    Posts
    892

    Post

    You can't put an Image control on an MDI Client, but you can put a PictureBox control with its BorderStyle set to zero, then it looks exactly like the Image control.

    ------------------
    Yonatan
    Teenage Programmer
    E-Mail: [email protected]
    ICQ: 19552879



  3. #3

    Thread Starter
    Hyperactive Member Gimpster's Avatar
    Join Date
    Oct 1999
    Location
    Redmond, WA 98052
    Posts
    331

    Post

    Yes, it looks just like the image control, but you cannot reposition the picture, which you would need to do in order to accomodate different screen resolutions. However, once you have the picture box, you can then put an image control on top of the picture box, and with the image control you can reposition the picture, resize it, whatever you want. Thanks for your help. I don't think I would have figured that out otherwise. Thanks.

    ------------------
    Ryan
    [email protected]
    ICQ# 47799046

  4. #4

    Thread Starter
    Hyperactive Member Gimpster's Avatar
    Join Date
    Oct 1999
    Location
    Redmond, WA 98052
    Posts
    331

    Post

    I have an MDI form setup, and on the MDI parent I have a menu called "Window", just like on most standard applications. What I want to do is to set up some code so that when you click on the window menu, it will detect which child windows are open, which child window has the focus, and then display all open windows in the menu drop-down list, with a checkmark next to the window that has the focus. I would GREATLY appreciate any code samples that you can give me for this. Thanks.

    ------------------
    Ryan
    [email protected]
    ICQ# 47799046

  5. #5
    Guru Aaron Young's Avatar
    Join Date
    Jun 1999
    Location
    Red Wing, MN, USA
    Posts
    2,177

    Post

    In the Menu Editor add a Menu Called Windows and set the WindowList Property to True (Checked)

    Now when you run the App, the Window Menu will contain a list of any Active MDIChild Forms which a Check Next to the Currently Active Form.

    ------------------
    Aaron Young
    Analyst Programmer
    [email protected]
    [email protected]

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