[EMAIL PROTECTED] wrote
> Shift-Tab doesn't seem to work properly, even though I've made all the
> fields tab to the next editable item.......
Add a behaviour like this to all the editable fields
property spriteNum, myTabList
on beginSprite me
sprite(spriteNum).member.autotab = 0
sendAllSprites(#mBuildTabList, [])
end
on mBuildTabList (me, aList)
myTabList = aList
myTabList.append (me.spriteNum)
end
on keydown (me)
if the key = TAB then
currentIndex = myTabList.getPos(spriteNum)
if the shiftDown then
if currentIndex > 1 then newIndex = currentIndex -1
else newIndex = myTabList.count
else
if currentIndex < myTabList.count then newIndex = currentIndex + 1
else newIndex = 1
end if
the keyboardFocusSprite = myTabList[newIndex]
else
pass
end if
end
Luke
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]