StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
FieldPropertyChanged Event Handler
FieldPropertyChanged Event Handler
Post Reply
Like
0
FieldPropertyChanged Event Handler
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Leonard P.
Leonard P.
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Awaiting Activation
Posts: 65,
Visits: 306
Hi,
I want to be able to respond to FieldPropertyChanged event on the BO level (i.e. code lives inside BO class). I enabled BO Mapper to generate event on property change. But I don't see this event in the events list in BO's properties window. I can only see this event when I look at the BO properties on the form.
What's going on?
Thanks.
Reply
Like
0
Trent Taylor
Trent Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
I guess I don't understand what you mean. The event is created after you rebuild the partial class and is defined within the designer file of the BO in which is was added. If you want to handle the event within the BO itself, then add a handler in the constructor or where you need the BO to start handling the event:
this
.FieldPropertyChanged +=
new
CustomersBOFieldPropertyChangedEventHandler
(CustomersBO_FieldPropertyChanged);
Reply
Like
0
Dustin Taylor
Dustin Taylor
posted 17 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Users
Posts: 364,
Visits: 771
1) Re-build the partial class for your BO within the BO Mapper
1) Build the project
3) Close your form
4) Re-open your form
Do the above and you should be able to see the events from the properties window.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search