[Migrated content. Thread originally posted on 09 December 2011]
Hi All,Any one know the code to change the cursor shape to an hour glass when going off and doing a large SQL job and then resetting back to an arrow when finished?
Kind regards
Neil.
[Migrated content. Thread originally posted on 09 December 2011]
Hi All,[Migrated content. Thread originally posted on 09 December 2011]
Hi All,
$set ilusing"System.Windows.Forms"
class-id testhourglass.Form1 is partial
inherits type System.Windows.Forms.Form.
working-storage section.
method-id NEW.
procedure division.
invoke self::InitializeComponent
goback.
end method.
method-id button1_Click final private.
procedure division using by value sender as object e as type System.EventArgs.
set type Cursor::Current to type Cursors::WaitCursor
invoke type System.Threading.Thread::Sleep(5000)
set type Cursor::Current to type Cursors::Default
end method.
end class.
[Migrated content. Thread originally posted on 09 December 2011]
Hi All,[Migrated content. Thread originally posted on 09 December 2011]
Hi All,Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.