ChrisO
Registered User.
- Local time
- Tomorrow, 01:24
- Joined
- Apr 30, 2003
- Messages
- 3,202
Drag and Drop without Form code.
------------
This is a demo in reply to:-
http://social.msdn.microsoft.com/Forums/en-US/accessdev/thread/13281f30-2d2d-4812-961d-0b0d0bba4564/
Please ask any questions in the above forum.
------------
The frmSimpleDragAndDrop and frmSimpleDragAndDropTarget Forms can be done without Module code.
Two new Forms and one new Module in the attached demo:-
frmSimpleDragAndDrop_New
frmSimpleDragAndDropTarget_New
and one new Module:-
mdlSimpleDragAndDrop_New
Neither of the new Forms has code and HasModule can be set to No.
If a new Text Box, List Box, Combo Box, Option Group or Check Box is required simply copy and paste it in design view.
No additional event handlers are required and no other code changes are needed.
The code follows Doug’s example as close as possible except for the Shift Key.
That may need to be an API call but I didn’t do it in this demo.
A2003 demo attached.
Chris.
------------
This is a demo in reply to:-
http://social.msdn.microsoft.com/Forums/en-US/accessdev/thread/13281f30-2d2d-4812-961d-0b0d0bba4564/
Please ask any questions in the above forum.
------------
The frmSimpleDragAndDrop and frmSimpleDragAndDropTarget Forms can be done without Module code.
Two new Forms and one new Module in the attached demo:-
frmSimpleDragAndDrop_New
frmSimpleDragAndDropTarget_New
and one new Module:-
mdlSimpleDragAndDrop_New
Neither of the new Forms has code and HasModule can be set to No.
If a new Text Box, List Box, Combo Box, Option Group or Check Box is required simply copy and paste it in design view.
No additional event handlers are required and no other code changes are needed.
The code follows Doug’s example as close as possible except for the Shift Key.
That may need to be an API call but I didn’t do it in this demo.
A2003 demo attached.
Chris.
Attachments
Last edited: