Tab in tables and determine which cell

-= JB =- sundown at pacifier.com
Wed Apr 23 23:48:05 EDT 2008


Here is a correction:

if columnInfo + 1 < itemTest then add 1 to columnInfo

-=>JB<=-




On Apr 23, 2008, at 8:10 PM, -= JB =- wrote:

> I haven't tried this but I think it will help you keep track
> of the line and column info as you tab though a field.
>
> global columnInfo
> global theLine
>
> on tabKey
>   put number of items in line theLine into itemTest --assuming you  
> have the line number
>   if itemTest + 1 < itemTest then add 1 to columnInfo
>     else
>       put 1 into columnInfo
>       add 1 to theLine
>   end if
> end tabKey
>
> -=>JB<=-
>
>
>
> On Apr 23, 2008, at 7:47 PM, -= JB =- wrote:
>
>> If you can get the column when the user clicks on the cell
>> then how about putting the column info into a global and
>> use the keyword tabKey to determine you went to another
>> column.
>>
>> global columnInfo --however you got the info when you clicked in  
>> the cell
>>
>> on tabKey
>>   add 1 to columnInfo
>> end tabKey
>>
>>
>> -=>JB<=-
>>
>>
>>
>>
>> On Apr 23, 2008, at 6:41 PM, Bill Vlahos wrote:
>>
>>> I have a table that users can tab through. I'd like to be able to  
>>> determine when a user tabs into a certain column and do some action.
>>>
>>> I can determine it when the user clicks in a cell but how can I  
>>> determine it when they tab into a cell?
>>>
>>> Bill Vlahos
>>> _______________________________________________
>>> 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
>>>
>>
>> _______________________________________________
>> 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
>>
>
> _______________________________________________
> 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
>




More information about the use-livecode mailing list