Re: On Drag Over Behavior

2019-02-14 Thread Chip Scheide via 4D_Tech
right - On Drag Over - return a value to allow/stop the drop event On Drop - do NOT return any value > >> Also, if the “On drop” event code has $0, make sure $0 returns 0 or >> simply (for the moment) comment out the $0 line. > > Yes Hell is other people Jean-Paul Sartre

Re: On Drag Over Behavior

2019-02-14 Thread John J Foster via 4D_Tech
Hey Chip, I do understand how to get what I want but it appears that the UI optics have changed from earlier versions. However, thanks for sharing your logic and code fragments. John... > conceptually - 4D should do the cursor change for you > > (declaimer: not v17) > I have selection list

Re: On Drag Over Behavior

2019-02-14 Thread John J Foster via 4D_Tech
Hi Jeremy > Have you checked the property inspector for the drop variable? Yes. > In particular are these 2-properties check-marked for the drop variable? > 1) “Droppable” in the “Action” theme > 2) “On drop” in the “Event” theme Yes > Also, if the “On drop” event code has $0, make sure $0

Re: On Drag Over Behavior

2019-02-14 Thread Keisuke Miyako via 4D_Tech
I think the cursor no longer changes automatically in 4D cocoa (64-bit), v16 and above. 2019/02/15 9:48、Jeremy French via 4D_Tech <4d_tech@lists.4d.com>のメール: Then try dragging to the drop variable. When the pointer is over the drop variable, does the cursor

Re: On Drag Over Behavior

2019-02-14 Thread Jeremy French via 4D_Tech
Have you checked the property inspector for the drop variable? In particular are these 2-properties check-marked for the drop variable? 1) “Droppable” in the “Action” theme 2) “On drop” in the “Event” theme Also, if the “On drop” event code has $0, make sure $0 returns 0 or simply (for the

Re: On Drag Over Behavior

2019-02-14 Thread Jeremy French via 4D_Tech
Hi John, Using the pasteboard for drag and drop is so much easier. 4D changes clipboards briefly during the drag and drop events. Whatever was in the pasteboard **before** “On Begin Drag Over” is restored **after** the “On Drop” event completes. This means you can store drag information in

Re: On Drag Over Behavior

2019-02-14 Thread Chip Scheide via 4D_Tech
conceptually - 4D should do the cursor change for you (declaimer: not v17) I have selection list boxes which I allow the user to drag data from other list boxes in other windows/processes. In the On Begin Drag Over I setup a process variable, ptr_Drag_n_Drop_Source, which holds a pointer to the

Re: On Drag Over Behavior

2019-02-14 Thread Keisuke Miyako via 4D_Tech
Hello, you can use SET CURSOR 9019 for no-entry, 9016 for plus. https://doc.4d.com/4Dv17/4D/17/SET-CURSOR.301-3729694.en.html > 2019/02/15 1:55、John J Foster via 4D_Tech <4d_tech@lists.4d.com>のメール: > > I have an interface with an Listbox on the left side and four text variables > on the

On Drag Over Behavior

2019-02-14 Thread John J Foster via 4D_Tech
Hi All, V17R4 Mac I have an interface with an Listbox on the left side and four text variables on the right. When I drag over the text areas I want the variable to reflect that It’s in a receptive drop state. I am dragging some concatenated data that drops on top of the variable. This works