Most voted "listbox" questions
28 questions
Sort by count of
-
4
votes2
answers372
viewsHow to show 2 rows in Listbox
It’s a simple question, but I did some research, and I couldn’t find anything specific to my case. The code below corresponds to searching for data in a table, but when there is more than 1…
-
3
votes3
answers569
viewsListbox - how to show full product name and bring up another column of values
I have this ListBox. When loaded he wears one txt file being like this: Code to load the ListBox: private void frmOrdemServico_Load(object sender, EventArgs e) { string[] d =…
-
2
votes2
answers3424
viewsHow to clean Listbox
How to clean a ListBox? I did it this way but it didn’t work: private void LimparListBox() { //lbxResumo.Text = ""; lbxResumo.ClearSelected(); } private void btnLimparList_Click(object sender,…
-
2
votes1
answer76
viewsVBA- Add entire row in a Listbox
I’m trying to add an entire line to a listbox, based on the result of a search .Find, the idea is to find the value that matches the searched term it adds each line that contains this value in the…
-
1
votes2
answers792
viewsUSERFORM: I can’t remove items from my Listbox (Error 80004005)
I have a Listbox in a Userform that I "reconstruct" based on a Textbox that I use as a filter. The idea is to bring all items to the list with Rowsource and remove all items that do not contain…
-
1
votes1
answer37
viewsReorder Listbox with Drag and Drop
Good morning friends! I have a Listbox in my application C# Windows Form. I’d like a way to use the events Drag-n-Drop for reorder the items within the listbox the way the user wants it. Basically I…
-
1
votes1
answer30
viewsProblem with checkedListBox + drag-n-drop
Good morning, I have a problem with the component checkedListBox of my application C# Windows Form. In the following code I am using drag n drop to reorder items from checkedListBox, what is working…
-
1
votes1
answer574
viewsReset a dynamic array - Redeem or Erase?
I have a UserForm with three OptionButton and three ListBox. When opening the UserForm all three ListBox are loaded with different texts, because each one relates to a type of data as is explicit in…
-
1
votes1
answer53
viewsPlace only one item per line in a Listbox
my listbox is putting two or more items in the same row when it fits. How can I force it to put an item per line? Follow the code below: html <asp:ListBox ID="OC02_SERV_SOL" runat="server"…
-
0
votes0
answers344
viewsUSERFORM: Move Listbox item up or down
I have a Listbox in a Userform that reflects a list of the order of display of the items in a Dashboard. I want the user to be free to change the order of these items by moving them down or up in…
-
0
votes1
answer1926
viewsCount the number of selected items in a Listbox
I have a list ListBox1 in a userform configured for multiple item selection. There is some function, statement, or way to return the number of selected items?
-
0
votes1
answer3790
viewsCheck if a Listbox item has been selected
I have a list ListBox1 q a check box ChckBox1 in a Userform. I want to activate or inactivate the checkbox (CheckBox1.Enabled = True/False if an item in the list is selected. The check-box is…
-
0
votes2
answers5617
viewsExcel VBA delete Listbox item
I’m having a hard time deleting an item from a listbox. The code works like this: will have the listbox with the list, and when the user wants to delete some item, he clicks on a button that opens…
-
0
votes1
answer1105
viewsAuto complete when typing any part of the word
How can I self-cmplete the text when typing any part of an information inside the Listbox using VBA? Example: When typing the "Santos" all options containing that word will be listed / presented in…
-
0
votes1
answer77
viewsHow to use Topindex in Delphi FMX?
Greetings. In Delphi VCL Listbox has property Topindex. And in Delphi FMX how to use this? Thanks in advance.
-
0
votes1
answer19
viewsI would like to send data from a txt(read) file to a listbox
For example: File reading string [] linhas = File.ReadAllLines("ip.txt"); Console.ReadLine(); I did the file reading, now I want to throw them in a ListBox, how to do?…
-
0
votes1
answer18
viewsShow some columns in Listbox
I am building a system for my company, where when I click on a button it is bringing me all the columns of the table, but I would like to specify which columns I want to display. Since these columns…
-
0
votes1
answer514
viewsListbox - Multiply values and move to another Listbox
I have 2 Listbox. When I pass a value to the other Listbox opens a screen to enter the amount I want of that product. That said, it will take the quantity * value and show in the other Listbox. Code…
-
0
votes1
answer278
viewsI cannot delete record of the sqlite database selected in the listbox
After formatting the record display in the listbox ('{} Cellular: {}'. format(name, cell phone). lista = self.cur.execute("SELECT * FROM lista") for nome, celular in lista: self.listbox.insert(END,…
-
0
votes1
answer284
viewsHow to get the listbox to be ordered increasingly?
Hello! My C# project has a listbox that lists numbers typed by the user. What I want to do is that these numbers are constantly being updated increasingly in the listbox. I tried to use the Sorted…
-
0
votes0
answers9
views -
0
votes1
answer668
viewsHow to add content to the Excel VBA Listbox
Hello, I have a question in a code for Excel VBA. I want the code to search in the spreadsheet the same number that was entered in the TextBox, after finding it sends the information of the entire…
-
0
votes1
answer1488
viewsError 381 listbox.list VBA
Hello! Basically I need to add up the values of listbox, only my program is showing the following error. Runtime error '381': Could not fetch List property. Invalid property array index. Private Sub…
-
0
votes0
answers106
views -
0
votes1
answer112
viewsAdd items to listbox
Good afternoon, you guys It’s a very stupid question, because I’m starting in vba programming and I’m not being able to correct this error. I’d appreciate it if someone could help me I would like to…
-
-1
votes0
answers4
viewsPass a multiline Textbox to vertical listbox (excel - vba)
Good afternoon guys, I have a textbox for registering production orders, multiline textbox to add up to 10 orders in the same box, but when releasing this data from the textbox to listbox they do…
-
-1
votes1
answer204
viewsVBA Listbox Automatic Filter
You can help me, I’m trying to make mine listbox load the spreadsheet 3, but he carries only the first line Sub Filtro() Dim linha, linhalistbox As Integer Dim valor_celula As String linhalistbox =…
-
-1
votes1
answer29
viewsListbox with synchronized selection
Hello! I am studying about Tkinter and I would like to know if it has how to make the two Listbox that I create, have synchronized selection, and also if it is possible to do the same thing with the…