Problem with frame/panel.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • priyamtheone
    New Member
    • Sep 2007
    • 88

    #1

    Problem with frame/panel.

    How can I draw a frame or groupbox or panel whose
    style effect is 'Raised' (See attachment). In most of the cases when we
    set the Frame or Panel borderstyle to 3D, the style
    effect is 'Sunken'. But I want it to be 'Raised'. This
    is possible if you add the reference- Microsoft Forms
    2.0 Object Library, choose Microsoft Forms 2.0 Frame
    from 'Choose Toolbox Items' and set its SpecialEffect
    property to Raised. But that is a COM component and I
    want it to be done through core .Net framework
    components. How is it possible.
    Attached Files
  • aryanbs
    New Member
    • Mar 2009
    • 42

    #2
    Looks like button to me, cant you use disabled button there?

    Comment

    • priyamtheone
      New Member
      • Sep 2007
      • 88

      #3
      No, the appearance of button changes when u disable it. Aside from this the look of button changes when u use it in different version of windows e.g. 2000 or vista.

      Comment

      Working...