Jump to content

the ScreenMask property and use is not clear...


Israel Portillo

Recommended Posts

Novice question in mobile version

 

I want to do this...

 

somebutton.onclick

var

   oldCursor: tcursor;

begin

  try

    oldcursor:=screeen.cursor;

    screen.cursor:=crHourglass;

    //

    DoSomeFunctionSpendigSeveralSeconds()

  finally

    screen.cursor:=oldcursor;

  end;

 

Its not clear how to do that, in the movil example only put to sleep(3000) but how to process in meanwhile....?

 

Thanks for your help.

 

Link to comment
Share on other sites

The situation is how to do process while the mask is working..... ?

 

I mean

 

1.- Put mask working ( as to put mouse pointer in hourglass)

 

2.- do some (several seconds) consuming process

 

3.- Turn off the mask

 

Tipically is to show to the user the system is working  w

Link to comment
Share on other sites

×
×
  • Create New...