Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help Moving in an AdvStringGrid 1

Status
Not open for further replies.

tjcusick

Programmer
Dec 26, 2006
134
US
I have a string grid on my form. I am using a scanner and rave's barcodes to scan in some information. My information is coming in as a string like 'WSK~WAS~WCBB~WGB6B'. I have code that parses it out based on where the '~' is and it places each item before the '~' into a new row in the string grid. This part is working.

What i cannot get it to do is be highlighted in the first cell after the 4th item is added to the string grid. The closest i have gotted is where the 4th row is completely highlighted and the focus is on the last column.

Suggestions?

Thanks.
 
You can use the Col and Row properties to set set the active cell in a TStringGrid control.

The Options property of the grid must have the goRowSelect parameter set to False.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top