the Panel TEXT property

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

    the Panel TEXT property

    A Panel does not have a caption, and so doesn't really need a Text property.
    Yet, it does have this property. Furthermore, on-line MSDN says it is
    'overridden'. The 'detail' of this also just says it's overridden with no
    other information about it. Does this mean it allows reference to it, but it
    does nothing?

    In any case, it is good that it does have this property, since I wrote a
    RadioButton 'holder' with GroupBox and needed to create one using a Panel
    instead. Since Text is supported by Panel I just did a copy-rename(GroupBox
    to Panel) and it worked first time!!! : )


  • Peter Oliphant

    #2
    Re: the Panel TEXT property

    Now, if only managed classes could be templated, I wouldn't have to write my
    code twice: once for a GroupBox and again for a Panel (with template
    capabilities I could make the container type a templated variable).... : )

    Are templates going to be supported in managed code in VC++ .NET 2005? What
    about other stuff, like 'const', etc. that seem like they should not be in
    conflict with the managed paradigm?

    "Peter Oliphant" <poliphant@Roun dTripInc.com> wrote in message
    news:uKXh3g5yFH A.1028@TK2MSFTN GP12.phx.gbl...[color=blue]
    >A Panel does not have a caption, and so doesn't really need a Text
    >property. Yet, it does have this property. Furthermore, on-line MSDN says
    >it is 'overridden'. The 'detail' of this also just says it's overridden
    >with no other information about it. Does this mean it allows reference to
    >it, but it does nothing?
    >
    > In any case, it is good that it does have this property, since I wrote a
    > RadioButton 'holder' with GroupBox and needed to create one using a Panel
    > instead. Since Text is supported by Panel I just did a
    > copy-rename(GroupBox to Panel) and it worked first time!!! : )
    >
    >[/color]


    Comment

    Working...