Questions tagged [selection]
The selection can refer to text that has been highlighted, or it can refer to a choice made in UI elements that require one, e.g. a particular option in an HTML `select`. Selection is also the stage of a genetic algorithm in which individual genomes are chosen from a population for later breeding.
selection
4,055
questions
-1
votes
0
answers
20
views
How to set Listbox focus when clicking inside a control in the DataTemplate [closed]
I came accross this question :
Focusing Listbox item when a control is clicked inside datatemplate
OP is trying to set the selection of a list box when the user clicks on one of the control in the ...
0
votes
1
answer
46
views
Change font color of form button without selection
I would like to remove selection from code because that usually means it is more efficient and robust.
So there is a code that works fine but selection cannot be removed in the way I expected.
This ...
1
vote
0
answers
18
views
Highlight selected interval in Observable Vegalite
I am creating a graph where the user can select an interval on the graph and the part will be different color than the other parts on the graph. The following is part of the code for creating the ...
0
votes
0
answers
24
views
Adding multiple range in 1 seclection
I need to add 2 range in 1 selection
Here is my code trying to add a new range to a current selection
<p id="p">Select me: <i>italic</i> and <b>bold</b></p&...
2
votes
1
answer
41
views
pandas string selection
I would like to extract rows containing a particular string - the string can be a part of a larger, space-separated string (which I would want to count in), or can be a part of another (continuous) ...
1
vote
1
answer
27
views
Streamlit Aggrid - range selection only in one column
I am able to select a range with gb.configure_grid_options(enableRangeSelection=True).
However I need range selection only in one column (say column “Name”) and not the others.
Please guide how can I ...
0
votes
1
answer
43
views
NavigationSplitView with selection loosing new selection when item is added
I am working on SwiftData project. I found the problem when adding new items to a NavigationSplitView that the first item was added without a problem. The selection was changed so that the Detail page ...
0
votes
0
answers
10
views
Invoking a window getting selected text
I wanted to display a 'simpler' text to help supplement kids reading exercise. As an example - as an example the text may read :
Johnny went to school and he surreptitiously ate his lunch early. I ...
0
votes
0
answers
33
views
Understanding the conventions for logical vs. numeric Indexing in R Data Frames using an example [duplicate]
I'm exploring navigating dataframes with a specific example dataframe:
planets_df <- data.frame(
name = c("Mercury", "Venus", "Earth", "Mars", "...
-1
votes
1
answer
33
views
I have problem with selection of language it has option of writing
enter image description here
so as you can see there is problem on the left side of the flag when i select it it keeps appearing and it disappears when i changed language i want to get right of it pls ...
1
vote
1
answer
38
views
Text selection on flex reverse-column child happened in wrong direction
I'm trying to select text in flex reverse-column container but actual selection is wrong. Browser attempts to make selection from end of the element, that leads to wrong selection.
Example,
<...
1
vote
1
answer
36
views
Allow to select multiple buttons
struct Question {
var title: String
var options : [String]
}
struct SimpleQuestions: View {
@State var selectedOption = ""
@State var question = Question(title: "...
1
vote
1
answer
44
views
How to get references to DOM elements of a selection
I have a selection, like:
const sel = document.getSelection();
that spans one or more HTML elements, or parts of them.
Can't find a method to get references to those elements.
The closest thing I ...
0
votes
1
answer
60
views
Word VBA: Need help on Selection.Find .Text parameters - currently causing an infinite loop
Currently, I am creating a macro where I can move data from Excel into Word tables. We want to keep the formatting of the existing Word tables and only move the data into each cell. The data involved ...
0
votes
1
answer
61
views
Extracting Song Titles
I have a songbook and want to be able to make up set lists from the book. Typically extracting 18-20 songs from a total of 200, and putting them into a new document, for a specific gig.
I've worked ...