Most voted "cursor-position" questions
9 questions
Sort by count of
-
6
votes2
answers2183
viewsHow to set the cursor position in an editable element?
I have the following structure: <pre id="editor" contenteditable="true"> “Always pass on what you have learned.” - Yoda > {|} -- X </pre> I want when someone clicks on a button I put…
-
4
votes1
answer668
viewsPick up mouse position on virtual machines
I’m having a problem getting the mouse position in a virtual machine. I have a macro program on a virtual machine that performs a series of loop actions, but it can happen from the catch action and…
-
4
votes1
answer218
viewsHow to set position of a cursor in the Onchanged of a Customview in a Listview?
I’m wearing a customview calling for android-spinnerwheel. I inserted her into a listview connected to a CursorAdapter. If I use the OnitemClickListener from Listview, the cursor goes to the…
-
3
votes1
answer516
viewsConsole cursor coordinates in C
Taking the following code as an example: #include <stdio.h> int main(void) { printf("Hello world"); return 0; } Where "Hello World" will be written in row 1 and column 1 of the console. How do…
-
2
votes1
answer165
viewsHow to know the direction of the mouse?
I would like to make a program that indicates to which position the mouse is moving (right, left, high, low, right and high, right and low...), but I can’t get a logic that gives me this result.…
-
1
votes1
answer302
viewsGet cursor coordinates in C#
I’m using the Control.MousePosition to get the mouse coordinates in windows 10. Then use the following function to get a Printscreen: public static Bitmap PrintScreen(Point Source,Point Destination)…
-
1
votes0
answers35
viewsHow to find cursor in Textbox?
Hello! I need to know the position of the cursor in the Textbox when the user type a character (add a word at this position if the character is within the conditions applied in the rest of the…
-
0
votes2
answers424
viewsHow do I display a jPanel when I place my mouse over a certain region?
Hello, I would like to know how to create an algorithm in Java to display a certain Panel within my Form Jframe, as soon as the user positions the mouse cursor on a certain pre-programmed region,…
-
0
votes1
answer138
viewsPython set String where the cursor is
Good afternoon I need to set a string where the cursor is stopped. Examples are: - Blinking cursor stopped in a notepad, play a string in the notepad. - Blinking cursor stopped in any input field,…