>Is there a way to limit the number of tab stops that a line can have?
>
>I would like to only have a user be able to input the tab key four 
>times per line in a field...they seem get confused when they see that 
>they can keep tabbing.
>
>Is there some sort of "tabStopsNumber" or some sort of limiting
>thing I can use?

Hi sims!

Test the keyStroke and ignore further tabs once the limit is reached. This
allows 4 tab strokes per line:

on tabKey
  set the itemDel to tab
  if the number of items of the selectedLine >= 5 then exit tabKey
  else pass tabkey
end tabKey

/H

Hugh Senior

The Flexible Learning Company
Consultant Programming & Software Solutions
Fax/Voice: +44 (0)1483.27 87 27
Email: [EMAIL PROTECTED]
Web: www.flexibleLearning.com

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to