` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

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, 7:02 am
This article has been viewed 35348 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: