Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Par2: Drag and Drop basics 1999-08-23 -- Steven Gallafent If you have set the drop signature correctly on the target control you
should have an EVENT:Drop control event. This is where the code for the drop
action goes. A quick example follows.
Assuming that you're dragging records in the Employee file and the file has
a unique ID:
Drag browse, control event handling, EVENT:Drag:
BRW1.UpdateViewRecord
SETDROPID(Employee:IDField)
Drop control, control event handling, EVENT:Drop:
Emp:IDField = DROPID()
Access:Employee.Fetch(Emp:IDFieldKey)
! Do whatever you want here
Today is November 21, 2024, 8:34 am This article has been viewed 35349 times.
|
|