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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Got Grid Index out of range error

Status
Not open for further replies.

Benlecool

Programmer
Apr 14, 2005
11
CA
Hi,

I have a STringGrid component in my form. I just fill half of it. Whenever I click on my grid (in the blank area, not selecting any element) and scroll the mouse I get this message:
Grid Index out of range.
Any solution to get rid of this message?
Thanks.
 
It's more than likely to do with code you have written that iterates through the cells of the grid. If you show us the code you are using we may be in a better place to help you.

Clive [infinity]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"To err is human, but to really foul things up you need a computer."
Paul Ehrlich
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To get the best answers from this forum see: faq102-5096
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top