How can I change the screen cursor?
Applies To: C++Builder 1 or higher
Category: Knowledge Base
- I can use the Cursor property of each component / form in order to change the current cursor. But is it possible to change directly the screen cursor without having to edit this property for each component?
-
- Start a new project using File | New Application.
-
- Edit the OnShow event:
-
- void __fastcall TForm1::FormShow(TObject *Sender)
- {
- Screen->Cursor = crHourGlass;
- }
-
- The TScreen object allows you to modify the global screen settings.
C++Builder Developer's Network
Copyright © Yoto Yotov