Article View: borland.public.csharpbuilder.ide.general
Article #125Custom Designer Properies forgettable
From: Andre
Date: Mon, 29 May 2006 10:05
Date: Mon, 29 May 2006 10:05
21 lines
2290 bytes
2290 bytes
I just have a small irretating issue. I've got a C# Assembly that contains all my custom controls in it. The aasembly has a form and some controls with extended features and properties thats imported by a .NET project to define the base form and controls in the application. Now. When I change the imported controls' properties is design time using the object inspector, BDS would insert the code in the BDS initializeComponent(), but when I run the application the applaiction does not reflect the changes. When I stop debugging, and go back to the initliazeComponet() the code that was previouslly there is then gone. This is erratic and i cannot find a fixed pettern - sometimes it does keep certain properties, and some times it does not 'compile' the chaged properties. I've tried expicitlly Make, Build, Save and all combinations of it. The only way the properties are compiled correctlly everytime is when I define by hand the properties during the Load-event. - this is a shlep. its' propbably 15 controls with 8 different combonations if custom properties. Hate coding the properties...:( Am I the only one that experience this problem? Am I missing a technique? Am i using the wrong access modifiers for properties? Please enlighten me.
Technical Details
Message-ID:
<447ac779@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 165859,49d0f84af60eaca6,start X-Google-Attributes: gid165859,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Andre" <andretruter@webmail.co.za> Newsgroups: borland.public.csharpbuilder.ide.general Subject: Custom Designer Properies forgettable Date: Mon, 29 May 2006 12:05:42 +0200 Lines: 23 Organization: Bluewater Systems X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-RFC2646: Format=Flowed; Original X-Antivirus: avast! (VPS 0621-4, 05/26/2006), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 196.207.45.253 Message-ID: <447ac779@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1148897145 196.207.45.253 (29 May 2006 03:05:45 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail