ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.DirectionAfterEnter Property

Gets or sets a value that determines the relative position of the next cell when the user presses the Enter key.

[Visual Basic]

Public Property DirectionAfterEnter As DirectionAfterEnterEnum

[C#]

public DirectionAfterEnterEnum DirectionAfterEnter {get;set;}

[Delphi]

public property DirectionAfterEnter: DirectionAfterEnterEnum read get_DirectionAfterEnter write set_DirectionAfterEnter;

Example

The following code sets the DirectionAfterEnter property to move down to the next cell when the user presses ENTER:

·      Visual Basic

       Me.C1TrueDBGrid1.DirectionAfterEnter = C1.Win.C1TrueDBGrid.DirectionAfterEnterEnum.MoveDown

·      C#

       this.c1TrueDBGrid1.DirectionAfterEnter = C1.Win.C1TrueDBGrid.DirectionAfterEnterEnum.MoveDown;

·      Delphi

       Self.C1TrueDBGrid1.DirectionAfterEnter := C1.Win.C1TrueDBGrid.DirectionAfterEnterEnum.MoveDown;

See Also

C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.