Tools>>, Options...

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

    Tools>>, Options...

    I want to create a Tools>>, Options form for a C# Outlook 2007 Add-in.

    I have dragged a tree-view control into the left side of the form.

    What control should I drag into the right side so that when a user selects a
    branch in the tree view, the 'subform' with all relevant fields, pictures
    etc changes on the right side of the form?

    I'll also need the same for VB.Net.

  • James Hahn

    #2
    Re: Tools>>, Options...

    Groupbox is probably the most convenient, although other containers would be
    suitable. Create them as 'subforms' and manipulate the properties (eg,
    visible) to show the appropriate one for each user choice in the treeview.

    "Mark B" <none123@none.c omwrote in message
    news:u4Wg1KRSJH A.3932@TK2MSFTN GP02.phx.gbl...
    >I want to create a Tools>>, Options form for a C# Outlook 2007 Add-in.
    >
    I have dragged a tree-view control into the left side of the form.
    >
    What control should I drag into the right side so that when a user selects
    a branch in the tree view, the 'subform' with all relevant fields,
    pictures etc changes on the right side of the form?
    >
    I'll also need the same for VB.Net.

    Comment

    • Mark B

      #3
      Re: Tools&gt;&gt;, Options...

      Say I have 50 of them, in design mode then do I have them all on top of each
      other (making the screen look like a bird's nest and hard to edit?)


      "James Hahn" <jhahn@yahoo.co mwrote in message
      news:udV95zRSJH A.1560@TK2MSFTN GP02.phx.gbl...
      Groupbox is probably the most convenient, although other containers would
      be suitable. Create them as 'subforms' and manipulate the properties (eg,
      visible) to show the appropriate one for each user choice in the treeview.
      >
      "Mark B" <none123@none.c omwrote in message
      news:u4Wg1KRSJH A.3932@TK2MSFTN GP02.phx.gbl...
      >>I want to create a Tools>>, Options form for a C# Outlook 2007 Add-in.
      >>
      >I have dragged a tree-view control into the left side of the form.
      >>
      >What control should I drag into the right side so that when a user
      >selects a branch in the tree view, the 'subform' with all relevant
      >fields, pictures etc changes on the right side of the form?
      >>
      >I'll also need the same for VB.Net.
      >

      Comment

      • James Hahn

        #4
        Re: Tools&gt;&gt;, Options...

        You either need to carefully place them all at the exact position, making it
        very hard to edit (as you comment) or lay them out in a suitable cascading
        format and set the selected object's location property just before making it
        visible. Even so, with 50 or so that's going to be quite an editing task.
        It may be preferablet to substitute programming effort for design work and
        and set up the design in some form of database and create the layout on the
        fly.

        "Mark B" <none123@none.c omwrote in message
        news:uQ1llBSSJH A.5900@TK2MSFTN GP05.phx.gbl...
        Say I have 50 of them, in design mode then do I have them all on top of
        each other (making the screen look like a bird's nest and hard to edit?)
        >

        Comment

        • Jack Jackson

          #5
          Re: Tools&gt;&gt;, Options...

          I would create each as a UserControl, and add them at runtime.

          On Tue, 18 Nov 2008 14:52:43 +1300, "Mark B" <none123@none.c omwrote:
          >Say I have 50 of them, in design mode then do I have them all on top of each
          >other (making the screen look like a bird's nest and hard to edit?)
          >
          >
          >"James Hahn" <jhahn@yahoo.co mwrote in message
          >news:udV95zRSJ HA.1560@TK2MSFT NGP02.phx.gbl.. .
          >Groupbox is probably the most convenient, although other containers would
          >be suitable. Create them as 'subforms' and manipulate the properties (eg,
          >visible) to show the appropriate one for each user choice in the treeview.
          >>
          >"Mark B" <none123@none.c omwrote in message
          >news:u4Wg1KRSJ HA.3932@TK2MSFT NGP02.phx.gbl.. .
          >>>I want to create a Tools>>, Options form for a C# Outlook 2007 Add-in.
          >>>
          >>I have dragged a tree-view control into the left side of the form.
          >>>
          >>What control should I drag into the right side so that when a user
          >>selects a branch in the tree view, the 'subform' with all relevant
          >>fields, pictures etc changes on the right side of the form?
          >>>
          >>I'll also need the same for VB.Net.
          >>

          Comment

          Working...