Newest 'selection' Questions - Stack Overflow

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.

0
votes
0answers
8 views

Record selection formula in crystal to find people missing document

I'm trying to create a selection formula that will find people missing a document name among all documents, along with the other cases shown below. I'm not clear on how to look in all docs for that ...
0
votes
0answers
25 views

Why are other styles not being applied to the first letter of text? [duplicate]

I am trying to create a sentence case mixin since CSS text-transform doesn't support sentence case. I have 3 example selectors here, so any text with the class sentence-case is highlighted, should ...
0
votes
1answer
11 views

Revit API Current Selection in Document Changerd Event

Is it possible to get the UIDocument in a DocumentChanged event registered from an IExternalApplication? If so, how? More specifically, i'm trying to retrieve the current selection at the time the ...
0
votes
0answers
17 views

How to create this Android custom “check-box” like selection in a smart way (and for over 100 items)?

I am trying to create an item selection logic for this layout. Basically every item acts as a check-box. In theory, the selection idea is pretty simple, you click on an item once - gets selected, ...
0
votes
1answer
20 views

Problem with row selection in extendedDataTable

I have a problem with extendedDataTable in richfaces. I am trying to select one row in a extendedDataTable and the selection works. This is some code that I am using. ... <rich:...
4
votes
1answer
49 views

Get the range of start and end offset values without considering its immediate parent

I have two span elements inside of p tag. While selecting some text in that p I need to get the start and end offset of selected value using window.getSelection(). My expectation is that while ...
0
votes
1answer
7 views

Crystal reports returning values like one looking for instead of equal

