Rafael, I wrote a class to do this simply by dropping the class onto a grid. It's on Ed's download page ... look for "Grid Drag/Drop Class". It is simple to use and you don't need to subclass anything.
Dave Crozier -----Original Message----- From: ProFox [mailto:[email protected]] On Behalf Of Rafael Copquin Sent: 25 November 2013 20:22 To: ProFox Email List Subject: drag and drop Hi all I need an example on how to drag a cell from a grid into another cell of the same grid. I am building a cash flow form that shows income items and expense items by weeks in a grid The first line of the grid is the beginning balance of cash then come several lines with income accounts then a line with totals that are the sum of the beginning balance plus the total of the income accounts then several lines with expense accounts a line for the total expenses finally, a line with the ending balance The ending balance is then carried over to the first line of the next column and the process goes on and on The objective here is to enable the user to move totals of either incomes or expenses to other columns, making the balances in the totals lines change accordingly, to simulate cash flows in different weeks (each week is a column in the grid) I know I have to use the drag and drop properties and events in the grid but..... Rafael Copquin [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

