My form only have grid control and ribbon bar. I want auto focus to first cell of grid view when form loaded.
Problem is : when form is loaded, it auto focus in find panel of the grid instead of grid cell.
I tried like this but not works. Help, Thanks all.
    private void gcStockDelivery_Load(object sender, EventArgs e)
    {
        BeginInvoke(new MethodInvoker(() =>
        {
            gvStockDelivery.FocusedColumn = gcBarCode;
            gvStockDelivery.ShowEditor();
        }));
    }
Code to select other control after FormLoad()
protected override void OnShown(EventArgs e)
{
    base.OnShown(e);
    txtPurchaseOrder.BeginInvoke(new Action(() =>
    {
        txtPurchaseOrder.Select();
    }));
}
				
                        
Sorry for late reply. I got a soultion at there XtraGrid AutoFilterRow focusing
It works.