Headed List track mouse over for kDrop
Mike Matthews - Omnis
omnis at lineal.co.uk
Mon Sep 23 05:41:53 UTC 2024
Thanks Doug,
I’m trying to get the line to show. Hmmm. I wonder if it is inly shown if you want to drag a line and add it to the new list, not replace an existing line?
Mike Matthews
Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>
omnis at lineal.co.uk<mailto:mike.matthews at lineal.co.uk>
www.lineal.co.uk<http://www.lineal.co.uk/>
www.sqlworks.co.uk<http://www.sqlworks.co/>
On 22 Sep 2024, at 23:23, Doug Easterbrook via omnisdev-en <omnisdev-en at lists.omnis-dev.com<mailto:omnisdev-en at lists.omnis-dev.com>> wrote:
Caution: This is a message which has originated from outside the organisation. Ensure the sender is trusted and the content is safe before opening links or attachments.
you can tell where the line is going to be dropped in evDrop
dropLine is a local var, integer
on evDrop
calculate dropLine as mouseover(kmLine)
I’ve done a lot of drag and drop between lists. I’ve never highlighted the line that its going to be dropped onto because Studio puts a black line between one row and the other on the ‘list you are dropping on’ and does so automatically (at least it does for me in Studio 10.2 through 11.2, which are the only versions of Studio I’m working with at the moment).
If you were to highlight the line in the list where something was to be dropped you would have to
deselect all lines in the list
select the list line at ‘dropLine’
redraw the list.
might make the interface slow.
so, I’d just use the line that is shown automatically by omnis when dropping since it doesn’t change the current line or selected lines not he list you are dropping onto.
Doug Easterbrook
Arts Management Systems Ltd.
mailto:doug at artsman.com
http://www.artsman.com
Phone (403) 650-1978
On Sep 22, 2024, at 5:55 AM, Mike Matthews - Omnis via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
Hello All,
I want to drop a line from another headed list into a second one. As I hover over the second headed list, how do I know where I am, and show where I’m going to either insert/update the line in that second headed list please?
Thanks
Mike Matthews
Lineal Software Solutions
Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>
omnis at lineal.co.uk<mailto:mike.matthews at lineal.co.uk>
www.lineal.co.uk<http://www.lineal.co.uk/>
www.sqlworks.co.uk<http://www.sqlworks.co/>
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list