|
by: Matt Sawyer |
last post by:
Hi,
I'm attempting to do a drag and drop operation from one listbox to another.
I have my listboxes setup with SelectionMode = MultiExtended so that I can
use the shift key, cntrl key, etc. to make multiple selections.
The problem I am having is that when I use the shift key to select a range
of items, I first click on one item (item gets highlighted), then, holding
down the shift key, I select another item (the range of items gets...
|
by: AK |
last post by:
Hello,
Listbox mulitselect property is set to true (extended).
I am trying to implement drag and drop feature for a listbox. The drag &
drop is done in the mouse move event (DoDragdrop function is called in mouse
move event). I am facing two problems:
1. First is that when shift key is pressed and left mouse button is down.
The listbox does not give the correct count of selected items. It gives only
one item as selected...
|
by: James Radke |
last post by:
Hello,
I was curious, is it possible to create drag and drop interface from listbox
to listbox on a webform application (i.e. vb.net)? Basically the
application would need to load multiple listboxes with values from a
database, allow the user to drag and drop from a listbox to a different
listbox and would 'move' the item and update the database accordingly?
If so, would anyone have any examples of how to do this?
|
by: Dean Slindee |
last post by:
In a checked listbox, I am allowing drag/drop of the items within
(resequencing). Problem is, when dropping a checked item, the checked state
always reverts to unchecked (unwanted). Anyone know how to set the checked
state of a checked listbox item in code. Here is the drag/drop code, which
works fine, except for unchecking the dropped item:
Private Sub clbQueryItems_DragDrop(ByVal sender As System.Object, ByVal e As...
|
by: andrew nott |
last post by:
Can anyone tell the the recommended way of performing mutiple-item drag-n-drop from a MultiExtended listbox?
The problem is the ListBox selection isn't completed in the MouseDown event, when the drag starts, but in the MouseUp which follows. So neither of the following sequences behave as expected:
1) MouseDown Item 1, MouseUp, MouseDown Item 6, Drag, MouseUp
2) MouseDown Item 1, MouseUp, ShiftDown, MouseDown Item 6, Drag,...
|
|
by: Bernie Yaeger |
last post by:
I've been able to get a pair of listboxes to pass data from one to the other
successfully, but only one selected item at a time. If I change the listbox
mode of both the multiextended, it only passes the item (point) from which
the drag begins. Here's some of the relevant code:
Dim Pt As New Point(e.X, e.Y)
Dim Index As Integer
' Determines which item was selected.
|
by: thomasp |
last post by:
Has anyone got some sample code to do drag and drop from one listbox to
another listbox using VB.Net 2005. The below code works for draging and
droping one at a time, but not for multiselected items. I tried setting up
an array to capture the selected items and then move them with the dragndrop
code, but after selecting the items when the user clicks on the items to
drag them the selection goes back to one item. Also I have code for the...
|
by: Hartmut Dippon |
last post by:
Hi all,
I hope somebody can help me with following problem:
I have an application where I can drag&drop files/dirs from within explorer
onto my form.
If multiple files/dirs are selected I can see that the order I get in my
drop event is not always the same as displayed in the explorer window.
Further more the order changes depending on how many files/dirs are
|
by: piercy |
last post by:
hey i need help creating a drag and drop code from two list boxes. i need it so that if they select multiple items it will drag them across. i also need buttons which will move the selection or all of the values between the two. would someone be able to give me a good kick start in the right direction?
thanks,
piercy
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|