Questions tagged [selectionchanged]

263 questions
0
votes
1 answer

Using selectionChanged signal from QGraphicsScene to addRect around selected items

I am trying to draw a rect around the items that are selected in the scene (either via RubberBandDrag or ctrl+click for each item). In order to do this I've subclassed QGraphicsScene and reimplemented the selectionChanged method to add a…
pbreach
  • 16,049
  • 27
  • 82
  • 120
0
votes
0 answers

Why is a datagrid locked when adding a row during TabControl selectionchanged event?

Very simple setup: Place a datagrid in a TabItem (from a TabControl). Add contents during the SelectionChanged-Event of the TabControl dependent on the new SelectedIndex. If the datagrid is in the tab that is beeing selected, the datagrid is locked.…
ejones
  • 105
  • 1
  • 3
  • 10
0
votes
0 answers

How to write SelectionChanged event for FlowDocumentScrollViewer

How to write selection changed event for FlowDocumentScrollViewer in c#? When the user select or deselect text in FlowDocumentScrollViewer, I do want to fire some event. My goal is to display in an statusbar the selection length. How can I do…
codeDom
  • 1,623
  • 18
  • 54
0
votes
1 answer

How to change comboBox Item Source when this comboBoxSelectionChanged property is called WPF C#

So I am using external API which is providing class called CatInfoType which have for example int number catid and string catname. I have a combobox with properties < ComboBox x:Name="listOfCategories_comboBox" ...…
jan kowalski
  • 189
  • 3
  • 21
0
votes
1 answer

ExtJS grid selectionchange data

I have this code: grid.getSelectionModel().on('selectionchange', function(selModel, selections) {} and inside the function with the variable 'selections' I want to get the selected row field 'name' data. How do I do it? I have tried…
alexandre1985
  • 1,056
  • 3
  • 13
  • 31
0
votes
0 answers

selection changed event in combobox in WPF

i have a requirement to do something after value of combox change. i tried selectionchanged event but that is not working because if hold the previous value(before committing the change). Is there any specific event for this? I tried on google but…
Charu
  • 1
  • 2
0
votes
0 answers

C# Delaying Code & Possibly Cancelling Execution, DataGridView Scrolling

This is my first SO question, so please direct me if I have made any mistakes. I am new to C# programming and am self-teaching. I have been able to find lots of information similar to my problem (delaying code), but I am unable to find/extract a…
elmer007
  • 1,412
  • 14
  • 27
0
votes
0 answers

UI responsiveness on listbox ItemSelectionChanged() event

I'd like to enable a button if some Data is available: private void myListBox_ItemSelectionChanged(object sender, EventArgs e) { downloadButton.Enabled = myList.SelectedItems.Cast().Any(x => x.Data != null); } The problem is…
user2567674
  • 171
  • 1
  • 3
  • 15
0
votes
2 answers

WPF C# - ComboBox methods return object instead of string

I'm new to WPF and I'm trying to figure out how to get the current text value of the selected item in a ComboBox. I saw in this question someone suggested doing MyComboBox.SelectedItem.Text. However, SelectedItem returns object for me, so I only…
Sarah Vessels
  • 30,930
  • 33
  • 155
  • 222
0
votes
2 answers

How to listen to selection changes on TableViewer?

I'm working on an Eclipse RCP application and I'm trying to update an expression value which is provided by MySourceProvider according to selection changes on a TableViewer in MyEditorPart. MyEditorPart instance defines a TableViewer like…
emrekgn
  • 624
  • 9
  • 25
0
votes
1 answer

Change every letter to the referencial in column A

I have this spreadsheet that needs to change the values, A B C D E F G 5 e e z z u u 10 e e z z u u 20 e e z z u u 30 e e z z u u 40 e e z z u u 50 e …
0
votes
1 answer

WPF ListBox DataContextChanged triggers SelectionChanged

I have a user control containing an expander. The content of the explander is a ListBox bound to an object, and a DataTemplate displays it correctly. The problem is this: the user can select a Listbox item, and the SelectionChanged handler changed…
PScr
  • 449
  • 2
  • 11
0
votes
1 answer

Get CBN_SELCHANGE notification when combo box item is changed on mouse hover

Is there any notification message for WinAPI combo box controls we can use to know when the current item is changed while moving the mouse pointer over the drop-down list box? My expectation is that the CBN_SELCHANGE notification should work for the…
TecMan
  • 2,743
  • 2
  • 30
  • 64
0
votes
2 answers

How to set cell properties from rowselected in gridview Devexpress?

I'm a newbie with devexpress. When I work with gridview in it I have a problem : private void grdItem_SelectionChanged(object sender, DevExpress.Data.SelectionChangedEventArgs e) { ReceiveController _rc = new ReceiveController(); …