Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
13
Task/Mouse-position/FutureBasic/mouse-position.basic
Normal file
13
Task/Mouse-position/FutureBasic/mouse-position.basic
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
subclass window 1, @"Click somewhere in the window"
|
||||
|
||||
void local fn DoDialog( ev as long )
|
||||
select ( ev )
|
||||
case _windowMouseDown
|
||||
CGPoint pt = fn EventLocationInWindow
|
||||
cls : printf @"%.0fx, %.0fy",pt.x,pt.y
|
||||
end select
|
||||
end fn
|
||||
|
||||
on dialog fn DoDialog
|
||||
|
||||
HandleEvents
|
||||
Loading…
Add table
Add a link
Reference in a new issue