Questions tagged [cursor]

DO NOT USE. This tag is ambiguous. For database cursors (that let you traverse records), use the [database-cursor] tag. For mouse cursors (onscreen pointer to let you know where the mouse is), use [mouse-cursor]. For text-cursors (blinking vertical bar to let you know where text will be input), use [caret].

Filter by
Sorted by
Tagged with
-1 votes
1 answer
36 views

CSS for when the cursor is parked on an element

I have 2 php files and a js file. When the div is clicked it goes to the new page with the # appended to the url so it scrolls to that comment ID. It is working where it goes to the page and scrolls ...
theOtherOne's user avatar
-1 votes
0 answers
15 views

Cursor moves to beginning when saving a file

When I switch minimize and and open VS Code, the curor leaves its indentationa and goes to beginning. Though formatOnSave automatically indents it but I am having coding trouble. . . Before saving ...
Prajanya Shrestha's user avatar
0 votes
1 answer
18 views

cursor Hover issues when used along with cursor moving function

I am trying to create a custom mouse cursor where the body tag gets some classes applied depending upon the status of mouse cursor. Like: cursor-moving: whenever the mouse is moved cursor-idle: ...
Deepak Yadav's user avatar
  • 6,806
-1 votes
2 answers
54 views

Loop used to execute a procedure multiple times fails during nth run

I have the following code running a loop DECLARE @table_name NVARCHAR(100) , @sql NVARCHAR(MAX) , @sp_name NVARCHAR(100) , @rep_dt nvarchar(10) , @min_rep_dt DATE DECLARE mycursor CURSOR LOCAL STATIC ...
Chezza's user avatar
  • 19
-1 votes
2 answers
51 views

Is there a range of VARCHAR2 which can be automatically convert to NUMBER in SQL?

There is a plsql Cursor like below. CURSOR get_customer_balance(cust_id_ IN VARCHAR2) IS SELECT t.cust_balance FROM customer_tab t WHERE t.customer_id =cust_id_; Procedure Body ...
Lahiru Gamage's user avatar
0 votes
0 answers
19 views

How to get sqlite database cursor adapter data?

how to get sqlite database to array cursor adapter.sqlite database data save.data how to retrive adapter I tried it. But I don't see any data in the adapter.This how to get data adapter. I want to get ...
jay ram's user avatar
  • 47
-1 votes
1 answer
54 views

changing cursor icon while dragging the object JS

I have a problem in SAFARI with changing icon while dragging the object. It works in CHROME but does not work in SAFARI at all. I was trying to change it using many drag events, changing the cursor ...
cube1510's user avatar
0 votes
2 answers
42 views

Snowflake - how can I update user roles dynamically with a cursor?

