Listview Drop Down List..
hello, is there any code how can i make a drop down list in a listview? just like adding a new row? help pls?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Listview - Drag && Drop An Item In The List
Is it possible with the Listview control, and if so how, to drag an item in a list and drop it into another position in the list? I also want the index number to change appropriately, but the key for that item to stay the same? Any ideas?
How To Drag Drop From List Box To Either Text Box Or List Box
hello everyone i need to know how to drag drop text from a listbox to another listbox.....
i was able to set it up for a list box to a text box but when i would add another name to it it would erase the previous one...
and really i need it to be a list box so that the user cant type in it...
at the same time i need to know if while you are dragging and droping the file is it possible to grey out the text in the box you are dragging it From.....thanks
Same List Box Drag && Drop And Re-order List
List Box Control Question (Not Listview control)
Can someone show me how to drag and drop a list item
from one position to another in the same list box and have the item list automatically reorder itself?
Thanx!
JC
nnpc@att.net
Drag And Drop From Listview To Another Listview
Hey Guys,
I've think i've tried everything but cant get it to work. I can get it to work to a text box or a list bow but not to another Listview!!
Anyone know how to drag the contents of a listview to another listview??
b
ListView -Drag&&Drop- ListView
Does anybody have an example about how to do a Drag & Drop of items between two ListViews? Any help would be welcome. Thanks, in advance.
Drag N' Drop From List Box To List Box
I have an application that has eight list boxes that pointing to specific directories on eight different machines. The list boxes display the files that are currently on these eight directories and sometimes they need to be moved manually from one machine to another. Currently I have to use network neighborhood to drag n' drop, but I would like to implement this feature into my application so that my users can drag and drop from within the application.
I still consider myself a newbie with programming so detailed information would be appreciated.
Thank you in advance everyone.
-Nielubie (a.k.a. Pete)
*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
Conquering a difficult goal is a lot more rewarding then a simple goal.
*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*
Edited by - Nielubie on 10/31/2004 2:56:44 PM
Drop Down A Drop Down List?
Is it possible to hit a command button and have a drop down list drop down so the user can see all the choices without clicking on it first?
Thanks,
Dan
Drop Down List
I'm trying to walk a user through a form. I would like to make them pick from a drop-down list. How do I get the Macro to go the the cell that contains the drop-down list, pause until the user picks the entry from the list and then continue to the next field with another drop-down list. Please help.
Thanks.
Drop Down List
I am trying to create a drop down list of hyperlinks in word or excel. I have no idea of how to accomplish this. Any help provided will be appreciated.
Drop Down List?
Hey, im trying to make a drop down for a web browser such as File, Edit, Help, etc. How would you do this?
Drop Down List Box
I'm working on an ASP.NET web application with a drop down list box (in a web user control), in which at runtime, a number is added (x+1), etc. for each element in an xml data list. Is there a way to then have a select case function for each item added to the drop down box?
thanks,
Eric
Drop Down List
How can the printer collection be displayed in a Drop Down List? Also, when a printer is selected how can it be set as the default printer in that program only without changing the default for all programs.
Drop Down List
hii.. hw can i build a form with two drop down lists( combo boxes type 0), one for students and the other for their study center code. when this form is loaded fill the lists from the arrays. if the user pulls down one of the list and clicks on a student the corresponding study center code is displayed in the text box of the other list?
thnx for rplyin..
Drop Down List Box
i would like a drop down list box or just a list box on my program that lists all the topics available to read about. What i want is once the user highlights a topic then hits a button it will load up a certain form. Is this possible??
Drop Down List
hello guys
i've create a drop down list with some items in it.I want to click on one of them and open a toolbox that has some buttons,icons,e.t.c. clicking on another item of that drop doun list i want to open diferrent toolboxes and so on.
Greetings from far far far away
Drop Down List
How do I create a Drop Down List? Not to be confused with ListBox or ComboBox....
I want the drop down list to contain four choices Site1, Site2, Site3 and Site4
is there a control ordo I have to write some code??
any ideas???
VBA - Drop Down List
hi to all
I am trying in VBA. I am very poor to use VBA.
How do i get Dropdown List Box value when i click the Button.
i tried like
sheet1.shapes("combo1").name
But no use..
Please help me
Cheers
Drop Down List
I want to create my front screen just as Windows Explorer. Address bar is to be placed. From my point of view it is an Image combo but after writing something on the bar drop down list appears. If any body has tried it please give me your inputs as it is very important in my project.
Drop Down List
Is it possible to have a drop down list with pictures next to the text (like the colours menu attached).
It would be even better if there was just a plain list box with pictures next to text.
and is there also a way to get the picture blocks bigger?
Thanx in advance
-THe_SHadoW
IIS App And Drop Down List...Please Help...
I only have one problem... I want to have a page with 1 drop down list and a submit button... I am writing an IIS app and need to know how to tell which selection the user has selected. Any examples would be helpfull. Like, a drop down list with 2 entries and the code that captures the selection posting a simple message stating which was selected.
Thanks to all for any help. Do I need to use javascript or can I do it within the VB IIS app?
AmigaZoid
Drop Down List
How do I create a Drop Down List? Not to be confused with ListBox or ComboBox....
I want the drop down list to contain four choices Site1, Site2, Site3 and Site4
is there a control ordo I have to write some code??
any ideas???
Drop-down List In RTB
Using a RichTextBox component in a Form, I want to create a drop-down list to modify the letter's size. How can I do it?
Drop Down List
Hello everyone,
I have an easy one for you here. I am trying to make a drop down list with Sir Names in them, i.e, "Mr.", "Dr.", etc. I think that I need to use a drop down list box for this right? Because in a combo box the user can type in a new field and I would not want that. So my question is can I make a list box a drop down and how.
Thank you,
Chris
Drop Down List Box
I have a drop down list box connected to a access data base.
My question:
What is the code to let the user start to type something at the top of the list and will as they type search the list finding the nearest match with in the list. Any help is greatly appreciated.
How To Add To A Drop Down List
How Do I add another item(function) to a drop down menu list.
I have a Menu drop down called Reports
I want to add another item. I am very new to VB
thanks in advance.
Listview Drag And Drop
Hi,
i have a listview set up as a listing of files.
I have the drop function up and running so the user can drop files straight into the list but what i can get working is the drop function.
All i want to be able to do is have the user drag the selected items from the list outside the form and return the address of where the files are to be dropped as a message box.
If anyone can help or point me in the right direction it would be great,
-Dave
Listview Drag && Drop
Hello,
Can someone please point me in the direction of an example of using drag & drop within listview. I've been searching the web and keep coming up empty handed!
What I'm trying to do is something like Winamp does in it's playlist for example. I would like to be able to drag a full row of data and drop it in another row.
Thank you!
Listview Drag N Drop
Hi anyone have any ideas how to create a drag N drop between two listviews? I keep coming up with an error with this code, the line that is red is where the error comes up:
Private Sub lstview1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
Dim c As Long
Set lstview1.SelectedItem = lstview1.HitTest(X, Y)
c = lstview1.SelectedItem.Index
lstview1.DragIcon = images.ItemIndex(3)
lstview1.Drag vbBeginDrag
End Sub
Private Sub lstview2_DragDrop(Source As Control, X As Single, Y As Single)
Dim LI2 As ListItem, LI3 As ListItem, i As Byte
Set LI3 = lstview2.HitTest(X, Y)
If LI3 Is Nothing = False Then
Set LI2 = lstview2.ListItems.Add(LI3.Index + IIf(LI3.Index < Source.SelectedItem.Index, 0, 1), , Source.SelectedItem.Text)
Else
Set LI2 = lstview2.ListItems.Add(, , Source.SelectedItem.Text)
End If
For i = 1 To lstview2.ColumnHeaders.Count - 1
LI2.SubItems(i) = lstview2.SelectedItem.SubItems(i)
Next i
lstview2.ListItems.Remove lstview1.SelectedItem.Index
LI2.Selected = True
End Sub
Drag && Drop In Listview
Hi Everone!
I would like to know, how I can drag & drop rows IN a listview.
I've seen some examples for a listbox, but not for a listview...
Thanks a lot!
Greetz Kevin,
ListView Drag 'n Drop
I have most of the functionality for dragging and item from a listview and setting the text in a textbox to that data. However, when I drag the the item I get a drag icon that to the user code be interpreted as dragging the whole list. Basically, instead of a small rectangle I'm getting a big one. How would I go about fixing it?
Code:
Dim strHolder As String
Private Sub ListView1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Not (ListView1.HitTest(X, Y) Is Nothing) Then
ListView1.HitTest(X, Y).Selected = True
strHolder = ListView1.SelectedItem.Text
ListView1.Drag
End If
End Sub
Private Sub Text1_DragDrop(Source As Control, X As Single, Y As Single)
If TypeOf Source Is ListView Then
Text1.Text = strHolder
End If
End Sub
Private Sub Text1_DragOver(Source As Control, X As Single, Y As Single, State As Integer)
If TypeOf Source Is ListView Then
If State = 0 Then Text1.BackColor = &HFFFFC0
If State = 1 Then Text1.BackColor = &HFFFFFF
End If
End Sub
Help With Listview Drag And Drop
I have a listview with folders on top with files listed after them. I want the user to be able to drag and drop a file into a folder. I know this can be done with drag and drop, however is there a way to auto scroll up or down when the user drags the file that way.
Thanks
Help With Drag/drop From Listview
I have a ListView control and a number of text boxes.
When I try and drag/drop from the listview to a text box or list box
I get the error 438
'Object doesn't support this property or method'
can any one help ??
Drag And Drop On ListView
Is there a way to use a drag and drop operation on a listview control itself. For example if I wanted to move a file on a listview control to a folder in the same listview control. Can this be done?
Thanks
Listview Drag Drop
How do you drag a row in a list view box an drop it to another part of the list view so that the row is inserted between the two rows where the drop occurs.
Listview Drag And Drop
Does anyone know how I can drag and drop multiple values from one listview to another. Using the listview_OLEDragDrop event I can transfer 1 value, but it doesn't work if my source listview allows multiselect.
Listview Drag And Drop
Hello there,
I have a listview with 3 columns.
I Want to drag the 3 colums to a textbox.
I use the statement CentralMemoListFrm.liMemo.SelectedItem = CentralMemoListFrm.liMemo.HitTest(X, Y) to determine which row us selected.
But this statement selects the text of the first column instead of the third.
Does anybody know how to select the text of the 3 column of the row selected?
Many thankx!!!
Drag+drop Listview
How can I drag at list view item (it should show the icon I specify when it is being dragged) into a richtextbox, then have text go in the rich text box where I drag the listview item to?
Drag And Drop Within Listview
Hi,
I've been using VB6 for a while now, and I've created a couple of programs from it. I've recently started using OLE Drag and Drop to be able to do several things, and all seems well when "copying" an item within the same listview. However, I can't work out how to "move" an item within the same listview. I am able to code it to the point whereby it can detect whether I want to move or copy the item, and whilst I know what to do to copy an item, I do not know how to move an item within a list view.
I hope this makes sense, and if anyone has the answer (which is probably pretty easy), it would be much appriciated.
Tim.
Drag N Drop With ListView
I would like to drag an item from one list to another
I could use a sample and some property settings
Thanks in advance
Thom Boglino
CLC Education
Thom Boglino :)
The Computer Learning Center
727-847-6955
352-683-7255
email@removed
email@removed
*Copyright (c) confidential message. No redistribution.
This message is intended for the use of the addressee
only and may contain confidential or privileged information.
If you have received it in error please notify the sender
and destroy it. You may not use it or copy it to anyone else.
How To Drag And Drop In Listview?
Hi guys,
I'm using VB.NET.
I have a simple application. Just a form, and a ListView.
I have a procedure in the form, it read's all the files in my specificed local drive, and show the files name, size and created day. It works perfectly.
Now, I want add a drag and drop functionality in this application. For example, when I drag a file from my desktop, and drop it in the list box, it will do the following:
- Add the file's name, size and date into the listview
- Copy the file to my another specificed path
My problem is simple, I don't know how to do it! :)
Can anyone give me a sample code and let me figure it out, or give me some hints, advice or anything can help.
Thanks in advance :)
Andy
Drag Drop With A Listview
i have a listview that has to colums. i want to be able to drag an item and drop the information (from the 2 columns) to another part of the form, like a label.
can anyone help me with this????
gkc
Drag And Drop In ListView
Hi,
I am trying to drag and drop multiple items from a listview on to a treeview node which will ultimately be updated in a corresponding table in the database(just like selecting multiple files in windows explorer and copying to different nodes).My problem is I am not able to drag all the items that I select.When I drag only one Item gets selected,Could somebody help me with this problem or give me some suggestions.Any suggestions will be highly appreciated.
Thanks in Advance
Cheers,
Suvipra
Drop Down List Combo Box
I want the user to select one of many options. So first I used I drop down combo box. I didn't like it because the user could enter something. So I changed it to a drop down list combo box. The user can't add anyhting now. My question is how do I reset the textbox? When I start the program the box is blank but once the user selects something is there any way to reset it? I can't make it equal to "".
Any ideas?
Thanks, AL
Picking A From A Drop List
How can I have a Macro prompt the user for a value that is part of a dropdown list and make the macro pause at that cell until selection is made. I'm trying to "Step" the user through a form.
Thanks
Mike
Drop Down List In A Cell
I am trying to accomplish the following:
Excel Workbook has two sheets. The second sheet has accounts and account numbers in Columns A and B.
I would like to have these account numbers included in a drop down menu in cell B5 on the first sheet. I have not been able to accomplish this. I have been able to make this work when everything is on one sheet using the following code:
Dim tmpForm As String
Public Sub Add_Menu()
tmpForm = "=A35:$A48"
Range("B5").Select
With Selection.Validation
.Delete
.Add Type:=xlValidateList, AlertStyle:=xlValidAlertStop, Operator:=xlBetween, Formula1:=tmpForm
.InCellDropdown = True
.ShowInput = True
.ShowError = True
End With
End Sub
Any suggestions would be greatly appreciated.
|