AW: Drag and Drop code

2021-05-03 Thread Jürgen Wondzinski
Hi Mike Funny, I just created a sample for you. See source here: https://1drv.ms/u/s!AujNq3xu6Q4_nYk-vAOY_wxoN97qEw?e=uF4yXu Just a Quick'nDirty Example how you could do a Drag'n'Drop with Grids. In pure coincidence I had a trainee for VFP onmy side, thus we did a learning session out of it. We

Re: Drag and Drop code

2021-05-03 Thread MB Software Solutions, LLC
Done with grids instead:  https://www.screencast.com/t/5X7Mn6QDb5 Honestly, I think I used listviews ONCE in my 26 year history of FoxPro, and that was to echo a processing status on a dedicated Report/Print Server using VFP5/6 on a Novell Netware client network at KePRO, Inc in Harrisburg, PA

Re: Drag and Drop code

2021-05-03 Thread MB Software Solutions, LLC
Hi wOOdy! Oh believe me...grids would be S MUCH EASIER   I'm gonna rebuild this with grids insteadbut my meeting with the Team Captains was tonight at 8pm so I wasn't sure I'd get it done in time.  SWMBO wants to go grab some dinner now too.  Ugh. Yes...I wanted to grab between s

RE: Drag and Drop code

2021-05-03 Thread Jürgen Wondzinski
Just wondering: Why not use Grids with AllowCellSelection = .f. and HighLightStyle = 2 ? You'll get so much more possibilities (optical as well as technical) in comparison to Listboxes But back to your problem: So you want to drag players from the left list to any of those Team groups as well a

Re: Drag and Drop code

2021-05-03 Thread MB Software Solutions, LLC
Funny you should mention the latter (http://www.aksel.com/whitepapers/DragDrop.htm).  I found that on Google search right after firing this post into the group here. His example fails LPARAMETERS oDataObject, nEffect, nButton, nShift, nXCoord, nYCoord, nState IF oDataobject.getformat(1)    Lc

Re: Drag and Drop code

2021-05-03 Thread Frank Cazabon
Might help you with the debugging: OLE Drag and Drop | Hacker’s Guide to Visual FoxPro (hackfox.github.io) Might help with specifics: Using Drag and Drop In Visual FoxPro (aksel.com) Frank. F

Drag and Drop code

2021-05-03 Thread MB Software Solutions, LLC
Many many moons ago I did some drag and drop code, but I have forgotten completely and it's no longer in my possession anyway. I want to drag names amongst a screen full of listboxes: https://www.screencast.com/t/6M8XxvSFV I know I need to code in the OLEDragDrop event and native VFP Help suc

Re: VFP9 (and VFPA) on Windows 10 -- wish Mr. Chen would fix the visual bugs!

2021-05-03 Thread Eric Selje
If you haven't seen it, check out my VFPA Whitepaper from SWFox a couple of years ago. Page 9 addresses this issue, but you do have to "enable" the fix because VFPA leaves VFPs default set by default for maximum compatibility. Eric