After redimensioning the array. Scan it finding the first one that is > then
what you are adding. Use AINS() then place it here.

OR

use ASORT() after adding the array.

The mover class does have the MoverBars enabled, which ASORT would be
detrimental to.

Tracy


> -----Original Message-----
> From: Paul Newton
> Sent: Tuesday, December 05, 2006 12:17 PM
>
> Hi all
>
> I need some help/suggestions regarding a mover class for
> VFP6.  I have
> been looking at the mover/supermover class that ships with
> VFP6 and it
> is more or less what I want with the following shortcoming -
> I want the
> lists (left/source and right/target) to be always sorted.  So
> if I start
> with this
>
> A   --
> B   --
> C    --
>
> and move B to to the right and then back again the source
> will still be
> A, B, C (and not A, C, B as happens now).  Similarly if the user user
> moves first C and then B from "ABCDE" the right side should end up as
> "BC" (not C,B as happens now).
>
> So I am looking for an alternative mover class OR suggestions for
> modifying (or subclassing) mover/supermover to achieve this - without
> breaking the original class.
>
> Thanks




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to