Notifications
Clear all
[Closed] Modal dialog and mouse
Page 2 / 2
Prev
Aug 20, 2009 7:52 pm
But you have to move mouse over viewport to make it actually stop tracking Would be nice if you could make it stop immediatly.
Aug 20, 2009 7:52 pm
I can:
try(destroydialog mouseTracker) catch()
rollout mouseTracker "Mouse Tracking"
(
fn mouseTracking msg ir obj faceNum shift ctrl alt =
if msg == #mouseAbort or msg == undefined then #abort else #continue
button start "Start" width:80 across:2
button stop "Stop" width:80
on start pressed do
(
start.enabled = off
mouseTrack trackCallback:mouseTracking
start.enabled = on
)
on stop pressed do max select
)
createDialog mouseTracker width:190 height:30
Aug 20, 2009 7:52 pm
Very cool c# compile trick… I like it and didn’t know about it… thanks…
Nothing like an interpretive language doing run time compiling to then run… classic…
I guess that still makes the code interpretive…
Aug 20, 2009 7:52 pm
Oh great, how didn’t i think of doing it like that…goddamn embarassing. I owe you a lot denisT :bowdown:
Page 2 / 2
Prev