Skip to main content

Questions tagged [listbox]

A graphical user interface element that allows the user to select one or more items from a list.

-1 votes
0 answers
20 views

How to set Listbox focus when clicking inside a control in the DataTemplate [closed]

I came accross this question : Focusing Listbox item when a control is clicked inside datatemplate OP is trying to set the selection of a list box when the user clicks on one of the control in the ...
Sylvain's user avatar
  • 11
-1 votes
0 answers
95 views

The checkboxes that I created in listbox don't exist in the C# code [closed]

I created multiple checkboxes inside a listbox, but when I try to use these checkboxes in the C# code, it can't find them, but a checkbox outside the listbox is found normally. This is the XAML of the ...
Mostafa Sedik's user avatar
0 votes
2 answers
34 views

After loading a userform, the first click on a listbox does not select the clicked item

After loading a userform, the first click on a listbox does not always result in the clicked item being selected. It seems to take 1 click to first wake-up the listbox and a 2nd click to start ...
Michael's user avatar
  • 4,783
1 vote
1 answer
62 views

Visual Foxpro 9 : Object ListBox

I need to display results in a cursor, which is received by the variable cListData. I need to display these results in a list object, so I have chosen RowSource = "aListData" and ...
Dan Tag's user avatar
  • 21
0 votes
0 answers
30 views

Python // Freezing Tkinter Window

coming from an amateur level of javascript I just started messing around with python and tried to write a small script that checks if a lock file (selected by the user) exists over and over again and ...
Rob's user avatar
  • 1
0 votes
0 answers
29 views

DropDownList closes immediatly after open in template in ListBox

I have two connected listboxes. First listbox has list of divs with unique dropdownlist in it. I want have opportunity to select and change value in any of that dropdownlist and drag and drop one of ...
lcnw's user avatar
  • 117
-1 votes
1 answer
56 views

ListBox child element filling [duplicate]

<ListBox x:Name="myData" ItemsSource="{Binding Data}" Background="{StaticResource TransparentColor}" Grid.Row="1" BorderBrush="{...
user25272107's user avatar
0 votes
1 answer
40 views

ObservableCollection stopped updating consistently with WPF Listbox

I am using WPF and have a Listbox that I have bound in the code behind to an ObservableCollection. It is displayed in multiple views and has worked perfectly (adding/removing, & staying in sync ...
ZadiusC's user avatar
  • 11
0 votes
0 answers
19 views

add items from one List View to another List View using pywinauto

I am trying to automate a desktop application where I have to drag items from a list view and drop it into another list view. How can I do it?? Source List View: avl_fields = app.TestWindow....
Radha Yamini's user avatar
0 votes
1 answer
33 views

I'm trying to select an item from listbox1 and replace the values in textbox1 accordingly

This is just a sample code for people who will try to do something similar. Is an example of the code: if (listBox1.SelectedIndex >= 0) { string strok = listBox1.SelectedItem.ToString(); ...
user25391876's user avatar
-1 votes
1 answer
54 views

how do i make a window panned tkinter GUI

here is my code. with it I can open and play an album of lovely music, which displays the tracks on the vertical black left hand pane. I have been trying to make said window "pannable" so i ...
NMW81's user avatar
  • 1
0 votes
0 answers
29 views

I want add item to listbox to class to another form at first time it works perfectly but next time I get "Object not set to an instance of an object"

public ClsLogs(Form frmmain) { _frmmain = frmmain; } public void Logs(string ex) { ListBox ls = _frmmain.Controls["listbox1"] as ListBox; if (ls != null) ls....
hesam's user avatar
  • 1
-2 votes
1 answer
61 views

How do I add Listbox as a panedWindow Tkinter GUI?

Can someone show me how I can add a listbox to panedWindow? Take this code for example: can the left-hand window be made into a listbox? from tkinter import * m1 = PanedWindow() m1.pack(fill=BOTH, ...
NMW81's user avatar
  • 1
0 votes
0 answers
48 views

Primevue Listbox with virtualscroller hides all items

I have Primevue listbox with 20+ items which gets too long for my page. Following the example on https://primevue.org/listbox/#virtualscroll I added :virtualScrollerOptions="{ itemSize: 38}",...
user25225169's user avatar
-1 votes
1 answer
70 views

Populate listbox at Initialization [closed]

Related post: VBA Userform ListBox - Run-Time Error 380. Could not set the List property. Invalid property value @taller helped me streamline command button code for searching records in a listbox. I ...
Yodelayheewho's user avatar

15 30 50 per page
1
2 3 4 5
790