I don't need to do this right now, but I know that in due course I'm going
to need to arbitrarily reorder lines of a list field.
My idea of how to do this is to drag the lines to where I want them, which
is how I do it currently in hypercard, using windowscript ( - a type 2 xcmd
that isn't compati
>Has anybody scripted drag-reordering of lists?
>
>martin baxter
>
Martin,
The following is my technique for reordering in HyperCard and also for
moving from field to field on a single card. This is my to do list (in
various categories), calendar and generally where I spend most of my life.
It
Martin,
> It seems that a revolution listfield (with "autohilite" "listbehaviour" +
> "click to toggle" checkboxes all true) wants to scroll the hilited line to
> the vertical centre of the field, at all times, and of course that's
really
> undesirable here, I want it to stay where it was when I
On Tuesday, February 26, 2002, at 03:18 AM, Ken Ray wrote:
>> It seems that a revolution listfield (with "autohilite" "listbehaviour"
>> +
>> "click to toggle" checkboxes all true) wants to scroll the hilited line
>> to
>> the vertical centre of the field, at all times, and of course that's
> r
On Tue, 26 Feb 2002 Jacqueline Landman Gay <[EMAIL PROTECTED]> wrote:
> On Tuesday, February 26, 2002, at 03:18 AM, Ken Ray wrote:
>
> >> It seems that a revolution listfield (with "autohilite" "listbehaviour"
> >> +
> >> "click to toggle" checkboxes all true) wants to scroll the hilited line
Scott,
> I must be missing something: the engine *never* centers a selection,
> and the only time it changes the scroll at all is if you select a line
> with a script that would not otherwise be visible in the field. Now
> someone might make an argument that having the default be to allow an
> i
> I must be missing something: the engine *never* centers a selection,
> and the only time it changes the scroll at all is if you select a line
> with a script that would not otherwise be visible in the field.
Hm. I just did a test in MC 2.4.2b1 and it doesn't happen any more. Did
something cha
On Wednesday, February 27, 2002, Ken Ray wrote:
>
> I just tested this in 2.4.1 and it still centers - I used my example and
> "set the hilitedLines of field 1 to 6" and the field scrolled up as far as
> it would go, showing 5,6,7 and 8 with line 6 hilited.
Same here with 2.4.2b1.
--
Jacqueline
After investigation I conclude that, it is setting the hilitedline[s] from
a script that has the side effect of vertically centering the line.
The transcript dictionary doesn't mention it affecting the scroll at all
never mind this 'eccentric centering' behaviour (if one can say such a
thing), wh
I'm wondering what the easiest way is to implement this feature. I
have a normal list field with items that I'd like to be able to click
and drag up or down.
I'm contemplating using mouseDown to grab them and, upon mouseUp,
measure which line it is closest to and move it. I'd also need to come
up
Martin,
Thank you for a very explanative description of the problem. It is
interesting that the "select line x of field y" works properly...
Hopefully it can be fixed for the next release,
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
Recently, Jared Smith wrote:
> I'm wondering what the easiest way is to implement this feature. I
> have a normal list field with items that I'd like to be able to click
> and drag up or down.
> ...
> I wish this functionality was included, but anyway if
> anyone can think of a real easy way to do
Wow! The script looks complicated but it's exactly the functionality I
wanted (but didn't think I could get). Thank you!
On 6/16/06, Scott Rossi <[EMAIL PROTECTED]> wrote:
Recently, Jared Smith wrote:
> I'm wondering what the easiest way is to implement this feature. I
> have a normal list fiel
You could look at the code in Navigator, which does this. An older
version is in your plugins folder; it implements drag and drop with a
line showing where the drag will end up. The latest version
implements drag and drop in a different way, making the change
immediate as you drag. You can
In one of the products I built, I use dragShield, which Jan Schenkel wrote
some time ago. It doesn't appear to be in RevOnline any longer but an email
to [EMAIL PROTECTED] might uncover it once he returns to Belgium from
Monterey.
I found it easy to implement and it's 100% reliable.
--
~
On 6/19/06 10:23 AM, "Dan Shafer" <[EMAIL PROTECTED]> wrote:
> In one of the products I built, I use dragShield, which Jan Schenkel wrote
> some time ago. It doesn't appear to be in RevOnline any longer but an email
> to [EMAIL PROTECTED] might uncover it once he returns to Belgium from
> Monterey
Here is a script I wrote for drag and drop buttons. I wrote it a few
months ago when I was just starting out, so there may be some bad
coding conventions!
It creates a group of buttons from a data field, and colors them
gradually from green to blue (!)
Then, the user can drag them whereve
17 matches
Mail list logo