CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Error "Control <name> has no parent window"

by mait » 18 Feb 2015 05:01

I have been previously able to place CGDev JQ components onto my forms. Now when I try to add any of the following components:

TIWCGJQEdit, TIWGCJQButton, TIWCGJQDatePicker, TIWCGJQSlider, TIWCGJQTreeView, and many others, I get the error message:

"Control <name> has no parent window."

Other components, such as:

TIWCGJQLabel, TIWCGJQDialog, TIWCGJQRegion, TIWCGJQCheckBox, TIWCGJQRadioButton and many others, drop onto the form OK.

I can copy and paste an existing label, button, etc. but I can't drop a new one onto the form.

I don't recall doing anything in particular prior to the problem occurring. I have reinstalled IntraWeb and CGDevTools IWJQuery suite and created a brand new Intraweb project but the problem remains.

Anyone have any ideas as to what's gone wrong?

Thanks

IWJQuery Suite 2.4.0.119
IntraWeb 14.0.36
Delphi XE2
mait
 
Posts: 10
Joined: 11 Feb 2015 10:12

by Jorge Sousa » 18 Feb 2015 11:14

Hi

I'm sorry, but we cannot reproduce this.

Can you reproduce this in a simple application.

Or, can you send us the form where that issue is happening?
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by mait » 18 Feb 2015 22:40

Thanks for the reply Jorge.

I'm not surprised you can't duplicate it. I don't think it has to do with your components as such. I was hoping that someone else (smarter than me) may have experienced this and worked out the solution.

As I mentioned, simply creating a brand new Intraweb app and dropping a button or edit box onto the form generates the error so something must have changed in my development environment. I was hoping that there was something common to ...Edit, ...Button, ...DatePicker, ...Slider, ...TreeView, etc. that was not common to ...Label, ...Dialog, ...Region, ...CheckBox, ...RadioButton, etc. that might give a clue as to why some components work and others don't.

Thanks,

Peter Home
mait
 
Posts: 10
Joined: 11 Feb 2015 10:12

by sgaravatti » 01 Apr 2015 10:15

I report the same problem, same Intraweb version and Cgdevtools version. My Ide is C++Builder XE3.
Niccolò
CG 2.6.0.86
IW 14.0.41
C++ Builder XE3
sgaravatti
 
Posts: 24
Joined: 22 Aug 2014 09:20

by sgaravatti » 01 Apr 2015 10:56

It seems, if you have the disable render option, you get the error.
If you enable render, it works.
Niccolò
CG 2.6.0.86
IW 14.0.41
C++ Builder XE3
sgaravatti
 
Posts: 24
Joined: 22 Aug 2014 09:20

by mait » 01 Apr 2015 23:16

Hi Niccolò. Problem fixed. Thanks for taking the time to post the solution.

Peter
mait
 
Posts: 10
Joined: 11 Feb 2015 10:12


Return to JQButton & JQButtonSet

cron

Who is online

Users browsing this forum: No registered users and 4 guests

Contact Us.