Board index » cppbuilder » Problems Changing Cursor While Modal Form Opens
C.R. Hinner
![]() CBuilder Developer |
Sat, 09 Oct 2004 21:56:33 GMT
Problems Changing Cursor While Modal Form Opens
I have a modal form that takes about 5 seconds to open, due to some
processing in its constructor. I want to change Screen->Cursor to crHourGlass between the time the button that opens the form is clicked, and the time the form appears. I have unsuccessfully tried this two different ways: First, I tried setting the cursor right before the form is opened, Quote} { [Do stuff that takes a while to process] Screen->Cursor = crDefault; Application->ProcessMessages(); Quote} Then, I moved the change to the hourglass to the modal form's Quote} I think I'm experiencing this issue due to the fact that the form |