dialog object

Nov 27, 2007 at 1:31am

dialog object

hi everybody

there’s a way to give the coordinates (x,y) to the window of the “dialog” object?

thank’s

L.

#34771
Nov 27, 2007 at 1:51am

#117837
Nov 27, 2007 at 2:07am

#117838
Nov 27, 2007 at 4:31pm

Hi.
Here is a alternative dialog abstraction that I made once…
If I remember well, it always centers itself on the screen, whatever
resolution you have.
You can customize colors, …
The archive contains the abstraction, the help file and a small js
that was just needed to have the “instructions” text of dialog box
centered in the box…
Maybe it will give you ideas…
Best.

#117839
Nov 27, 2007 at 4:37pm

Sorry, I forgot that attachments don’t make it through the mailing-list…
Here it is.

#117840
Nov 27, 2007 at 7:24pm

thank’you

it works, but it can’t find 3 obj.

_text
_frgb
_brgb

but it works

L.

#117841
Nov 27, 2007 at 7:42pm

[_] is like [prepend] and it’s from great Jasch library (www.jasch.ch).
I thought it came by default with last versions of max though.
Just replace those with :
[prepend text], [prepend frgb], [prepend brgb].
Best.

#117842
Nov 29, 2007 at 12:00am

lorbi schrieb:
> but it works

Yes, out of a technical point of view…
Dialog boxes in general are very bad user interfaces, distracting, and
that “working” example is even worse, because you can’t close it with
the usual shortcut. It will close the main patch…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#117843
Nov 29, 2007 at 10:35am

Talking about UI, I still prefer this one (which I never use… I just hate
dialog boxes) than the original dialog object.
And it’s closing after you typed something by pressing enter or tab…
I just wanted to avoid “enter” and “cancel” buttons so of course, you can’t
cancel and close by pressing “esc” (like [dialog] or [ej.dialog]…).
And one can easily get rid of the float flag so it acts like a “normal”
window but I thought it would be better not to be able to click somewhere
else on the main patch and loose the focus while dialog is still open (and
active).
Well, this is just a stupid example… ;)
Best.

On Nov 29, 2007 1:00 AM, Stefan Tiedje wrote:

> Dialog boxes in general are very bad user interfaces, distracting, and
> that “working” example is even worse, because you can’t close it with
> the usual shortcut. It will close the main patch…
>
> Stefan
>

#117844
Nov 29, 2007 at 6:04pm

To each thing there is a season, and a time and place for all things under heaven. A time to be born, a time to die; a time to sow and a time to reap; a time to dance and a time to mourn.

And, yea, even a time to use Dialog Boxes.

I agree that they tend to be over-used and used in situations that are not appropriate, but there *are* circumstances where a Dialog Box (or its baby brother, the Alert Box) are the Right Thing to Do. So let’s maybe not throw out the baby with the bathwater while we’re getting UI religion, OK?-)

Whether the OP’s DB was in good taste is an open question.

About the underscore… the “modern” way to do that is with Max Shortcuts. It’s in the friendly reference manual. Has the advantage that the patch ends up with the full name of the object.

#117845
Nov 29, 2007 at 6:29pm

#117846
Nov 30, 2007 at 9:00am

Peter Castine schrieb:
> To each thing there is a season, and a time and place for all things
> under heaven. A time to be born, a time to die; a time to sow and a
> time to reap; a time to dance and a time to mourn.
>
> And, yea, even a time to use Dialog Boxes.

Love it! …


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#117847

You must be logged in to reply to this topic.