[Last Call] Learn how to a build a cloud-first strategyRegister Now


change the mouse cursor

Posted on 2012-09-20
Medium Priority
Last Modified: 2012-09-22
How do I change the "select cursor" and "link cursor"?

  SetSystemCursor (Cursor1, OCR_NORMAL);

I have no idea how to do already tried changing the ocr_normal and'm not doing it!

sorry, my english is bad ^ _ ^!
Question by:skiuia
1 Comment
LVL 28

Accepted Solution

Sinisa Vuk earned 1200 total points
ID: 38420878
... to show select (edit): Screen.Cursor := crIBeam;
... to link/hand point: Screen.Cursor := crHandPoint;
... to wait state: Screen.Cursor := crHourglass;
... to return to default: Screen.Cursor := crDefault;

All cursor constants are declared in Controls.pas

If you want some animated...

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Screencast - Getting to Know the Pipeline
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question