listbox Questions

2

I have a set of linked subs which work like this: A user types into an ActiveX TextBox A Change Event in that TextBox calls a sub in a Module That Module sub drives updating a named range in a s...
Gruesome asked 26/1, 2015 at 14:51

12

Solved

I am after a statement that will clear all strings / data that is currently in a listBox, I have tried: private void cleanlistbox(object sender, EventArgs e) { listBox1.ResetText(); }
Dark asked 22/6, 2011 at 15:5

8

Solved

We have a standard Access listbox with multiple columns. Is there a way to have integer or currency columns right aligned?
Darrin asked 13/10, 2010 at 18:18

5

Here's my XAML: <ListBox Grid.Row="1" x:Name="lstGames" Background="#343434" > <ListBox.ItemTemplate> <DataTemplate> <Grid ShowGridLines="True"> <Grid.ColumnDefinit...
Lear asked 14/5, 2011 at 23:48

7

Solved

Although somewhat experienced with writing Winforms applications, the... "vagueness" of WPF still eludes me in terms of best practices and design patterns. Despite populating my list at runtime, m...
Gitagitel asked 24/12, 2010 at 16:25

9

Solved

I have a listbox displaying items from an enum. I want to select/highlight the current value (read from a database) when the listbox displays/the form opens. This code, though: lblSelectedPrinter....
Hookup asked 2/8, 2013 at 16:50

6

I have a scrollviewer with a couple listboxes in it. The problem is if a user uses the middle mouse roller to scroll the scrollviewer while their mouse is over a listview. The listview scrolls its ...
Rescript asked 19/1, 2012 at 20:21

7

Solved

I have a really simple WPF ListBox with SelectionMode set to Multiple. <ListBox SelectionMode="Multiple" /> When the ListBox loses focus it's really hard to tell what's been selected becau...
Peters asked 30/3, 2009 at 20:8

7

I'm trying to 'reset' a listbox in Excel VBA when a form closes. Currently when I use the userform1.hide function the form disappears but when I open it up again using the .show function it still h...
Trapper asked 6/9, 2013 at 9:19

8

Solved

I am trying to change the background color of some rows in a ListBox. I have two lists that one has names and is displayed in a ListBox. The second list has some similar values as the first List. W...
Rainey asked 31/3, 2010 at 16:18

3

Solved

Ive seen lots of posts which show how to scroll to bottom item of a ListBox, but cant work out how to autoscroll to the top of the listbox. If I scroll down my listbox, then use my filter function,...
Travelled asked 22/2, 2011 at 20:54

6

Solved

I have multiple Tkinter listboxes that I have scrolling together using a single scrollbar, but I'd ALSO like them to scroll together for mousewheel activity over any of the listboxes. How to do t...
Backwoods asked 1/11, 2010 at 6:17

6

I have a WPF window containing a ListBox control that is populated when a button click method is executed. XAML: <ListBox Name="ThirdPartyListBox" ItemsSource="{Binding}" Margin="0,70,0,0">...
Mastin asked 20/3, 2014 at 5:56

3

Solved

I have a ListBox containing a group of 'Expander' items, and what I would like to do is make the IsExpanded property for each of them exclusive. For example, if I have 10 Expanders in the ListBox, ...
Neptunium asked 22/5, 2009 at 9:54

5

I want to declare an Array and all items present in the ListBox Should Be deleted irrespective of the Group name present in the ListBox. can any body help me coding in Python. I am using WINXP OS &...
Antalkali asked 26/5, 2010 at 7:24

15

In my application, I have a ListBox with items. The application is written in WPF. How can I scroll automatically to the last added item? I want the ScrollViewer to be moved to the end of the list...
Carce asked 25/2, 2010 at 21:36

2

Solved

I have a ListBox within MS Access and would like to find the best way to get the list item which was selected/deselected at the time of the on-click event. Its a little more complicated than loop...
Octoroon asked 22/10, 2014 at 21:18

4

Solved

I have a listbox where the items contain checkboxes: <ListBox Style="{StaticResource CheckBoxListStyle}" Name="EditListBox"> <ListBox.ItemTemplate> <DataTemplate> <CheckBox...
Moreta asked 24/9, 2008 at 14:36

10

Solved

A killer problem I've had in excel UIs since as long as I can remember, is with listbox scrolling. When you have more elements in a listbox that can be displayed, a scoll bar will appear. In certa...
Calctufa asked 2/5, 2011 at 16:10

3

Solved

Please tell me how can I align center to my ListBox's text in desktop application. I am using C#.Net in Visual Studio 2005. I am using Windows forms.
Chinch asked 31/5, 2010 at 11:56

3

Solved

I have a WPF app that has a ListBox. The drag mechanism is already implemented, but when the list is too long and I want to move an item to a position not visible, I can't. For example, the screen ...
Phenoxide asked 22/8, 2009 at 15:47

6

Solved

Is it possible to use the ObjectDataProvider method to bind a ListBox to an enum, and style it somehow to display the Description attriibute? If so how would one go about doing this...?
Covenanter asked 21/10, 2010 at 9:11

3

Solved

I have a rather classic UI situation - two ListBoxes named SelectedItems and AvailableItems - the idea being that the items you have already selected live in SelectedItems, while the items that are...
Dutiable asked 20/8, 2008 at 13:13

10

Solved

int[] arr = int[100]; listBox1.DataSource = arr; void ComboBox1SelectedIndexChanged(object sender, EventArgs e) { .....//some processes listBox1.DataSource = null; listBox1.DataSource = arr; } ...
Nearly asked 27/2, 2011 at 22:18

8

Solved

I am having trouble finding how to not allow my ListBox to highlight the item selected. I know that I didn't add a trigger to highlight the item. <ListBox Name="CartItems" ItemsSource="{Binding...
Reisfield asked 3/12, 2010 at 8:44

© 2022 - 2025 — McMap. All rights reserved.