[This is preliminary documentation and is subject to change.]

Gets or sets the value determining if when the user is parked on the last column, and presses tab, he will automatically move to the next row.

Namespace:  Firefly.Box
Assembly:  Firefly.Box (in Firefly.Box.dll) Version: 3.4.23.6473 (3.4.23.6473)

Syntax

C#
public bool GoToToNextRowAfterLastControl { get; set; }
Visual Basic (Declaration)
Public Property GoToToNextRowAfterLastControl As Boolean
Visual C++
public:
property bool GoToToNextRowAfterLastControl {
	bool get ();
	void set (bool value);
}

Examples

This example demonstrates the usage of MoveToNextRowAfterLastColumnDemo
This example is based on test data. The code for the entities included in this test data can be found in the documentation of Entity
This example uses automatic tools to generate parts of the user interface. Those tools can be found in the example of the documentation of Form
CopyC#
using Firefly.Box;
using System.Windows.Forms;

namespace TestFirefly.Box.Documentation
{
    class MoveToNextRowAfterLastColumnDemo
    {
        public void Run()
        {
            var jobs = new Pubs.Jobs();
            jobs.InitializeWithTestData();

            var uic = new UIController()
            {
                From = jobs,
                View = UITools.GenerateFormWithGridFor("Move To Next Row Demo",
                                                       "Try navigating using tab, while \n"+
                                                       "changing the \"Move To Next Row On Last Column\" check box",
                                                       jobs.Id,
                                                       jobs.Description,
                                                       jobs.MinLevel,
                                                       jobs.MaxLevel)
            };

            var checkBox = new CheckBox
                               {
                                   Text = "Move To Next Row On Last Column",
                                   Width = 200
                               };
            checkBox.CheckedChanged += (a, b) => uic.GoToToNextRowAfterLastControl = checkBox.Checked;

            UITools.AddControlsToForm(uic.View, checkBox);

            uic.Run();
        }
    }
}

See Also