Notifications
Clear all

[Closed] Events for rollouts?

Is there a way to get more events from rolloutFloaters?

like for mouse_move, left/right click etc. They are not documented in the scripthelp, but the funny think is that these events are documented for the CreateDialog window.

Would be great to have the ability to get if the user is “howering” above a button too. I guess I could do this with a timer, and compare the mouse pos to all the button positions (but this would stink to do!)

/Andreas

17 Replies
1 Reply
(@bobo)
Joined: 11 months ago

Posts: 0

Dude,

You know I take this personally

They are not documented in the MAXScript Reference for Floaters because they do not exist in floaters. createDialog implements the mousemove, lbuttondown etc. event handlers, so they are documented where they belong.

Try this:

rollout test “Test”
(
button testbutton width:100 height:100
on test mousemove pos do testbutton.caption = pos as string
)
nrf = newRolloutFloater “Test” 300 300
addRollout test nrf

Now try to move the mouse around the rollout in the floater – nothing happens!

Remark the last two lines and add this instead:

createDialog test 300 300

Move the mouse around and the position will be printed in the button’s caption.

Cheers,
Bobo

ok I am posting this for twice, here internet sucks. anyway.

Hey man, if you need that functionality, I would prefer doing a dialog for opening other dialogs which are rollouts, I mean a checkbox will open another dialog. Then you will have the function plus, it will be more clear to see what is needed to see for the user. anyway just my 2 bucks.

and Bobo man, you avatar looks cool, not kidding. Do you have a bigger one. Nice pose believe me. But it seemed to me that it is not you maybe? anyway.

See ya

2 Replies
(@bobo)
Joined: 11 months ago

Posts: 0

Thanks, man, I am a real geek and don’t consider myself a good-looking person

The image was taken by John K. Jordan at the Max Support Forum Party at Siggraph 2001 in LA. The original image can be found on Neil Blevins’ homepage:
http://www.neilblevins.com/siggraph_photos/2001/sig2001b.htm

Here is the full-blown picture incl. custom magma* baseball cap a Max Forum member produced in limited quantity after Siggraph 2000, and a pair or RayBan sunglasses that I lost last year:

Cheers,
Bobo

(@f97ao)
Joined: 11 months ago

Posts: 0

Yea, I have thought about this, but I don’t really like it, it will mean that there will be a large bunch of small floaters floating around, not so cool, that will clutter everything. Easier if there is just one that can be resized and move around I think.
/Andreas

hey Bobo, actually I never saw any photo of you before. And that photo really somewhat touched me. Dont get me wrong but, you have quite innocent face. Thanks man for giving out your photo.

and please dont think you are not looking good, in fact you are. Any chance to know if you are married?

See ya

1 Reply
(@bobo)
Joined: 11 months ago

Posts: 0

LOL!

Thanks for the flowers!
I am not married, still looking…

Now back to scripting!

Heh! I never noticed it until I saw the full-size pic, but your eyes are closed behind those glasses, aren’t they Bobo? It sure looks that way, anyway

RH

Yep, that’s the reason I am wearing the glasses on that picture – as you can see on the other pictures, my eyes close faster than the speed of light!
(on Spet. 04 I celebrated 20 years of computing – started with an Apple II back in 1984! It surely ruins your sight…)

no man I am just saying you are such a cool dude, that shouldnt be MISSED!

See ya

Hiya Bobo, yes this is pretty much what I figured.

Problem is that the CreateDialog can only have ONE rollout, correct? So not so much fun since I have about 5 rollouts (like i do)

Hmm, hmm I kind of like the rollout floaters but it sure would be nice to have right click and middle click available.

/Andreas

yeah if there are many rollouts, you are right, so maybe in max 7, you can do this. But anyone can tell me when max 7 will be shipped?

See ya

1 Reply
(@bobo)
Joined: 11 months ago

Posts: 0

Official word from 3ds max Product Management is “middle of October”.
And no, you cannot do that in 7. Floaters are the oldest form of dialogs in MAXScript (since R2.0) and you know the saying “never touch a running system”.

lol…its the dating thread…you’ll be married soon bobo. or there will be a dating show dedicated to that topic if the thread goes on like this

hey Bobo, I think you are right man. Also do you think there is a possibility of a rewrite. if there is does that mean, older MAXScripts will not work. I hope that doesn’t happen at least for the next 3 releases.

See ya
Page 1 / 2