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...
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();
}
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...
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...
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...
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...
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...
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,...
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">...
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 &...
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...
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...
4
Solved
I have a listbox where the items contain checkboxes:
<ListBox Style="{StaticResource CheckBoxListStyle}" Name="EditListBox">
<ListBox.ItemTemplate>
<DataTemplate>
<CheckBox...
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.
3
Solved
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...
10
Solved
int[] arr = int[100];
listBox1.DataSource = arr;
void ComboBox1SelectedIndexChanged(object sender, EventArgs e)
{
.....//some processes
listBox1.DataSource = null;
listBox1.DataSource = arr;
}
...
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...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.