Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
...
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
[color green]const TCursor crDefaultCursor = 1;[/color] [color blue]// ID of the cursor[/color]
//-----------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
[color blue]// In form's constructor load the cursor from the system[/color]
Screen->Cursors[crDefaultCursor] = LoadCursor(NULL, IDC_HAND);
[color blue]// and assign it to desired control[/color]
[color green]Label1->Cursor = crDefaultCursor;[/color]
}
//-----------------------------------------------------------------