TImage over TGroupBox - onclick event does not work lazarus / 31-LCL ---------------------------------------------------------------------- Paul_ · 2014-03-17 16:12 http://i.imgur.com/iLLSpiT.png I have TGroupBox with some components and TImage over it but TImage onClick event (which open TOpenDialog) isn't working. I miss something ? ---------------------------------------------------------------------- zeljko · 2014-03-17 16:48 How can anyone help you when you provided screenshoot  only ? Do you expect developers to have crystal ball ? Attach an project example here, then somebody will help you. Also write: What OS ? Widgetset ? Lazarus version ? FPC version ? If linux: gtk2 or qt widgetset ? ---------------------------------------------------------------------- Paul_ · 2014-03-17 18:11 You're right, sorry. I fix it now. TImage must be created on TGroupbox area (must be selected). But it's little problematics because: 1) TImage created under TGroupbox (Form1) is visible too.. 2) Is possible assign existing TImage to TGroupbox ? Windows 7 Lazarus 1.2.0 FPC 2.6.2 ---------------------------------------------------------------------- Blaazen · 2014-03-17 19:03 TGroupBox is a container (similarly to TPanel). Image2 is underneath, therefore cannot be clicked (although is visible). Quote2) Is possible assign existing TImage to TGroupbox ?Yes, it is possible at run-time: Code: [Select]Image2.Parent:=GroupBox1;or at design-time via right click and select new parent.