Im testing the Oxygene .net Exchoes, have a issues with the form designer, when i delete a control the designer.pas still has code references to teh control ive just deleted, consequently when i try and compile it throws errors, ive even gone through and manually deleted reference lines of code form teh designer and still get errors.
I now this doesnt happen in VS 2012 express, so im assuming its related to RemObjects Oxygene VS 2012 IDE, if thats teh case if i purchased professional VS 2012 would i still have the same issues ?
I dont get these issues when using c#, at the moment my productivity is significantly less than using C# becuase of this.
that sounds like a bug. can yo send us the exact form .pas file that show this, with instructions on what control(s) to remove? Removing a control should remove all references to it form the .designer.pas file (assuming you didn’t add any code to that file yourself that references it — the form designer will only touch the class declaration and the content of the InitializeComponents method; it will not touch any other methods)
Hi im using devexpress controls, some controls delete fine and others dont, ill create a basic form, add a few devexpress controls then delete one to replicate the error.
The attach file doesnt seem to work
file [filler]
Hi ive emailed the files
thanx. fwiw, attach file is limited to certain file types. zip usually works well.
ok thanks, please see uploaded file, there was a dialgauge control which i deleted from the form, yet all of the code references in the designer are still there, theres also a screen shot showing some of the compiler errors. Thanks
if you need more info let me know
Hello,
What component did you try to delete?
Best regards.
Hi, the component is a devexpress gauge control, ive deleted it from teh sample isent so that you can see the error as per this, Warning 1 Unable to find type: DevExpress.XtraGauges.Win.Gauges.Circular.CircarcScaleBackgroundarcScaleComponent1 (DevExpress.XtraGauges.Win.G…) C:\Users\Robert Wildon\Documents\Visual Studio 2012\Projects\Remobjects\TestControlDelete\TestControlDelete\Main.pas 22
In order for me to fix it i have to try and find each line of code related to the gauge control and delete it manually from the designer.
I tried to add Gauge control in the WinForms application, rebuilded project. Then I deleted it and rebuilded the project again. No errors appear. The component was deleted fine.
Could you please send me your project before deleting the control. Probably there is something specific in the project that makes correct deleting impossible.
Thanks in advance.
Hi, attached is the full test project, it has a devexpress, grid, chart and gauge control, if it works for you i can record a video of what im doing and the error i get
thanks for your help
kind regards
rob
Hi,
looks like this issue was fixed, can you give your login on our site and we will upload latest build? You can send your login to support@remobjects.com if don’t want post it here.
excellent news
ive just sent a email
Hi Guys, thanks for the latest build, that works a treat, thanks so much for speedy help and support !!
Always welcome.