Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to change radiobutton after record retreived
Message
 
À
16/06/2004 12:29:50
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00914026
Message ID:
00914480
Vues:
8
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform