Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you handle multiple TPanel's at design-time?

I have several TPanel's on my main form that I show/hide depending on options a user selects. The problem is that at design time I have to constantly move them around to edit them. Is there an easier/better way that others handle this situation?

like image 917
Mick Avatar asked Apr 27 '11 14:04

Mick


1 Answers

If only one panel is visible at a time, then you might want to use a TPageControl to organize things. You can click the tabs to select which one to work on at design time, and then hide the tabs at run time, or hide the tabs all the time and select pages by setting the ActivePage property.

like image 77
Rob Kennedy Avatar answered Sep 30 '22 01:09

Rob Kennedy