AwDbNavigate.NavigateCompleted Event

When navigation was completed, it is raised.

[Visual Basic]
Public Event NavigateCompleted As AwNavigateCompletedEventHandler
[C#]
public event AwNavigateCompletedEventHandler NavigateCompleted;

Event Data

The event handler receives an argument of type AwNavigateCompletedEventArgs containing data related to this event. The following AwNavigateCompletedEventArgs properties provide information specific to this event.

Property Description
DataState Gets a value that indicates the data state.
NavigateResult Gets a value that indicates the navigation result.
NavigateType Gets a type value of navigation.

Example

How to focus to the Text Box after a row was added.

Private Sub dbNavigate_NavigateCompleted(ByVal sender As Object, ByVal e As AwNavigateCompletedEventArgs)
    If e.NavigateType = AwNavigateType.Add Then
        textBox1.Focus()
    End If
End Sub        
private void dbNavigate_NavigateCompleted(object sender, AwNavigateCompletedEventArgs e)
{
    if (e.NavigateType == AwNavigateType.Add)
    {
        textBox1.Focus();
    }
}

See Also

AwDbNavigate Class | Asterworld.Data Namespace

Home | Software & Source Code Library | About Us | Information Based on Law | Terms of Service
Software List | Product Price List | How to Buy | Order Form | FAQ | Site Map
Copyright (C) 2001-2012 Asterworld. All Rights Reserved.