Setting Active Column in TwwDataGrid

Comments

1 comment

  • Roy Woll

    Hi Leonard,

    You can find the active tfield by referencing the ActiveColumn property. It returns the active column which has a field property.

    If you want to move to a new column you can use the SelectedField property. You set it to the tfield that you want active.

    For instance…

       wwdatagrid1.SelectedField:= wwdatagrid1.datalink.dataset.fieldbyname('CustomerNo');

    Best Regards,

    -Roy

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk