You see it in just about every Windows application, so how can you do it in your VB application? Fortunately VB provides built-in tools to make it easy for you. While the code you write to respond to a drag and drop operation can be fairly complex, the me
Tutorial Details:
Visual Basic Buttons Drag & Drop
You see it in just about every Windows application, so how can you do it in your VB application? Fortunately VB provides built-in tools to make it easy for you.
While the code you write to respond to a drag and drop operation can be fairly complex, the mechanics of a drag and drop operation are fairly simple and logical. VB especially handles well the graphical tasks of a drag and drop operation - creating and moving the icons displayed during a drag and drop operation.
Ok, a short description first. Put the mouse cursor over an object on a form, then press and hold the left mouse button. Without releasing the button, move the mouse cursor to a new location. Then release the mouse button.
Was that fun? Either way, what you just did was a drag and drop operation. How your program responded to what you did was entirely up to the programmer of the application. In programs which support drag and drop operations, the cursor changes to an icon (indicating a drag operation is taking place) and when the mouse is released the icon reverts back to a normal cursor (indicating that the drop operation is now over).
VB offers both an automated and a manual way to allow users to perform a drag and drop operation. In either case, just like with common dialog windows, a drap and drop operation is just a method of having a user give you instructions/data, which you must use in code before anything happens.
Read
Tutorial at: Click here to view the tutorial
Rate Tutorial: Visual Basic Buttons Drag & Drop Tutorial
View Tutorial: Visual Basic Buttons Drag & Drop Tutorial
Related
Tutorials:
Commercial applications with Java
Commercial applications with Java |
How to drag and drop with
Java 2 - JavaWorld - March 1999
How to drag and drop with
Java 2 - JavaWorld - March 1999 |
How to drag and drop with
Java 2, Part 2 - JavaWorld August
1999
How to drag and drop with
Java 2, Part 2 - JavaWorld August
1999 |
Enhance your Java application with Java Native Interface (JNI)
Enhance your Java application with Java Native Interface (JNI) |
Product Review:
Kawa 4.0 -
JavaWorld June
2000
Product Review:
Kawa 4.0 -
JavaWorld June
2000 |
Add drag and drop to your JTrees - JavaWorld Tip
97
Add drag and drop to your JTrees - JavaWorld Tip
97 |
Personalize your Website with skins - JavaWorld June
2001
Personalize your Website with skins - JavaWorld June
2001 |
Add ghosted drag
images to your JTrees - JavaWorld
Tips
Add ghosted drag
images to your JTrees - JavaWorld
Tips |
Create a scrollable virtual desktop
in Swing
Create a scrollable virtual desktop
in Swing |
Best tools for
mobile application development
Best tools for
mobile application development |
A first look at JavaServer Faces, Part I
A first look at JavaServer Faces, Part Learn how to implement Web-based user interfaces with JSF |
ULC - J2EE Rich
Clients now on Eclipse
ULC - J2EE Rich Clients now on Eclipse
it is porting ULC Visual Editor to the new Eclipse visual GUI construction and editor platform. The company has been invited to participate in the Eclipse Visual Editor project. Following its decision to contribute |
Excellent
tutorial on Struts and Tiles
Excellent tutorial on Struts and Tiles
This tutorial assumes knowledge of Java, JDBC, Servlets, J2EE (with regards to Web applications) and JSP Struts in a holistic manner, minus the beads and crystals.
The Tiles framework makes creating reusable pages |
Impressive
!
Impressive
! |
Hermes JMS Browser
Hermes JMS Browser
Hermes is a Swing application that allows you to interact with JMS providers.
|
JXMLPad 2.3
JXMLPad 2.3
JXMLPad is a pure Swing java component/framework for editing XML/XHTML document.
|
JXMLPad 3.1 FC
JXMLPad is a pure Swing java component/framework for editing XML/XHTML document. |
Java Beans, Part 1 Introducing Java Beans
The basic idea of the Beans tutorial is to get you to the point where you can quickly create beans. You may want to write new beans from scratch, or you may want to take existing components, applets, or other classes and turn them into beans. |
Servlet Essentials
This document explains the concepts of Java Servlets and provides a step-by-step tutorial for writing HTTP Servlets with complete source code for the example Servlets. The tutorial and the other chapters cover all facets of Servlet programming from a ... |
Parisonz Solutions!
Parisonz Solutions!
W elcome to Parisonz Solutions . The purpose of this web is to Develop and Distribute Projects to Businesses and Individuals though Web. We have a wide range of projects completed online — including software development, web |
|
|
|