How to stop tabbing
Éric Miclo
eric.miclo at wanadoo.fr
Tue May 9 15:38:04 EDT 2006
Hello,
I use this in the script of the field:
on tabKey
-- maxTabs is one less than the number of columns
put 2 into maxTabs
set the itemDelimiter to tab
put the selectedLine of me into cursorLine
put the number of items in line (word 2 of cursorLine) of me into
numberOfItems
if last char of line (word 2 of cursorLine) of me is tab then add
1 to numberOfItems
if numberOfItems > maxTabs then beep
else pass tabKey
set itemDelimiter to ","
end tabKey
Best,
ÉrIC
Le 9 mai 06 à 19:05, Todd Geist a écrit :
> Hello,
>
> How do I keep the user from being able to "tab" beyond a certain
> tab stop in a "scrolling" list view?
>
> Thanks
>
> Todd
>
>
>
> --
>
> Todd Geist
> ______________________________________
> g e i s t i n t e r a c t i v e
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
-- My NeXT computer will Be a Mac too! --
More information about the use-livecode
mailing list