You need to change the parent. 2 ways - cut and paste onto the groupbox, or
edit the DFM file in text format, moving them inside the groupbox.


> Hi Eddie,
> 
> That brings up an interesting question.
> 
> If I design the form and place a Tpanel or Group Box, and then place Tedit
> and Tlabel objects on the Group box they stay on top and get dragged around
> with the Tpanel or Group Box to whereever I place it on the form.
> 
> But if I put down a group box later, because I've decided I'd like to
> organize a number of fields, I can send the Group Box or Tpanel to the back
> but the Tlabels stay covered and the Tedit does go on top but they don't
> belong to the Group Box.  Dragging the Group box to another spot on the form
> leaves the fields behind.  
> 
> How do I change the Tedit and Tlabel objects so they 'belong' to the group
> box?
> 
> Thanks,
> 
> John Dammeyer
> 
> > Eddie Shipman wrote:
> > 
> > Set it on a TPanel the same size and set the Panel's enabled to False.
> > 
> 
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://www.elists.org/mailman/listinfo/delphi
> 



_______________________________________________
Delphi mailing list -> [email protected]
http://www.elists.org/mailman/listinfo/delphi

Reply via email to