Question on Panel Object

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

    Question on Panel Object

    Hello:

    I was planning to use the panel to create a dockable container at the bottom
    of the screen that will display user preferences.

    I would like it to behave the following way:

    1. It should not have any caption. (I am unable to turn off the caption that
    displays the name of the object).

    2. The user cannot resize it or move it.

    Can somebody tell me if this is the right container or is there a better
    option?

    Thanks.

    Venki
  • Phil G.

    #2
    Re: Question on Panel Object

    Hi,

    Unfortunately on this NG the writer often forgets to let us all know whether
    they are referring to a web project or windows project, this can often make
    a big difference.

    If you are referring to a windows project and wish to display a panel then
    the default behaviour 'should' do what you want. It can be docked and has no
    border and or caption (by default).

    With a web app. then you may be better to investigate the placeholder
    object.

    HTH,

    Phil

    "vvenk" <vvenk@discussi ons.microsoft.c om> wrote in message
    news:CFE3C24B-3BD7-4263-ABDF-173624B35227@mi crosoft.com...[color=blue]
    > Hello:
    >
    > I was planning to use the panel to create a dockable container at the
    > bottom
    > of the screen that will display user preferences.
    >
    > I would like it to behave the following way:
    >
    > 1. It should not have any caption. (I am unable to turn off the caption
    > that
    > displays the name of the object).
    >
    > 2. The user cannot resize it or move it.
    >
    > Can somebody tell me if this is the right container or is there a better
    > option?
    >
    > Thanks.
    >
    > Venki[/color]


    Comment

    • vvenk

      #3
      Re: Question on Panel Object

      Phil:

      Oops, I'm sorry!

      Yes, it is a windows application. Unfortunately, the default settings seems
      to be (with caption).

      I cannot figure out how to make it non-resizable and non-movable. Would you
      know what properties I can use?

      Thanks.

      Venki

      "Phil G." wrote:
      [color=blue]
      > Hi,
      >
      > Unfortunately on this NG the writer often forgets to let us all know whether
      > they are referring to a web project or windows project, this can often make
      > a big difference.
      >
      > If you are referring to a windows project and wish to display a panel then
      > the default behaviour 'should' do what you want. It can be docked and has no
      > border and or caption (by default).
      >
      > With a web app. then you may be better to investigate the placeholder
      > object.
      >
      > HTH,
      >
      > Phil
      >
      > "vvenk" <vvenk@discussi ons.microsoft.c om> wrote in message
      > news:CFE3C24B-3BD7-4263-ABDF-173624B35227@mi crosoft.com...[color=green]
      > > Hello:
      > >
      > > I was planning to use the panel to create a dockable container at the
      > > bottom
      > > of the screen that will display user preferences.
      > >
      > > I would like it to behave the following way:
      > >
      > > 1. It should not have any caption. (I am unable to turn off the caption
      > > that
      > > displays the name of the object).
      > >
      > > 2. The user cannot resize it or move it.
      > >
      > > Can somebody tell me if this is the right container or is there a better
      > > option?
      > >
      > > Thanks.
      > >
      > > Venki[/color]
      >
      >
      >[/color]

      Comment

      • Armin Zingler

        #4
        Re: Question on Panel Object

        "vvenk" <vvenk@discussi ons.microsoft.c om> schrieb[color=blue]
        > Hello:
        >
        > I was planning to use the panel to create a dockable container at
        > the bottom of the screen that will display user preferences.
        >
        > I would like it to behave the following way:
        >
        > 1. It should not have any caption. (I am unable to turn off the
        > caption that displays the name of the object).
        >
        > 2. The user cannot resize it or move it.
        >
        > Can somebody tell me if this is the right container or is there a
        > better option?[/color]



        The Panel control does not display a caption and the user can not resize it.


        Armin

        Comment

        • vvenk

          #5
          Re: Question on Panel Object

          Armin:

          That's not true. It has a caption and the user can resize it, by default.

          Venki

          "Armin Zingler" wrote:
          [color=blue]
          > "vvenk" <vvenk@discussi ons.microsoft.c om> schrieb[color=green]
          > > Hello:
          > >
          > > I was planning to use the panel to create a dockable container at
          > > the bottom of the screen that will display user preferences.
          > >
          > > I would like it to behave the following way:
          > >
          > > 1. It should not have any caption. (I am unable to turn off the
          > > caption that displays the name of the object).
          > >
          > > 2. The user cannot resize it or move it.
          > >
          > > Can somebody tell me if this is the right container or is there a
          > > better option?[/color]
          >
          >
          >
          > The Panel control does not display a caption and the user can not resize it.
          >
          >
          > Armin
          >
          >[/color]

          Comment

          • Cor Ligthert [MVP]

            #6
            Re: Question on Panel Object

            Phil,

            You are right, however most of us in this newsgroup use that if there is
            nothing given than windows forms is default. (While VB.Net 2003 is at the
            moment as well default)

            Cor


            Comment

            • Cor Ligthert [MVP]

              #7
              Re: Question on Panel Object

              Vvenk,

              AFAIK the user cannot resize it separately, the user can use a splitter to
              hide and show parts.

              As all controls it is able to size and resize according to the resizing of
              the form if it is docked or anchored..

              If you can do it without using the mousepointer, than please show us how
              because probably more people will than be interested?

              Cor


              Comment

              • Chris Dunaway

                #8
                Re: Question on Panel Object

                A panel does not have a caption nor can it be moved. Perhaps you are
                using a GroupBox control? How, at runtime, does a user resize or move
                a panel? It has not sizing grip. Perhaps you are thinking about a
                form?

                Comment

                • vvenk

                  #9
                  Re: Question on Panel Object

                  Chris:

                  I am so sorry for the misleading statements.

                  Yes, the Panel object be default has no caption and cannot be resized but
                  can be docked.

                  I was using an object UltraDockManage r from Infragistics. When I assign this
                  as the owner of the Panel, all of a sudden I see caption displayed and it can
                  be resized and moved around.

                  I will take it up with Infragistics. I like all the other enhancements I get
                  but if only I can hide the caption.

                  Venki

                  "Chris Dunaway" wrote:
                  [color=blue]
                  > A panel does not have a caption nor can it be moved. Perhaps you are
                  > using a GroupBox control? How, at runtime, does a user resize or move
                  > a panel? It has not sizing grip. Perhaps you are thinking about a
                  > form?
                  >
                  >[/color]

                  Comment

                  • Chris Dunaway

                    #10
                    Re: Question on Panel Object

                    Ah, I see. Well, I have never used that control so I cannot advise
                    you, sorry.

                    Good luck with your problem.

                    Chris

                    Comment

                    Working...