How to change cursor

In FR2 I used screen.cursor=-17 and it worked.
In FR3 it doesn't work, why ?
Thanks.

Comments

  • edited 6:55AM
    Where do you set the cursor and how it should work (in preview window?)
  • edited 6:55AM
    I use Query in my report where I have special SELECT statements.
    So I have first window in my report where I ask user to set parameters, then when user clicks on OK I open my Query with parameters and try to preview report. But it takes a while, so I need SQLWait cursor in this time.
    L.
  • edited 6:55AM
    FR does not change the Screen.Cursor property, only controls' Cursor property. I don't know why Screen.Cursor is changed.
  • edited 6:55AM
    Well but in FR 2 it worked. I could use
    screen.cursor:=-17;
    query.close;
    query.sql.clear;
    query.sql.add('...');
    query.open;
    screen.cursor:=0;

    than user knew that program works (when select statement need for example 8 seconds).
    In FR3 this doesn't work.

Leave a Comment