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!

Advancing to next text-field w/arrow keys (accounting 4 empty cells)

Status
Not open for further replies.

Smapty

Programmer
Mar 12, 2005
55
US
Hi,

I found a helpful solution to using arrow keys to move through a grid of text fields....

(last post)

But now I need to account for the situation where certain fields are either disabled or non-existant. How would I modify that script to check the disabled propety of the nextRow/nextCol... and then skip to the next row after that if it is indeed disabled?


Bonus: How do I check if the cursor is at the end or start of a string before exucuting the script?
 
Thank you!


---
"note: it doesn't check where it is within the text of an input, because basically, i don't have all the time in the world... "


Is it even possible?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top