Page 1 of 1

Sort Cards

Posted: Sun Mar 24, 2013 10:40 pm
by ncmac
Is it possible to sort the cards of a stack without automatically navigating to the first card? For example, sort cards of this stack by fld "Field" will navigate to card 1.

Re: Sort Cards

Posted: Sun Mar 24, 2013 10:56 pm
by Dixie
nc mac, try...:-)

Code: Select all

on mouseUp
   lock screen
   push card
   -- do your sort
   pop card
end mouseUp
Dixie

Re: Sort Cards

Posted: Sun Mar 24, 2013 11:03 pm
by ncmac
Perfect! Thanks. Is unlock screen necessary at the end of the handler?

Re: Sort Cards

Posted: Sun Mar 24, 2013 11:21 pm
by FourthWorld
It's only necessary to explicitly unlock the screen if you want an update to occur before idle. At idle the screen will redraw on its own.