Write two difference between Panel and GroupBox
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Munesh SharmaRank #174 · 13.9K reputationPosted Apr 7, 2014, 11:09 PM EDT
• In case of Panel class captions cannot be displayed i.e. we can't set caption but in GroupBox class captions can be displayed.
• The Panel class can have scroll bars but GroupBox class cannot have scroll bar.
Sanjeeb LenkaRank #301 · 8.3K reputationPosted Apr 7, 2014, 11:13 PM EDT
• A Group box control can be placed with a title.
• The group box control cannot display the scroll bar.
• Only limited number of controls can be placed within the group box.
• Group box is a light weight component.
Panel Control:
• A panel control can't be placed with a title.
• The panel control can display the scroll bar.
• Any number of controls can be placed within the panel.
• Panel is a heavy weight component.