Discussion:
No Ellipse, Please
Chuck Pelto
2007-01-12 20:00:45 UTC
Permalink
I've got a popup menu that has a symbol and a textual explanation of
what the symbol means on each line of the initial value.

The popup menu is intended to be narrow, so that when not popped,
only the symbol with show. There are several spaces between the
symbol and the textual explanation.

However, after a symbol has been selected and the menu is not popped
up, RB adds ellipse to the viewable part of the menu object.

How do I stop those things, the ellipse, from showing up?

Regards,

Chuck
j***@strout.net
2007-01-12 20:51:00 UTC
Permalink
Post by Chuck Pelto
However, after a symbol has been selected and the menu is not popped
up, RB adds ellipse to the viewable part of the menu object.
Ah, you mean an ellipsis. This is done by the OS, and only on the Mac;
on Windows, it's even worse: the whole popup menu will be expanded in
width (possibly clobbering neighboring controls) to make the full text
visible.

I think what you want here is a BevelButton, on which you draw the
symbol, and in the attached menu, have both symbol and text. This
should work on all platforms, I think.

Best,
- Joe

--
Joe Strout -- ***@strout.net
Verified Express, LLC "Making the Internet a Better Place"
http://www.verex.com/
Chuck Pelto
2007-01-12 21:35:29 UTC
Permalink
Post by j***@strout.net
Ah, you mean an ellipsis. This is done by the OS, and only on the Mac;
on Windows, it's even worse: the whole popup menu will be expanded in
width (possibly clobbering neighboring controls) to make the full text
visible.
Oh. That's just 'jolly'.
Post by j***@strout.net
I think what you want here is a BevelButton, on which you draw the
symbol, and in the attached menu, have both symbol and text. This
should work on all platforms, I think.
That would take up entirely TOO MUCH SPACE.

YO!

Guys at REAL Soft. You need to FIX this aspect of Popup Menu
behavior. I recommend a property that can turn on or off this
egregious behavior.

Regards,

Chuck
j***@strout.net
2007-01-12 21:37:54 UTC
Permalink
Post by Chuck Pelto
Guys at REAL Soft. You need to FIX this aspect of Popup Menu
behavior. I recommend a property that can turn on or off this
egregious behavior.
It's a behavior of the OS, not a behavior of REALbasic. But I guess
you could file a feature request anyway, in case they think it worth
trying to find some work-around.

--
Joe Strout -- ***@strout.net
Verified Express, LLC "Making the Internet a Better Place"
http://www.verex.com/
Chuck Pelto
2007-01-12 21:44:15 UTC
Permalink
Post by j***@strout.net
It's a behavior of the OS, not a behavior of REALbasic. But I guess
you could file a feature request anyway, in case they think it worth
trying to find some work-around.
Done that.

We'll see what transpires....

Regards,

Chuck
Arnaud Nicolet
2007-01-12 23:48:05 UTC
Permalink
Post by j***@strout.net
Post by Chuck Pelto
Guys at REAL Soft. You need to FIX this aspect of Popup Menu
behavior. I recommend a property that can turn on or off this
egregious behavior.
It's a behavior of the OS, not a behavior of REALbasic. But I guess
you could file a feature request anyway, in case they think it worth
trying to find some work-around.
Is it not written in the Apple Interface Guidelines that an ellipsis
must be present if the text is too long?
Even if RS make a popup menu that is completely made from a canvas
(to avoid OS behaviours), I think the ellipsis must be there.
Terry Ford
2007-01-12 21:37:59 UTC
Permalink
Post by Chuck Pelto
Guys at REAL Soft. You need to FIX this aspect of Popup Menu
behavior. I recommend a property that can turn on or off this
egregious behavior.
Make a Feature Request then.

Terry
Chuck Pelto
2007-01-12 21:44:58 UTC
Permalink
Hi Terry,
Post by Terry Ford
Make a Feature Request then.
Been there. Done that. Waiting for the t-shirt.....

But I'll settle for a coffee mug.

Regards,

Chuck
Christian Schmitz
2007-01-13 01:35:50 UTC
Permalink
Post by Chuck Pelto
Post by Terry Ford
Make a Feature Request then.
Been there. Done that. Waiting for the t-shirt.....
I've an better idea: Make your own button using a canvas.

Gruß
Christian
--
Around eleven thousand functions in one REALbasic plug-in.
The Monkeybread Software Realbasic Plugin v6.5. Now universal!
<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
Continue reading on narkive:
Loading...