selection Questions

3

I'm writing a Python program that is basically the Snipping Tool. I'd like to be able to run my program, select the area for my screenshot using my mouse to click and drag, and then have the progra...
Coralline asked 18/4, 2018 at 14:10

4

Solved

I have a select box and I need to have some of the options' text aligned to the left with the rest to the right, like this: | option 1 0.5 | | option 2 1.5 | Is that possible? I thought about pu...
Woodson asked 15/9, 2012 at 20:40

2

I'm having an issue with Flutter Web's TextField. Whenever The text becomes too long, and thus causes the TextField to scroll over to view it all (in single line fields), I am no longer able to cli...
Bung asked 1/1, 2021 at 1:54

4

Solved

I'm looking for function which allows me to build some element before or after selected text. Something similar like this one javascript replace selection all browsers but for adding some content b...
Pentachlorophenol asked 27/11, 2011 at 9:19

4

Solved

I am trying to create a simple multiple selection List with SwiftUI. I am unable to make it work. List takes a second argument which is a SelectionManager, so I tried creating a concrete implemen...
Pent asked 21/6, 2019 at 15:17

4

Solved

Is there a way to preserve the highlight showing the boxmodel properties (width, margin, padding, border) of a DOM element? I'm trying to inspect the behaviour of an element when the window is resi...
Euphemie asked 3/5, 2012 at 7:27

2

Is there a way to get the identification (i.e. A1 notation) of a selected cell or range in Google Sheets? Something like: =SELECTION(['Sheet1']) -> "D6"

6

I have a Burger Menu Button which is selectable via TAB. When I click on it and the menu opens up the burger has this blue outline to make it clear that it is focused. I don't want to remove that b...
Oarsman asked 6/3, 2017 at 11:43

5

Solved

The following snippet shows how to make text unselectable. Sadly, if you select text on either side in Chrome, when you copy and paste the unselected text also gets pasted. Is there any way to hav...
Demott asked 4/5, 2016 at 12:17

10

Solved

I want to deselect all values with one click without using each id seperately. I fiddled around for a while, but this deselect only first value. Any suggestions? This is how I try to deselect: $...
Muscadel asked 13/9, 2013 at 8:57

2

Solved

If I have the following HTML: <div class="content"> Vivamus <span>luctus</span> urna sed urna ultricies ac tempor dui sagittis. </div> And I run an event on mouseup that ...
Dulia asked 3/3, 2013 at 1:29

12

Solved

I have a DataFrame: import pandas as pd import numpy as np df = pd.DataFrame({'foo.aa': [1, 2.1, np.nan, 4.7, 5.6, 6.8], 'foo.fighters': [0, 1, np.nan, 0, 0, 0], 'foo.bars': [0, 0, 0, 0, 0, 1],...
Philippi asked 3/12, 2014 at 15:15

3

How can I show only XML files in a file input element? I read about the "accept" attribute but also learned no browser actually support it. I found here some JS scripts but they didn't work well :-...
Satrap asked 13/8, 2011 at 21:35

20

Solved

I have a RecyclerView with an TextView text box and a cross button ImageView. I have a button outside of the recyclerview that makes the cross button ImageView visible / gone. I'm looking to remov...

13

Solved

How can I disable selecting in a WPFTooklit's DataGrid? I tried modifying the solution that works for ListView (from WPF ListView turn off selection), but that doesn't work: <tk:DataGrid> &...
Lowther asked 23/3, 2010 at 0:49

7

Solved

I am stumped. I have a form with a dropdown list, and I would like to grab a list of all the values in the list. I pulled the below example from w3 schools (yes, I know it's unreliable, but other s...
Ailurophobe asked 7/8, 2013 at 20:46

8

Solved

I want to wrap a selected text in a div container with span, is it possible? A user will select a text and will click a button, on button click event I want to wrap that selected text with span el...
Punchy asked 13/6, 2011 at 9:33

4

I am using HTML5 datalist to allow selection from a large list by autocomplete and filter feature. But I want to allow selection only from predefined options. See fiddle demo http://jsfiddle.net/th...
Cingulum asked 28/5, 2015 at 6:53

10

Solved

I have a form which includes a data sheet. I would like to make it possible for a user to select multiple rows, click on a button and have some sql query run and perform some work on those rows. L...
Larry asked 3/11, 2009 at 20:27

6

Solved

I'm using TabLayout from Android Design Library. I have multiple tabs and each Tab has an action when it is selected. So I have an attribute startSelection, which performs tabLayout.getTabAt(star...
Inhumane asked 6/5, 2016 at 12:50

2

Solved

I want to save (serialize) the Selection range in order to reuse (deserialize) it in the next user session in my UIWebView of iOS app. Userpath: User selects the part of the text, click save Cl...
Koeninger asked 19/9, 2016 at 6:25

17

Solved

Is there a way to select multiple non-adjoining (totally separate) texts in VS? I can do it in MS Word by selecting the texts separately by holding the Ctrl button, like this: My version is 11. ...

2

Solved

I'm trying to make a List of favorite newspapers. In edit mode the list displays all available newspapers from which the user can select his favorites. After selecting favorites the list displays o...
Grewitz asked 15/1, 2022 at 17:6

5

Solved

I have a textarea in which I am inserting content at the location of the caret (thanks to Tim Down's answer). It inserts the content when the user presses a button. But it seems that when the butto...
Beggs asked 28/8, 2012 at 7:52

1

I looked at this question where it is asked for a way to simply copy text as plain text. I want to do exactly that but with one additional thing - not lose focus on the current element. I need thi...
Embolectomy asked 18/9, 2017 at 9:28

© 2022 - 2024 — McMap. All rights reserved.