Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing cursor to hourglass for ENTIRE FORM

Status
Not open for further replies.

biot023

Programmer
Nov 8, 2001
403
GB
Hallo.
Often when I set the cursor to HourGlass, it doesn't change, or only changes for the detail of the form (& whatever controls I changed it for, too). I can't beleive the only way to change the cursor for all controls would be to code for each control a line at a time - but is it?
Or is there an easier way?

All help gratefully appreciated.

Douglas JL Common sense is what tells you the world is flat.
 
With me the following code does work (for a button Print in the form):

void __fastcall Tform1::btnPrintClick(TObject *Sender)
{
Screen->Cursor = crHourGlass;
....
}

Henk Stijnen
 
No - it still just doesn't change, or I get the briefest flicker of an hourglass when the processes I'm runnning are completed. Common sense is what tells you the world is flat.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top