Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change radiobutton after record retreived
Message
 
To
16/06/2004 12:29:50
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00914026
Message ID:
00914480
Views:
9
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
        ' Add Processing code here
    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
Previous
Reply
Map
View

Click here to load this message in the networking platform