doMneu, alas

Judy Perry katheryn.swynford at gmail.com
Wed Mar 4 00:50:28 EST 2009


Craig,
Have you checked out TTS syntax yet?

Blech.

Judy
http://revined.blogspot.com

On Tue, Mar 3, 2009 at 8:59 PM, dunbarx <dunbarx at aol.com> wrote:

> Thanks, all, for the feedback. So that is the accepted way then:
>
> "doMenu", a command, is replaced by sending "menuPick", a message, to a
> button, an object, renamed in this special case a "menu"?
>
> Well, OK, it works alright, but why not a simple command, oh, like, um,
> "doMenu"? Instead we have a procedure.
>
> It seems untoward that a button, a native object, should be renamed at all,
> characterized merely by its style. It is a tear in an otherwise smooth
> fabric. Was it just so the procedure reads better? And if so, why isn't that
> procedure at least formally presented in the docs, as a methodology for what
> I can only think of as that missing command? Am I the only one that uses
> this all the time?
>
> If the formal syntax for the invoking of menu commands was written down:
>
> send "menuPick" && "menuItem" to menu "menuName"
>
> then it would imply that Rev contains a native menu object, like HC. You
> can only send messages to objects, right?
>
> I have a scrolling field "myField", can I say: put "foo" into scrolling
> "myField"?
>
> I am not whining. I am going on and on.
>
> Craig Newman
>
>
> On Mar 3, 2009, at 7:29:19 PM, "Mark Wieder" <mwieder at ahsoftware.net>
> wrote:
> You can certainly send the "menuPick" message to a button, but it
> won't be caught unless the button's style is set to "menu".
>
>
>
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list