Hi Brian,
> Am 29.10.2019 um 18:34 schrieb Brian Milby via use-livecode
> :
>
> In those cases the selection change is a side effect of something else. The
> user isn’t changing the selection, the user is doing something else that
> changes the selection. As this thread covered, the textchan
In those cases the selection change is a side effect of something else. The
user isn’t changing the selection, the user is doing something else that
changes the selection. As this thread covered, the textchanged message is sent.
I think it fully makes sense to only send one of those two messag
I disagree. Having these commands allows developrs to precicely control what
happens during a drag and drop operation, or to prevent drag and drop if they
want to.
Bob S
> On Oct 29, 2019, at 07:58 , Paul Dupuis via use-livecode
> wrote:
>
> On 10/29/2019 9:47 AM, Brian Milby via use-livec
On 10/29/2019 9:47 AM, Brian Milby via use-livecode wrote:
It looks like selectionChanged only reacts to explicit user events (mouse click
or cursor moved via keyboard navigation).
I, for one, would consider user-driven pasting of text or user driven
drag and drop to be 'explicit user events',
Hi Brian,
> Am 29.10.2019 um 14:47 schrieb Brian Milby via use-livecode
> :
>
> It looks like selectionChanged only reacts to explicit user events (mouse
> click or cursor moved via keyboard navigation). If I select a chunk of text
> in another app and drag it in, the same thing happens (it i
It looks like selectionChanged only reacts to explicit user events (mouse click
or cursor moved via keyboard navigation). If I select a chunk of text in
another app and drag it in, the same thing happens (it is selected but no
selectionChanged message). If I script a button to select a chunk,
Hi Hermann,
> Am 29.10.2019 um 13:41 schrieb hh via use-livecode
> :
>
>>> I wrote: Why do you fear "dragxxx"? ;-)
>> You wrote: I really don't!
>
> I really know. Was a 'language' joke, sorry.
AHA! Now I get it (I think)! 8-)
Well my first professional job as a musician (bass player) was a
>> I wrote: Why do you fear "dragxxx"? ;-)
> You wrote: I really don't!
I really know. Was a 'language' joke, sorry.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscripti
Hallo Hermann,
> Am 29.10.2019 um 13:32 schrieb hh via use-livecode
> :
>
>> Klaus M. wrote:
>> Yep, I meant without any "dragxxx" script.
> Why do you fear "dragxxx"? ;-)
I really don't!
But if it works out-of-the box without any dragXXX scripting,
I highly welcome this, lazy moi. :-)
Be
> Klaus M. wrote:
> Yep, I meant without any "dragxxx" script.
Why do you fear "dragxxx"? ;-)
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http:/
Hi Hermann,
> Am 29.10.2019 um 00:55 schrieb hh via use-livecode
> :
>
> Hi Klaus.
>
>>> I wrote:
>>> on dragDrop
>>> if "files" is among the keys of the dragData then
>>>put line 1 of the dragData["files"] -- or whatever
>>> end if
>>> end dragDrop
>>>
>>> on dragEnter
>>> set the drag
Hi Klaus.
>> I wrote:
>> on dragDrop
>> if "files" is among the keys of the dragData then
>> put line 1 of the dragData["files"] -- or whatever
>> end if
>> end dragDrop
>>
>> on dragEnter
>> set the dragAction to "copy"
>> end dragenter
> You wrote:
> .. also tried that, but then the p
If the field is locked you may have to set the dragActio to Copy on mouseEnter
Bob S
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.run
on dragDrop doesn't trigger?
on dragDrop
put the dragData ["text"] into tDragText
end dragDrop
Bob S
> On Oct 28, 2019, at 14:03 , Klaus major-k via use-livecode
> wrote:
>
> Hi all,
>
> quick question LC 9.5 on macOS 10.14.6:
>
> We can drag'n'drop text into textfields and
> this work
Hi Paul,
> Am 28.10.2019 um 22:47 schrieb Paul Dupuis via use-livecode
> :
>
> On 10/28/2019 5:40 PM, Klaus major-k via use-livecode wrote:
>> Hi Paul.
>>
>>> It sounds like a bug that should be reported. If there is text in a field
>>> (regardless of how it go there (paste, drag drop, typ
On 10/28/2019 5:40 PM, Klaus major-k via use-livecode wrote:
Hi Paul.
Am 28.10.2019 um 22:34 schrieb Paul Dupuis via use-livecode
:
...
on dragDrop
if "files" is among the keys of the dragData then
put line 1 of the dragData["files"] -- or whatever
end if
end dragDrop
on dragEnter
Hi Paul.
> Am 28.10.2019 um 22:34 schrieb Paul Dupuis via use-livecode
> :
> ...
>>
>>> on dragDrop
>>> if "files" is among the keys of the dragData then
>>>put line 1 of the dragData["files"] -- or whatever
>>> end if
>>> end dragDrop
>>>
>>> on dragEnter
>>> set the dragAction to "copy
On 10/28/2019 5:25 PM, Klaus major-k via use-livecode wrote:
Hi Hermann,
Am 28.10.2019 um 22:15 schrieb hh via use-livecode
:
on dragDrop
if "files" is among the keys of the dragData then
put line 1 of the dragData["files"] -- or whatever
end if
end dragDrop
on dragEnter
set the dr
Hi Hermann,
> Am 28.10.2019 um 22:15 schrieb hh via use-livecode
> :
>
> on dragDrop
> if "files" is among the keys of the dragData then
>put line 1 of the dragData["files"] -- or whatever
> end if
> end dragDrop
>
> on dragEnter
> set the dragAction to "copy"
> end dragenter
thank you,
Hi Richmond,
> Am 28.10.2019 um 22:19 schrieb Richmond via use-livecode
> :
>
> |local fldState on mouseEnter if fld "fff" is empty then put "0" into
> fldState end mouseEnter on mouseWithin if fld "fff" is empty then -- do
> nothing else put "1" into fldState end if if fldState > 0 then set t
|local fldState on mouseEnter if fld "fff" is empty then put "0" into
fldState end mouseEnter on mouseWithin if fld "fff" is empty then -- do
nothing else put "1" into fldState end if if fldState > 0 then set the
textColor of fld "fff" to red end if end mouseWithin |
On 28.10.19 23:03, Klaus
http://forums.livecode.com/viewtopic.php?f=7&t=33269
Best, Richmond.
On 28.10.19 23:03, Klaus major-k via use-livecode wrote:
Hi all,
quick question LC 9.5 on macOS 10.14.6:
We can drag'n'drop text into textfields and
this works without any scripting.
We can also drag'n'drop one or more file
on dragDrop
if "files" is among the keys of the dragData then
put line 1 of the dragData["files"] -- or whatever
end if
end dragDrop
on dragEnter
set the dragAction to "copy"
end dragenter
___
use-livecode mailing list
use-livecode@lists.runre
Hi all,
quick question LC 9.5 on macOS 10.14.6:
We can drag'n'drop text into textfields and
this works without any scripting.
We can also drag'n'drop one or more files into
a textfield and the filepath appears in the field
where we dropped the file(s).
However there does not seem to be any m
24 matches
Mail list logo