first field to get keyboard focus?

miscdas at boxfrog.com miscdas at boxfrog.com
Thu May 29 11:23:01 EDT 2003


Sarah writes:
[snip]
> I don't know the reason for this although it might be that Rev stores the 
> focus so that the same field is selected when you go to a new card.
> The workaround is to have a preOpenCard handler that specifically sets the 
> focus to the correct field.
> e.g. focus on field 1 
> 
> Cheers,
> Sarah
============
Mr. Rice, 

Remember also that  focus on field 1    displays the cursor at the same 
position at which it was previously. To positon the cursor at the 
beginning/end of the field and have focus, use in the preOpencard handler  
select before/after field 1 

miscdas



More information about the use-livecode mailing list