This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 57552 - Removing form events also removes user code
Summary: Removing form events also removes user code
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker with 2 votes (vote)
Assignee: issues@guibuilder
URL:
Keywords:
: 66313 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-06 15:59 UTC by gatgul
Modified: 2008-04-28 18:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gatgul 2005-04-06 15:59:56 UTC
at one time you enable property events for a corm component. you write code for
that event. 
Sometime later you want to disable the event, but not erase the user written
code for tha event. Older versions asked you if you want to keep, or erase the
user code written under the event. Netbeans 3.6 does not, and erases all user
code in the event. 
Bad News, as i now have missing pieces of code i have to now fetch from backup!
Comment 1 Tomas Pavek 2005-05-13 14:16:36 UTC
We may show a warning message. But note you can still perform undo in form editor.
Comment 2 Jan Stola 2005-10-10 09:48:52 UTC
*** Issue 66313 has been marked as a duplicate of this issue. ***
Comment 3 lmineiro 2006-10-13 19:56:12 UTC
I would suggest having an option for this.
1. Remove (As of today)
2. Keep (For people coming from other IDEs, it works this way on every other RAD IDE I've used (Delphi/
Kylix, Visual Basic, REALBasic).
3. Ask (As suggested in the mailing list)

I wouldn't even consider too much work for such an option but its value from people coming from other 
IDEs -- priceless.