Show/Hide buttons in the Toolbar

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Samuel

    #1

    Show/Hide buttons in the Toolbar

    Hi

    I want to show certain toolbar buttons only when a one type of MDI Child
    form is active

    What method can be used to achieve that and what events need to be used?

    Samuel Shulman
    SBS Technologies Ltd
    07917 447730


  • Cor Ligthert [MVP]

    #2
    Re: Show/Hide buttons in the Toolbar

    Samuel,

    Why not using the Name property?
    And than from the MDIparent by instance using the mdichildren collection to
    see if it is active.

    for each MDIform as form in MDIchildren
    etc

    Cor

    "Samuel" <samuel.shulman @ntlworld.comsc hreef in bericht
    news:eVkKd77oHH A.1388@TK2MSFTN GP05.phx.gbl...
    Hi
    >
    I want to show certain toolbar buttons only when a one type of MDI Child
    form is active
    >
    What method can be used to achieve that and what events need to be used?
    >
    Samuel Shulman
    SBS Technologies Ltd
    07917 447730
    >

    Comment

    • Samuel

      #3
      Re: Show/Hide buttons in the Toolbar

      Thanks for your reply,

      What events can I use to detect a change in the Active state of a form (I
      noticed that the Deactivate event of the form is not raised when another
      form becomes active)

      Specifically, is there a more global event to monitor the active status from
      one location

      Thank you,
      Samuel

      "Cor Ligthert [MVP]" <notmyfirstname @planet.nlwrote in message
      news:eYdXRnApHH A.4544@TK2MSFTN GP02.phx.gbl...
      Samuel,
      >
      Why not using the Name property?
      And than from the MDIparent by instance using the mdichildren collection
      to see if it is active.
      >
      for each MDIform as form in MDIchildren
      etc
      >
      Cor
      >
      "Samuel" <samuel.shulman @ntlworld.comsc hreef in bericht
      news:eVkKd77oHH A.1388@TK2MSFTN GP05.phx.gbl...
      >Hi
      >>
      >I want to show certain toolbar buttons only when a one type of MDI Child
      >form is active
      >>
      >What method can be used to achieve that and what events need to be used?
      >>
      >Samuel Shulman
      >SBS Technologies Ltd
      >07917 447730
      >>
      >
      >

      Comment

      Working...