` Drag and Drop basics (Steven Gallafent ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

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 April 26, 2024, 6:45 pm
This article has been viewed 35127 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: