this is driving me KKRRAZY!!!:sign0137:
I have started a new game project, in wich to keep control of things, I am defining the row/col count of a table control, according to user difficulty selection....
I start by using a for...next cycle to delete the existing rows/cols of the table and then add row/col according to user selection...so far so good, well not so...If there is no rows or cols in the table before user selection (i.e: when he app is first started) it works fine, but if there is already a number of rows/cols I keep getting an "index canot be negative" sort of error...
I added msgboxs to each of my for next loops and it seems ok....
Im first deleting rows and then collumns, shoul I invert?
Both counts start from "0" Right?
I have started a new game project, in wich to keep control of things, I am defining the row/col count of a table control, according to user difficulty selection....
I start by using a for...next cycle to delete the existing rows/cols of the table and then add row/col according to user selection...so far so good, well not so...If there is no rows or cols in the table before user selection (i.e: when he app is first started) it works fine, but if there is already a number of rows/cols I keep getting an "index canot be negative" sort of error...
I added msgboxs to each of my for next loops and it seems ok....
Im first deleting rows and then collumns, shoul I invert?
Both counts start from "0" Right?