779
questions
0
votes
1
answer
32
views
VB.net Multiple ListBox Selected Items carried into to separate form
Not even sure if what I am trying to do is possible. My goal is for the user to select multiple items from a list box. which are file names and be able to plot the data that's in the files on a ...
0
votes
0
answers
16
views
How to access controls inside a ListBoxItem?
I have a Listbox that each ListBoxItem is made of: a CheckBox, a TextBox and two ComboBoxes.
I'm populating the ComboBoxes with the code behind as each represent different attributes.
The ListBox is ...
0
votes
0
answers
46
views
Items are added to a listbox as well as the number of fillings. New items added makes the number of fillings for the other items the same
I have created kisok program in C#, Windows Forms that adds a sandwich name, price, and number of selected fillings to a listbox when that specific sandwiches picturebox has been clicked on. The ...
0
votes
0
answers
29
views
vba code in excel unable to automatically select the listbox item after input data into the search field with selenium
I want to automatically select the specific listbox item after I input the keyword into the search input box, just like my attached photo, but it is failed after I tried to use the findelementbyId or ...
0
votes
0
answers
44
views
Bind value to selected items
I need to use data from main menu in another method that involved sub menu and main menu. But selected item can only bind two value. I tried another way but it seems the value cannot be retrieved or ...
1
vote
0
answers
36
views
Powershell XAML with a ListBox
This my first Question !
In the following code in Powershell, I can't bind a collection of objects to a listBox.
The listbox remains empty
I create a collection called dgSourceData in which usernames ...
0
votes
1
answer
129
views
How to highlight certain part of text in listbox with one colour when the background is in different colour in WPF?
I have these functions that will look into highlighting text in listbox. It works but now I am struggling with the part which will highlight a certain part of the text. For example, when you have &...
0
votes
0
answers
297
views
Avalonia UI ListBox Styles Data Binding with Reactive UI
I am creating an Avalonia ListBox with Avalonia 11.0, and trying to enable or disable ListItem programmatically using ReactiveUI. I have binded AvaloniaList<> to the ListBox. But I am unable to ...
0
votes
1
answer
73
views
How to make ListBox automatically add a ScrollBar and not change the height of the Listbox?
How to make ListBox automatically add a scrollBar, not change the height of the Listbox, when the content is updated?
I made a form that stretches and allows you to see more rows in the ListBox ...
0
votes
0
answers
16
views
Passing a list to use as Access 2016 Query criteria
I have a list of users with different access levels (ie. 1,2,3) in one table called Managers. I want to get a list of users with an access level of, say, 2 (John, Sally,Bill) and make them the filter ...
0
votes
2
answers
111
views
WPF ListBox item scroll/setting a new position when clicking and showing a drop down menu does not work
I have a ListBox control where I have some custom items with custom drop-down menus(my question from a couple of days ago - How to show a ListBox item outside the ListBox control and over all other ...
0
votes
1
answer
206
views
On VBA (excel), is it possible to clear a listbox's display values without clearing the datasource?
Here is how I establish the listbox:
Dim iRow As Long
iRow = [counta(Tally!A:A)]
With TallySheet
If iRow > 1 Then
.lstdatabase.RowSource = "Tally!A2:E" & iRow
Else
...
0
votes
1
answer
736
views
How can I reference a specific column of a selected object in a VBA listbox?
I have a listbox compiling information from a worksheet onto a userform. I am trying to figure out how to use the value of a column from the selected object on the listbox.
For instance, this is my ...
0
votes
1
answer
60
views
Why is my listbox throwing a NullReferenceException?
As a project, I've been making the visual part of a library database. One of the screens required is a display of all things pulled from a SQL request. This much seems to work. However, I'm getting ...
0
votes
1
answer
413
views
C# string with comma separated numbers
I have a series of numbers, comma separated, stored in SQL server.
These numbers are the IDs of a Listbox.
How can I select the Listboxes in C# based on the stored comma separated string?
...
0
votes
0
answers
27
views
I have this listbox and want get filter policy type & coverage type
<div class="col-lg-4 col-md-12 col-sm-12 col-xs-12">
<div class="chosen-select-single mg-b-20">
<label style="color: red;">*</label>&...
1
vote
0
answers
25
views
How would I make selections from one listbox show the selected items in a second listbox?
I have a listbox (lstbx1) that shows conversion options (Miles to KM, KM to miles, etc). I am pulling these from a text file. I want to show the final conversion in the second listbox (lstbx2). How ...
0
votes
1
answer
43
views
ListBoxItem with Runs does not allow mouse selection on text
I'm creating a ListBox with items that have a portion of the text highlighted. This would normally be a search term, but for this simple example I'm just using "NEW". The highlighting ...
0
votes
1
answer
1k
views
Userform Listbox selection & Value update based on column
I am creating an userform where user can select existing materials, and input stock quantity.
Process:
Userform open
User will select which stock column to input values (Stock1 ~ Stock10).
User will ...
1
vote
1
answer
209
views
WPF ToolTip for a ListBoxItem has display issues when tooltip changes from collapsed to visible
I've an issue with trying to display a tooltip for listboxitems in WPF. So here's what I have for main control:
<Grid>
<Grid.Resources>
<DataTemplate x:Key="...
0
votes
1
answer
128
views
Populate a WPF Listbox with Images
I am trying to populate a listbox with some images (3 of them), the images are coming from within my application, but I cannot seem to get this to work. I need to know which image is selected so that ...
-1
votes
2
answers
463
views
How to add style for every listbox.Item in code behind?
i am trying to add different styles for every listbox.Item in my project. Can anyone help me about that?
`
foreach (var item in orderList)
{
var itm = new ...
0
votes
0
answers
77
views
Python Same Row Selection in Multiple List Boxes
My problem is i can not select all same row datas in multiple listboxes in python-tkinter. Currently I have 5 different list boxes .I am using Python and tkinter.Also i am using one Excel workbook ...
-1
votes
1
answer
73
views
How would I show custom text AND calculations in a list box?
(Picture is attached for reference)
I need to have "Year x:" followed by the calculation in a list box. I can get the calculations (incorrectly so far), but I'm not sure how to add the "...
0
votes
1
answer
1k
views
Select a item from an Autocomplete Material UI Listbox in Cypress
This is the element.
<input aria-invalid="false" autocomplete="off" placeholder="Category" type="text"
class="MuiOutlinedInput-input MuiInputBase-...
0
votes
0
answers
140
views
how can i populate my list box from mysql table and build a basic search engine?
I am building a basic search function with autofill part of an entryform in tkinter where the user inserts prescription details in a database. The user types the name of medicine and in a entry box ...
2
votes
3
answers
5k
views
headlessui Listbox dropdown menu interfere with the second Listbox
I am having trouble creating dropdown menus using headlessui Listbox.
There are two listboxes, one at the top and one at the bottom of the page. The problem is that when the top listbox menu is opened,...
0
votes
1
answer
198
views
WPF - How to trigger an event for each element(button) in a ListBox?
I'd like to trigger event for the elemens which is button in a listbox, the view is as below. It is a listbox with 32 buttons.The purpose is to toggle the button between 0-1 and trigger event for each ...
0
votes
0
answers
129
views
Listbox item does not change background after selection in WPF
I followed some answers online but it still fails. In the <Window.Resources> tag I add the following style
<Style TargetType="ListBoxItem" x:Key="ContainerStyle"&...
0
votes
0
answers
44
views
How do I use numbers inside of a ListBox as variables?
I'm extremely new to coding so bare with me. My problem is that i'm trying to make a if statement that basically states the after a certain age, if you have no tickets, you're rate will be blank. So ...
0
votes
0
answers
350
views
How to Select a value in tkinter Listbox by pressing key
I have Listbox with limited values. I want to select List Item by pressing first letter of item in Listbox. I have tryed Listbox.select_set but its not working. Here is my code:-
from tkinter import *
...
1
vote
2
answers
589
views
Why am I not getting the selected value from the tkinter listbox?
`from tkinter import *
pencere = Tk()
başlık = pencere.title("deneme2")
etiket = Label(text="")
etiket.pack()
def göster(event):
etiket["text"] = "%s seçildi.&...
0
votes
1
answer
58
views
How do I add a listbox?
How do I add a listbox, tried many ways but still can't work.
How do I add a listbox, tried many ways but still can't work.
How do I add a listbox, tried many ways but still can't work.
class App:
...
0
votes
1
answer
568
views
listbox ItemsSelected in ms access
I have a form contains of 3 listboxes that will filter my report based on the selected items
in my query I used the below criteria for the combobox and I tried it on the listbox but it does not work!
...
0
votes
1
answer
276
views
How to change the color of a listbox item containing a certain string?
I don't really know the syntax to change colors of certain listbox items.
I want to change the color of all the items inside a listbox containing a certain string.
Code:
string statusG = "Status: ...
1
vote
1
answer
276
views
Why Does VBA Programmatically Created ListBox.List Disappear when UserForm gets Loaded
When programmatically creating and initializing a ListBox on a UserForm in Excel 365 64-bit, with the extensibility add-in reference set, everything starts out as expected; the ListBox is visible on ...
0
votes
1
answer
152
views
Is there a way to find specific letters in a listbox in Tkinter?
This is my first question on StackOverflow. It might not be up to the standards but just a basic query. Can I check for specific letters in a Listbox in Tkinter as the title states?
My code:
...
-2
votes
2
answers
590
views
WPF - Can't add Listbox Item to Listbox (Beginner)
When I try to add Listbox Item to my Listbox ( Properties -> Items -> [...] -> I choose ListBoxItem from the list -> Add ) and then instead of item being added to the list, I get "...
0
votes
0
answers
35
views
When two strings are placed in one line of code, they cannot be displayed correctly
Today I am trying to practice using point to point with C#.
In my expectation, when a computer knows the file's and its IP address through point to point, it will send a request to the target host to ...
1
vote
1
answer
254
views
Centering ListBoxItem content horizontally and vertically in WPF
I'm trying to center the content of my ListBoxItem vertically and horizontally but I can't get it to work.
My style template :
<Style x:Key="myListBoxItem" TargetType="ListBoxItem&...
-1
votes
1
answer
367
views
StackPanel in ComboBox to ListBoxItem
I am making a WPF application for school, and I need to get the content of the ComboBoxItem to the ListBox. I did this with just a regular TextBlock in a ComboBoxItem, but I need to add a button to it ...
0
votes
1
answer
125
views
tkinter listbox double click convert to user input python
I have these two functions that should do the same thing, one includes GUI and the other it's just console based :
Console Based:
global firstword
def two_x_words():
init_find_freq()
...
0
votes
1
answer
26
views
Remove items in the first Lixtbox which is added in the second Listbox
I am making a simple ftp app, when I click the browse button, the full path of the files will be added in the first ListBox. When I click on the Send Files button, it will execute and the full path ...
0
votes
2
answers
529
views
check the item in listbox - vb.net
I'm trying to do is check first the item in listbox if the value in textbox is already in listbox.
Private Sub txtSS_PreviewKeydown(ByVal sender As Object, ByVal e As System.Windows.Forms....
0
votes
0
answers
129
views
C# WPF Disable ListBoxItem Selection in ListBox
I have a ListBox with each ListBoxItem inside containing a label and an image (placed inside border). When I clicked on the image inside ListBoxItem, the ListBoxItem was selected. Is there any ...
0
votes
0
answers
141
views
Not able to change foreground of label in ListBoxItem [duplicate]
Below is the sample code of my WPF xaml file. My intention is to change the foreground of the label in the listboxitem to Red colour when the item is selected. However, no changes was seen on the ...
0
votes
0
answers
43
views
Add 2 lines in listbox.Items.Add
I created a listbox (with winform) which represents a list of services.
I want to add many items in this list and each item should contain two values (Service Id and Service Name)
The goal is to ...
0
votes
1
answer
1k
views
return multiple values from list box tkinter python
I'm trying to return the selection value/s from a list box.
first, I have a combo box in which the user needs to select the area ( A, B, C....)
After the area is being selected, a list box appeared on ...
0
votes
1
answer
1k
views
Unselect item from listbox from pysimplegui
The question pretty straight forward. When I click on an item from the listbox it opens another window with information and buttons. However after closing that Window and hitting the search button (...
0
votes
0
answers
76
views
How select item from listbox and insert it into sqllite3 database
I want to select item from listbox and insert it into the sqllite3 database, the problem that curselection() value is a tuple, and I got this error:
self.cursorObj.execute("""INSERT ...