How to move cursor in MVC?

Bert Freudenberg bert at impara.de
Tue Nov 16 10:46:53 UTC 2004


Am 16.11.2004 um 11:15 schrieb Bert Freudenberg:
> 	Cursor blank showWhile: [
> 		Cursor normal
> 			follow: [Display extent - Sensor mousePoint]
> 			while: [Sensor noButtonPressed]]

Looks like you get artifacts when directly using the cursor form ... 
this is better:

Cursor blank showWhile: [
	(Cursor normal asCursorForm offset: 0 at 0)
		follow: [Display extent - Sensor mousePoint]
		while: [Sensor noButtonPressed]]

- Bert -




More information about the Squeak-dev mailing list