I am creating a Report=>selectionFormulas=>Record, and then I have this: ({Facilities_ALL.Fac} IN ['S', 'H', 'E', 'J', 'SJ', 'F', 'N']) AND ({Facilities_ALL.status} = "Active") AND isNull({...
-3
votes
1answer
26 views

How to select multiple rows based on header values?

I wish to iterate over rows of a Pandas dataframe while only checking for similarity within a few columns among the rows. Then, I want to check for a similarity condition, followed by a date ...
-1
votes
0answers
19 views

What the return values of the selection() method of the TreeView depends on?

I wonder what the return values of the selection() method of the TreeView of tkinter of Python 3.7 depends on? I have this treeview. And when I invoke selection() method sometimes it returns this str:...
0
votes
1answer
35 views

I want to populate Many2one field based on Selection Field

I want to populate Customer/Vendor Many2one field based on Selection Field which has two selection 1.Sale Order, 2.Purchase Order. If it is Sale Order then Many2one field should have Customers from ...
0
votes
0answers
6 views

bootstrapping for selection variable

I'm working on Simar and Wilson (2001) technique on variable selection in data envelopment analysis, and i need codes. I have tried to code by myself but in vain. I have worked on statistical ...
2
votes
2answers
86 views

How to copy a button text?

I want to copy the text from a button when I click on it. I reused code from w3 schools. The difference with the w3 schools code is that when you click on a button it copy the text from an input, I ...
0
votes
1answer
42 views

Impossible WHERE when ANDing several criteria

I have a table named links which contains a column idl (PRIMARY) and three columns ide, idd and idv which are integers bound by a foreign key to corresponding tables entities, descriptors and values, ...
0
votes
0answers
30 views

Zedgraph C# how to select/remove curves from selection?

I need to make a useful selection feature for my code using ZedGraph There are Selection class in ZedGraph library. It gives you opportunity to select curve using mouse click: '''C# public Form1(){ ...
0
votes
0answers
32 views

How to implement active item selection in a vaadin-grid using Polymer 3.0

So I want to add an active-item selection to my vaadin-grid data table. But looking through the documentation I couldn't find any information on how to implement this using Polymer 3.0
0
votes
0answers
11 views

WPF RichTextBox progresive selection detection

Determine the beginning of a new progressive selection adjusted with the touchpad. My users are selecting text in a RichTextBox. They can adjust their selection using by keep moving the mouse or ...
0
votes
0answers
20 views

select proper values within duplicate records

need to pick proper values within duplicates that are located on different records. tableA | Prod_ID | Description | Price |Internal |Discount| | A1 | | 12.00 | True |0.909 | | A1 ...
1
vote
0answers
28 views

how to select model if there are multiple models with same or close validation errors

Questions about model selection using cross-validation Let's say a dataset was split as training and testing sets. Multiple models were compared using cross-validation on training datasets. In one ...
2
votes
0answers
16 views

How to replace addRange() for multiple selection in Google Chrome?

I need to copy multiple nodeElements. Selection.addRange(), could help me but, Google Chrome removed this feature. I tried to add multiple ranges and do string concatenation but formatting removing ...
0
votes
1answer
25 views

Query gathering the max value of a subquery returning multiple values

I've encountered another problem with SQL queries on Oracle Database, which I'm not able to solve. I have 3 tables, two of them gathering information on some users and structures, and another one ...
0
votes
1answer
40 views

How to highlight double-clicked word in input after input.select()

There is an input with some text. All text in this input has to be selected when input is focusing (first click on input) and specific word has to be selected when second click on input occurs. I ...
-1
votes
1answer
39 views

How can i merge two columns of a table in sql as a sentence?

i am a beginner in database programming. I am doing my homework, and i get a task about sql queries. My task is to merge 3 columns(first name, last name, sex) of a table(person) in a sentence. for ...
1
vote
2answers
27 views

Select all children from a range in browser?

I'm trying to get an array of all the words I select with the cursor from the browser using the window.Selection() API. I can capture the selection itself with window.getSelection(), and then print ...
-1
votes
1answer
48 views

How to select a word on double click using the Range-Interface?

For example: <span>"This is s"<span style="color:1abc9c">ent</span>"e<strong>nc</strong>"e to be select"</span> The sentence is like this: "This is ...
1
vote
0answers
37 views

How to select a word on single click using range API when multiple style attached to given word in html

For example, I am having such html: <span>"This is s"<strong>xy</strong>"z"<strong>ample</strong>" text"</span> http://jsfiddle.net/6Lumh3av/ When I click in ...
0
votes
1answer
18 views

Extracting rows in a data frame based on multiple criteria?

I have two data frames consisting multiple identical rows and similar columns as follows: mydf1: id, f1, f2 ,f3 , ..., fn x1, 34, 45 ,32 , ..., 0 x1, 24, 55 ,1 ...
1
vote
1answer
30 views

How to scrape information based on product selection(ex. Size, Color, Pack)?

I successfully crawled over 1600 pages last week. BUT was informed that a good portion of the data returned was incorrect as to what was pulled.. (ie. price) , by that i mean that if the item being ...
0
votes
0answers
6 views

Is there a way to prevent Range.cloneContents reissuing network requests?

When creating a JavaScript Range then cloning it's contents, Chrome reissues network requests for images. Is there a way to prevent this as surely the browser already has these resources? Open any ...
-2
votes
1answer
43 views

How to keep text selection visible in a text area even though not focused

How to keep the selection visible in a text area when it lost focus in React/JS. Back then when I learned JavaFX it has text area component which always showing the selection of its text even not in ...
0
votes
1answer
33 views

Displaying alternate names in Rshiny filter resulting in no default selection

I am building an Rshiny app where the input data will always have the same structure but different categories. No matter what that data looks like, I always want my filters to display the same values. ...
0
votes
0answers
20 views

why is the step function in R not writing out AIC values for each model?

I would like to use the step function to compare AIC values between models, but when I use the function on my full model, requesting backwards model selection, not all the models are printed with ...
0
votes
1answer
56 views

C# : How to select a single node (element?) from an Xml file by value?

I'm new to Xml, trying to create a simple database that I can read and write to from a corresponding C# console application. I have the Xml file loaded, then generate a C# List of the Xml elements '...
0
votes
1answer
25 views

How to prevent segue transition when table view is editing in Swift?

I'm creating a Notes app clone based on the iOS Notes app (for a tutorial's challenge). I'm using the isEditing functionality to delete rows in the table view. The first screen is connected to the ...
2
votes
4answers
238 views

Manually trigger cut/copy/paste in android webview

I'm building a little browser app using android webview and I've been using window.getSelection() in javascript to get the nature of any text selected by the user and show a custom context menu based ...
0
votes
3answers
74 views

How to prevent checkbox to be selected when click anywhere on row?

my row get selected when i click anywhere on the row even my radio button and slide toggle, i want it to be selected only when user clicks on checkbox selection: SelectionModel<aproveTable> = ...
0
votes
1answer
32 views

ST3 - Expand Selection to Word and Quick Find Next - Double Assignment of cmd + d on Mac OS in Sublime Text 3.1.1 (B3176)

Apologies in advance if this is the incorrect forum for this question - I am an absolute beginner when it comes to programming of any sort. It seems that the Expand Selection to Word (Menu > ...
0
votes
0answers
4 views

How do i select a Selection received from a .getSelection() call after it has been stored in an array

I'm trying to create a little script that i could use to easily mark (highlight) text on any page that can be used for studying (a digital version of highlighting text in a book with a yellow marker). ...
0
votes
0answers
28 views

Fabric.js: Group-Selection transforms certain objects' center position to canvas origin

In an angular application, I implemented a simple whiteboard with Fabric.js, which lets the user draw some basic shapes and freehand drawing. The shapes are botch empty and filled circle and rectangle,...
0
votes
0answers
16 views

use robocopy to mirror a subset of directories

The script below based on robocopy mirrors the subtrees specified in file selection.txt form source s to destination d. But when I remove a line from selection.txt, the respective subtree is not ...
0
votes
1answer
30 views

Values are being passed correctly however selection statements do not work properly

I've been recently trying to code a quick game which involves binary to hex conversion. I've set up some of the basic structure of the code but I've stumbled upon a problem: My selection statement in ...
0
votes
0answers
20 views

EditText set editable text cursor display issue

I need to display some specific text inside an EditText : mEditText.setHtml(text) But when I tap on the EditText the cursor goes at position 0 instead of being at the end of the text. This problem ...
0
votes
1answer
11 views

Where does j get its value in selection sort? Basic Q, Python 3

So I'm tracing through the code below. I'm confused as to where j gets its value. It gets iterated by 1 at the for loop but I'm blanking on why. i is getting the +1, not j? I think I'm just totally ...
1
vote
1answer
32 views

PyQt QTableView get start index of cell spanning multiple columns?

I have a QTableView with cells on which I have set column spans of 1, 2 and 4. I am trying to make it so that when a cell is selected, all cells above it are also automatically selected, so in the ...
0
votes
1answer
29 views

Selection Sort Error : Wrong Output; Duplicates not sorted

My sorting algorithm is giving incorrect results. I have tried identifying the error, but I am not sure why the selection sorting is not working. Where do I fix the error in output? My output is 1 ...
0
votes
0answers
23 views

Specific row selection depending on column values

In the following df I must select all rows where column x == 249 (1.condition) and then I must find all dt in a range between 655 to 665 (2.condition). As you can see the column "x" contains also ...
1
vote
1answer
22 views

SQL Report Builder linked report collapses parameter options by default

I'm using Report Builder 3.0 and I have a report that links to another report when clicked on. When the new report opens the parameter options are collapsed by default. I'd like them to be expanded ...
0
votes
0answers
17 views

How to solve singularity problem in two step heckit estimation with sampleselection package?

I want to do a 2 step heckit estimation with the sampleselection package. The goal is to estimate log(wage). Wage for people who are not working is 0 coded. I have a problem with 3 variables in the ...
1
vote
1answer
35 views

Selecting from one dataframe using values from a second dataframe

I have two dataframes with the same index and columns: In: import pandas as pd import numpy as np import random df1 = pd.DataFrame({'A' : [ random.random(), random.random(), random.random()], ...
1
vote
1answer
43 views

How to get the selected row from a gtkmm treeview

I have a gtkmm TreeView using ListStore. I am using this as a static list selection menu. I am having problems seeing when the user changes rows and which row is selected. I have attempted to use ...
0
votes
0answers
36 views

Search bar isn't working and selection is gray (I want to be None)

My search bar isn't working and I'm not sure why. I followed a tutorial online. There is a picture of my find friends view controller below and the code for the view controller. Also even though in ...