Re: [lazarus] I can delete embedded components from inside a component

2007-06-06 Thread Graeme Geldenhuys
On 06/06/07, Vincent Snijders <[EMAIL PROTECTED]> wrote: > At runtime, moving the splitter arround, doesn't move the TEdit at all. :-( When you drop the TEdit on it, does it set the parent property of the TEdit to the left or right panel? I guess not. Where would I set that? -- Graeme Geld

Re: [lazarus] I can delete embedded components from inside a component

2007-06-06 Thread Vincent Snijders
Graeme Geldenhuys schreef: Hi Vincent, That bug report isn't a bug. The wrong component's ControlStyle was set in TtiSplitterPanel. Setting the ControlStyle of the two panels and internal splitter instead of the composite component, solves the selection issue. Thanks, I marked that bug as re

Re: [lazarus] I can delete embedded components from inside a component

2007-06-06 Thread Graeme Geldenhuys
Hi Vincent, That bug report isn't a bug. The wrong component's ControlStyle was set in TtiSplitterPanel. Setting the ControlStyle of the two panels and internal splitter instead of the composite component, solves the selection issue. I do have another issue though, if you have any tips to shar

Re: [lazarus] I can delete embedded components from inside a component

2007-06-06 Thread Vincent Snijders
Graeme Geldenhuys schreef: On 6/6/07, Burkhard Carstens <[EMAIL PROTECTED]> wrote: Set MyLabel.ControlStyle:=MyLabel.ControlStyle+[csNoDesignSelectable]; in TMyPanel.create; Thanks Burkhard! While you are at it, do you know a solution for http://www.freepascal.org/mantis/view.php?id=7396

Re: [lazarus] I can delete embedded components from inside a component

2007-06-06 Thread Graeme Geldenhuys
On 6/6/07, Burkhard Carstens <[EMAIL PROTECTED]> wrote: Set MyLabel.ControlStyle:=MyLabel.ControlStyle+[csNoDesignSelectable]; in TMyPanel.create; Thanks Burkhard! -- Graeme Geldenhuys General error, hit any user to continue. _

Re: [lazarus] I can delete embedded components from inside a component

2007-06-06 Thread Burkhard Carstens
Am Mittwoch, 6. Juni 2007 15:06 schrieb Graeme Geldenhuys: > Hi, > > I know this was answered before, but for the life of me, I can't seem > to find any such reference. > > I created a component that contains other components. For example a > TPanel with a TLabel and TEdit embedded inside it. If I

[lazarus] I can delete embedded components from inside a component

2007-06-06 Thread Graeme Geldenhuys
Hi, I know this was answered before, but for the life of me, I can't seem to find any such reference. I created a component that contains other components. For example a TPanel with a TLabel and TEdit embedded inside it. If I drop the composite component on a form, I can delete the embedded TLa