Watch, Follow, &
Connect with Us

Please visit our new home
community.embarcadero.com.

Public Report
Report From: Delphi Prism/Compiler    [ Add a report in this area ]  
Report #:  95396   Status: Open
Add a "notifyalways" directive
Project:  Embarcadero Prism Build #:  4.0.27.823
Version:    14.1 Submitted By:   Mark Tiede
Report Type:  Suggestion / Enhancement Request Date Reported:  6/20/2011 4:41:25 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   284055
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
The original implementation of the notify directive triggered notification every time the associated property was assigned a value.

NOW it only notifies when the property value is actually changed.

Although this change broke some of my code AND I think the new way is the better way since it reflects what the name says which is that the property changed, it would be nice to also be able to signal the event notification any time the setter is called.

Perhaps "notifyalways" directive.  Or "notify always".  Or "notify when set".
Steps to Reproduce:
None
Workarounds
None
Attachment
None
Comments

Carlo Kok at 6/28/2011 9:16:39 AM -
This is something that can be easily solved by using cirrus.

Server Response from: ETNACODE01