Questions tagged [selectionchanged]
263 questions
2
votes
1 answer
Qt QGraphicsScene how to separate select and unSelect signals?
I am creating an app in qt, and i have come to a problem.
I have a qgraphics scene.
I create the scene and I have put some actions to take place when the user clicks
on a scene item.
I can detect the selectionChanged() signals, but:
The signal is…

gio
- 21
- 1
- 2
2
votes
2 answers
AutoCompleteBox: do not validate with Up/Down keys
My AutoCompleteBox calls a WCF service when the selection is changed, usually with the mouse. However if the user uses the arrow keys to navigate through the selection, the event fires up for each element, making the application too much data…

ebcrypto
- 610
- 1
- 14
- 28
2
votes
1 answer
DataGrid Combobox SelectionChanged Event firing on scroll
I am having trouble with the SelectionChanged event trigger for a combobox on my data grid.
The combobox items source is bound to my view model. The combobox selected item is also bound to my view model.
When I change the combobox selected item, a…

StuC
- 51
- 5
2
votes
1 answer
WPF-combobox selection changed showes last item selected instead of the current one
this is my combo box(xaml code) :

harpagon mulier
- 65
- 4
2
votes
1 answer
Disabling drag-to-scroll in ListView in WPF
I'm working in WPF to create a ListView component. The items in the list are based on another user control that reacts to MouseLeftDown events. The List also reacts to SelectionChanged events.
Right now, if I mouse down on any item on the list and…

rkhj
- 91
- 2
- 5
2
votes
2 answers
UWP NavigationView How To Cancel a NavigationViewSelectionChangedEventArgs
We setup the SelectionChanged event of NavigationView to run a few conditions check.
private void ApplicationNavigationView_SelectionChanged(NavigationView sender, NavigationViewSelectionChangedEventArgs args)
{
}
We would only allow the user to…

Jack
- 21
- 2
2
votes
1 answer
Behavior of selectionChanged() on removing first row
Please run the following code (I am using Qt 5.9):
QTableWidget* tableWidget = new QTableWidget(2, 2,…

Silicomancer
- 8,604
- 10
- 63
- 130
2
votes
3 answers
WPF ListBox selection does not work
I have a ListBox for a few items, and I need to be able to click them. Problem is, the SelectionChanged event doesn't get fired when I click on the item's text, only if I click on the blank part. I'm quite new to WPF, and I don't understand why this…

Edgar
- 4,348
- 4
- 40
- 59
2
votes
1 answer
VBA SelectionChange with Data Validation
I have been doing some research but others have not quite had the same problem as me on this or have been trying to reach a different goal.
I have written a macros (posted below) where the end goal is to hide irrelevant rows based on a prior…

MSK
- 31
- 3
2
votes
1 answer
WPF - Animation on SelectionChanged
How would I go about changing a TabItem color from it's unselected color to it's selected color with an animation on SelectionChanged, so that both the unselected and selected TabItems change?
Edit: This is how my CustomTemplate looks like. There is…

Johan Alkstål
- 5,225
- 9
- 36
- 48
2
votes
2 answers
Error from QTableView selectionChanged
If I try to get the signal when my tableview changes, Python raises this error:
Traceback (most recent call last):
File "UIreadresultwindow.py", line 361, in
ui.setupUi(ReadResultWindow)
File "UIreadresultwindow.py", line 113, in…

Coolpix
- 503
- 1
- 6
- 20
2
votes
3 answers
how to get the fontsize of a certain line in a richtextbox in c# using winforms
I have 2 comboboxes for the font and the fontsize. When I click them it changes the font size or the font in my richtextbox. Now I want it to work like in word. If the line you just moved to is in a different font or size. It should detect that and…

Larryrl
- 121
- 1
- 7
2
votes
4 answers
Passing Details From One Window to Another Window
I have a selection of TextBoxes that a user fills in when they wish to note that they have had contact with another person. Most of the TextBoxes are imply filled in by typing into them. However, for one of them I would like the user to be able to…

CBreeze
- 2,925
- 4
- 38
- 93
2
votes
1 answer
An alternative to 'selectionChange' event?
I want to execute a function after the user hilites some text.
I was hoping to listen for the 'selectionChange' event for that purpose, but the documentation states that it doesn't fire for every case, plus I've noticed that it actually also fires…

Skyler
- 777
- 1
- 9
- 34