Questions tagged [selecteditem]

selecteditem is a property used to identify the currently selected item in a collection

selecteditem is used to check the state of the associated UI control in several APIs

References

1008 questions
-1
votes
1 answer

highlight the selected item of recyclerview

Please, don't mark it as duplicate I'm referring to this answer Exception occurs: kotlin.KotlinNullPointerException at package.name.ProductDetails.Custom_detail_Adapter.onBindViewHolder(Custom_detail_Adapter.kt:57) This is the…
IRON MAN
  • 191
  • 3
  • 18
-1
votes
1 answer

changing my combobox list to number so i can insert it to database c#

i wanna do a combobox for the classes , when i insert the type of class in it i want to selecteditem the row that was selected exmple: i chose second row then i insert to the database a 2 sql = "insert into etudiant (Nom, prenom,…
-1
votes
1 answer

How to pass a variable from HTML to the backend in Flask

There are so many td elements with a tag and I want to know that user clicked which element and I want to pass from HTML to the backend and process with the user's selection on the backend. This is my HTML content: {{…
-1
votes
1 answer

WPF DataGrid individual row color

I have two datagrid. DG1 and DG2 with one column A (each) and many rows. Task is to highlight a particular row in one Datagrid when user selects row with same value in another datagrid. Example: User selects DG1 row 5, column A whose value is 'ABC'.…
coderguy
  • 67
  • 12
-1
votes
1 answer

Change the background color of selected item in recyclerview

I have a recyclerview where i want to change the color of the selected item and re change it on unselected. I have used an string arraylist and an interface for that here is interface code in adapter - public interface Callback{ void…
-1
votes
2 answers

How to get last item from Listview when items are multiselected

I have a little problem with multiselect and SelectedItem property. My application works in following way: When I click on a record in Listview, data from this record displays in textboxes. And now here is my problem. I want to achieve funcionality…
-1
votes
1 answer

Set selecteditem of combobox in wpf

I have an issue that I cannot solve myself and need your support. In my WPF-Application I have a MainWindow with some kind of navigation bar (based on System.Windows.Controls.Ribbon) and a content area. When I click one button1 (RibbonButton), I…
TPS
  • 41
  • 8
-1
votes
2 answers

Double click in selected item in treeview win32 api

I want to send message about mouse double click to selected item in treeview in other application with winapi. How get the handle of selected item in treeview in other application? p.s. In spy++ i get handle only for treeview. Thank you!
-1
votes
1 answer

How to pass selected items from RecyclerView into next activity

I made SQL database with all functions. In my activity with RecyclerView (Recycler is listing all items in SQL database) I made a function to check (setBackgroundColor) selected item after I enter specific value for that item. To be more…
-1
votes
3 answers

Get value of comboboxitem contentcontrol in wpf

I am new to WPF. I want to know how can i get the selectedtext if the text that i want is placed inside a control inside comboboxitem and not directly inside comboboxitem. I know this is very basic,but would appreciate if someone could provide me a…
Jatinder Walia
  • 143
  • 1
  • 12
-1
votes
1 answer

Java Error: cannot find symbol in method getSelectedItem()

I have searched everywhere, but I just couldn't find the answer for this error. I type this for example: import javax.swing.*; import javax.swing.border.Border; import javax.swing.border.BevelBorder; import java.awt.event.ItemListener; import…
Vena
  • 35
  • 5
-1
votes
2 answers

listBox1_SelectedIndexChanged

what I am trying to do, when an item is selected in listBox1, then listBox2 will populate with options to select from. For example if you pick a white shirt in listBox1 then listBox2 will populate with designs to choose from. I have gone over this a…
LRoyster
  • 43
  • 4
  • 9
-1
votes
2 answers

VB.NET navigate to a specific ListBox item

I have a listbox that I load items into. Each line starts with time in HH:mm:ss format. I want a button such that on the click of it, the listbox selected item would navigate to a line that starts with a particular time, as entered into a textbox by…
MordC
  • 61
  • 3
  • 11
-1
votes
2 answers

get Values of one listbox item selected

I'm Coding windows 10 universal app. I Have a List box:
radin
  • 251
  • 3
  • 16
-1
votes
1 answer

Add value to the active input field

How can I add value to the active input field among all the input fields? I used autofocus attribute to get "the_field" , it didn't return anything.
AJ-B29
  • 215
  • 1
  • 11