Results 1 to 4 of 4

Thread: Child forms and MDI parent

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    Child forms and MDI parent

    I have a MDI application and am encountering a few problems.

    When I have a child form in focus I want to load a particular menu control in the parent but haven't a clue how to go about it.

    Can anyone point me in the right direction ?

    Thanks In Advance

    Parksie

  2. #2
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    Re: Child forms and MDI parent

    You can probably check ActiveMdiChild property of the MDIForm to know which form is loaded and then accordingly change/load the Menu.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

  3. #3

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    Re: Child forms and MDI parent

    That needs to be invoked from the MDIPArent form.
    I need to do this via the child form.

    Parksie

  4. #4
    Shared Member
    Join Date
    May 2005
    Location
    Kashmir, India
    Posts
    2,277

    Re: Child forms and MDI parent

    You can access the MDIParent from the childform using Me.MDIParent property. And then you can manuplate the menu's etc on the MDI Parent form.
    Use [code] source code here[/code] tags when you post source code.

    My Articles

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