How to Set custom tabstops in a ListBox?



How to Set custom tabstops in a ListBox?..

Answer / Karan Singh Tatwal

To select a specific cell in a DBGrid, you can use the SetFocus method and the TabKey property. Here's an example:

```
DBGrid1.DataSet.First; // Navigate to the first record
DBGrid1.SetFocus; // Set focus on the grid
DBGrid1.TabKey := (MyRow - 1) * DBGrid1.Columns.Count + (MyColumn - 1); // Move to the specific cell

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Delphi Interview Questions

How to Change the default width/height of the editor?

0 Answers  


Explain Drag and Drop with Files?

1 Answers  


How to capture the current cursor icon and draw it?

1 Answers  


what is Client launching ?

1 Answers  


What versions of Delphi are there?

1 Answers  


What are the problems faced by memory leaks?

1 Answers  


What version of Delphi 5 does the Code Explorer come with?

1 Answers  


How to Create a file association for my application?

1 Answers  


What is Delphi/400 Client Server Suite?

1 Answers   Delphi, IBM,


How to Disable close button of a window ?

1 Answers  


What is the equivalent in BCB to a Pdox TCursor?

1 Answers  


How to Drop a combobox's list in code?

1 Answers  


Categories