Tony,
>But if I am using the navigation bar and clicking through records, how to I hook into that from my form?
In that case you can create a handler method at the form level and register it with the business object's StateChange event. For example, you could create this form-level event handler method:
Protected Sub MyHandlerMethod(ByVal bizObj As mmBusinessObject, ByVal e As mmBusinessStateChangeEventArgs)
If e.State = mmBusinessState.Retrieved Then
End If
End Sub
And you would add the following code to register the method:
AddHandler Me.MyBizObj.StateChange, New mmBusinessStateChangeDelegate(AddressOf Me.MyHandlerMethod)
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com