UIControllerGoToToNextRowAfterLastControl Property
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.BoxAssembly: Firefly.Box (in Firefly.Box.dll) Version: debug-master-v:33791
public bool GoToToNextRowAfterLastControl { get; set; }
Public Property GoToToNextRowAfterLastControl As Boolean
Get
Set
member GoToToNextRowAfterLastControl : bool with get, set
Property Value
Boolean 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
EntityThis example uses automatic tools to generate parts of the user interface. Those tools can be found in the example of the documentation of
Formusing 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();
}
}
}