I'm trying to to perform the code below. My goal is to loop through users and update their role only if it's empty. Is this possible using a cursor this way (I want to call this from a stored ...
Gilladriel's user avatar
-1 votes
2 answers
34 views

Triangular shaped cursor effect in css not working

I'm a total beginner who has no clue what is he doing and trying to create a custom cursor effect for our website at my job with CSS and JavaScript. Everything works fine except I can't create a ...
Jason White's user avatar
0 votes
0 answers
24 views

How do I change the transparency of the cursor? (Python)

I'm trying to find a way to gradient the transparency of the cursor for a project, but I can't find any modules or anything about it. I've tried looking through the win32 API and there was nothing ...
Jax's user avatar
  • 1
-1 votes
1 answer
28 views

css3 button cursor: pointer is not working

button { margin: 10px; padding: 5px; background-color: lightsalmon; width: 20%; font-weight: bold; color: white; border: 1px double dodgerblue; border-radius: 3px; cursor: ...
Kevin Francis's user avatar
0 votes
0 answers
8 views

Can I prevent scriptreplay from losing cursor positioning?

I'm using script and scriptreplay without anything fancy in the way of options: script -T timecodes ... exit scriptreplay -t timecodes On playback, things start out well, tracking my keyboard ...
Ubuntourist's user avatar
0 votes
0 answers
33 views

Why wont the highlighted If statement evaluate? Var_Dump is returning true but the redirect won't work. When Query has results, rest of code is Okay

The If statement below is not evaluating when there is no matching $searchname in the mongo database. However, when supplied with $searchname that is available in the database, the rest of the code ...
Wambugu K. Martin's user avatar
0 votes
1 answer
51 views

How to get the start and end position of selected text from Python Tkinter Text widget

I want to get the start and end position of selected text in a Tkinter Text widget. If no text is selected, it should use the position of the cursor for both start and end positions. It also appears ...
Daniel Louw's user avatar
0 votes
2 answers
63 views

How to find tables being used in oracle cursor?

I have list of package, their corresponding procedures and their corresponding cursors and attributes used in those cursors. Can someone please help me how I can identify corresponding table names of ...
Anita's user avatar
  • 11
0 votes
1 answer
53 views

Why my Oracle script not giving any output?

strong text``Hello All, I have newly started with Oracle and trying write one script for below problem statement. Problem Statement : I want to perform reconciliation for Two table Table A and Table B....
munde shubhangi's user avatar
0 votes
0 answers
23 views

How to change the cursor in React DnD using react-dnd-multi-backend

How can I change the cursor when dragging an item? I am using Preview. Found a variant using touch backend but it does not suit me. Maybe someone has encountered something similar const DragItem: ...
Сергей Сулейманов's user avatar
0 votes
1 answer
65 views

My cursor isn't functioning properly on VS Code. I'm unable to type anything, and I'm using a MacBook Air

My cursor isn't functioning properly on VS Code and I'm not able to type anything. Can someone help? For context, I'm using a MacBook Air. (https://i.stack.imgur.com/jipTh.png) I tried restarting VS ...
Anusha Venkat's user avatar
0 votes
1 answer
107 views

Snowflake - How to add to RESULTSET in a loop

PROBLEM - I'm only getting the result set for last loop execution QUESTION: How can I concatenate/add to resultset? DETAILS What I'm trying to do: take patientID and Date from table 1 using CURSOR ...
J1_balding's user avatar
0 votes
2 answers
36 views

CSS SVG on hover causes cursor bug

I'm trying to make the cursor change to a pointer while hovering over SVG's on my website. But for some reason when I jump between them the cursor looks very weird. Any ideas what might be causing ...
Olote's user avatar
  • 39
0 votes
0 answers
31 views

How to insert a character into a string in TextEditor in swiftUI?

Are there simple ways to insert a character (arrow) not at the end of the string, but where the cursor is currently located? How can I do that? import SwiftUI struct ContentView: View { @State var ...
Peter_22's user avatar
1 vote
0 answers
15 views

How to change the cursor type from block to underline in Eclipse IDE for MacBookPro? [duplicate]

enter image description here I am not able to replace blinking cursor to original vertical type. I tried changing it by function + Return key. But no update. There is also no provision of Insert key ...
Sarthak Gupta's user avatar
0 votes
0 answers
30 views

Is there an initial mouse cursor size defined in Xorg

Is there an initial mouse cursor size defined in the Xorg source code, because when I use a 4k monitor, no matter how I change the resolution and scaling of the monitor, when I log out the user, the ...
biao zhang's user avatar
0 votes
2 answers
132 views

Add up the value of each row and apply in the next row

I have Table A. Table A | Date | Tenor | CCY | Rate | | -------- | -------- | --- | --- | | 17-Jun-2023 | 3 Month | USD | 500 | | 17-Jun-2023 | 4 Month | USD | 300 | | 17-Jun-2023 | ...
Mugiwara's user avatar
0 votes
0 answers
67 views

C# Winforms TextBox Multiline not working correctly

Why cannot I get a Winforms TextBox to get the correct current line when I scroll up or down to an invisible line. Is it my error in CalculateUserTextValue(Point location) method or a bug in the ...
Ali Adams's user avatar
0 votes
1 answer
23 views

SVG button cursor not visible

I have these custom svg icons that I use inside a lightbox to go back and forth. I think I set everything up correctly: the url is correct, the size too, but they still don't show up. Here is the code ...
Luca's user avatar
  • 1
0 votes
1 answer
60 views

Suppress Cursor Changes in Mac Catalyst App

Is it possible to suppress the cursor changes in Mac Catalyst? Here is an example of what I'm talking about. This app was originally written for iPad but support for Mac was added. Here a modal view ...
Victor Engel's user avatar
  • 2,045
0 votes
0 answers
38 views

MUI RTE in a formik form, the cursor jumps to the start of the text field making the input typed backwards

I am using MUI Rich text Editor as a component, and using that component in a formik form. when i enter any text the cursor position is always at the beginning making it appear as the text is written ...
Abhinav Soni's user avatar
0 votes
1 answer
26 views

How Does Berkley DB Cursor Iterate Records

I'm using BDB cursor and calling getSaerchKeyRange. From the docs getSaerchKeyRange: returns the smallest key greater than or equal to the specified key Lets say our DB is the following Key Value ...
anon12345's user avatar
0 votes
2 answers
44 views

Updating via cursor is taking a lot of time

I'm performing address association by taking the addr_id and updating it in two tables (same table and another table) for different columns. However it is taking huge time even though I use parallel ...
Cool_Oracle's user avatar
0 votes
0 answers
9 views

Swift tvOS use cursor for navigating and controlling tvOS application

Im currently developing tvOS app and i wonder if i can just implement cursor to navigate and control my app? so i don't have to implement onFocus or like manually change from button to button using ...
afi permana's user avatar
0 votes
0 answers
55 views

How to make locked cursor click world space canvas button

I have a world space canvas with a button attached (Button4) but I am unable to click it while the cursor is locked. The only way iv been able to click it is when I unlock the cursor, but that's not ...
Matthew Z's user avatar
0 votes
0 answers
39 views

Cursor Position in Centered aligned TextView is wrong in IQKeyboardManagerSwift

I have used IQKeyboardManagerSwift in my project. I have a Centered aligned TextView and the problem is Cursor is positioned at center instead of at the beginning of Placeholder text. TextField with ...
Dimpy-iRoid's user avatar
0 votes
0 answers
18 views

I want to create a horizontal cursor [duplicate]

I'm looking to create a horizontal cursor for my website, similar in style to the Git Bash terminal cursor. And I have no idea how to do it. This does not exist in CSS properties... Do you have any ...
C Thomas's user avatar
1 vote
2 answers
80 views

Conversion Example of Stored Procedure Cursor within a Cursor for MySQL and MariaDB from Advantage

I am migrating from Advantage Database Server 11 to MySQL 8.0.33 and also testing MariaDB 11.0.2. I haven't landed on which one to use yet but I know I will need to use cursor variables and cursors ...
Daniel's user avatar
  • 515
1 vote
1 answer
89 views

Print 1px wide vertical line in a terminal

Hopefully this isn't impossible, but I want access to the console's ability to print that little blinking cursor. I'm implementing a mini terminal that can sit inside Write-Progress whilst another ...
Hashbrown's user avatar
  • 12.2k
0 votes
0 answers
30 views

When trying to use custom cursors in HTML, does the URL have to be a public URL?

I am trying to implement a custom cursor for a project that I am working on. Here is a certain line of code: document.getElementById("theCanvas").style.cursor = new URL("./restore ...
Rikudou's user avatar
  • 165
0 votes
0 answers
60 views

Compose Textfield Cursor Movement on Long-Press

I am having an issue in my app with pasting text. When long-pressing at the end of a line within a BasicTextField (or TextField), as the Cut/Copy/Paste menu appears, the cursor jumps to the start of ...
basiletti's user avatar
0 votes
0 answers
47 views

How to change the currently visible mouse cursor graphic programmatically?

Is there a way to change the currently visible mouse cursor (regardless of which application has focus) to a different graphical icon? I want to load a custom "invisible" PNG or ICO image as ...
Ryan Griggs's user avatar
  • 2,475
0 votes
0 answers
36 views

Python script doesn't change mouse position in games

so I'm trying to make a Python script that jitters the mouse position, now it works about anywhere apart from games, I've tried cs:go and cod, but no results, in menus where the cursor shows it does ...
baerqpop1's user avatar
0 votes
1 answer
95 views

How to style the cursor shadow using CSS?

On my page, I can see the box of the div container. I only want a shadow to be displayed behind the cursor. How can I achieve this? CSS style: #shadow { width: 10px; height: 10px; position:...
Emirhan's user avatar
0 votes
1 answer
34 views

What is the name of this cursor?

I see this cursor when I use the drag feature in the RC-tree, and I want to use it in another dragzone on my web. I don't know the name of this cursor. In another scenario, this cursor appears when ...
Tim Dang's user avatar
0 votes
2 answers
95 views

Compare two tables and update the mismatch column in Oracle SQL

I have a requirement to compare with one table and update another table if there are mismatches. Table LEGACY_CUST_INFO has correct CUST_PRIVILEGE_NUMBER. So, I need to findout the wrong ...
Cool_Oracle's user avatar
0 votes
1 answer
67 views

C# install Cursor installer (.inf) file

I have a cursor installer file (installer.inf). Is it possible to install the cursor using C#? I already tried the following code but it doesn't work and nothing happens when getting executed: [...
Der_Floh's user avatar
  • 129
0 votes
0 answers
59 views

Animated cursor on framer

I have been trying to achieve the animated cursor functionality on framer using react code but have not been getting any result. please help me with the code I have tried to write the code in react ...
anieanim's user avatar
0 votes
1 answer
50 views

PL/SQL Cursor declaration inside begin end block

I'm working on a PL/SQL script in Oracle. I need to declare a cursor that works on a DBA_HIST_* table ONLY if the Diagnostic Pack is lincensed. I mean if: select sum(detected_usages) from ...
DBA_developer's user avatar
3 votes
1 answer
53 views

Cannot Iterate Dynamically Created SYS_REFCURSOR in Oracle Function

I am facing an issue with a function that I'm working on. The function aims to retrieve a column value based on the input parameters and a requested column name of that table. However, when I try to ...
Ioanna Dln's user avatar
0 votes
0 answers
46 views

how to apply vba code of hourglass check (cursor state)

For this answer, i still can't apply this code on my situation. Get cursor state in Excel VBA 2013 This is my situation. When vba code running 1st click "retrieve button" in another program/...
Amir Udin's user avatar
0 votes
1 answer
42 views

How to not separate comma separated values in a column while using cursor?

I am trying to use cursor to generate a csv file and send it as an email. The csv file that got generated has values in a column separated. I don't want the values to be separated. My Output : ...
Tapan's user avatar
  • 1
0 votes
1 answer
107 views

cursor.commit() not working in Python for data upload into Trino

I can pull data from Trino into Python and manipulate it but when I go to try to upload the manipulated data into a new table, nothing gets committed. I can DROP/CREATE the same table in DBeaver fine, ...
becs's user avatar
  • 73

1
2 3 4 5
140