Re: help on this window...

new topic     » goto parent     » topic index » view thread      » older message » newer message

You kind of figured it out yourself in your comments.

> About =3D create(MenuItem, "About", help,0,0,0,0,0),
                                                           ^^^^
The "help" above never existed as an lValue (a variable on the left of the =
equals sign) in the original example, because you had named the lvalue =
"helpgame" instead.  By changing "helpgame" to "help" in the lValue, the =
create command now knows what menu to put the item into.  For the same =
reason, you could have also changed "help" to "helpgame" in the two create =
lines and it would have worked just as well.

Hope this clears things up.
Michael J. Sabal


>>> FFUltimateMaster at CS.COM 07/26/00 11:44AM >>>
mabrown at SENET.COM.AU said:

Try changing this....

> helpgame =3D create(Menu, "Help", win,0,0,0,0,0),
> About =3D create(MenuItem, "About", help,0,0,0,0,0),
> Guide =3D create(MenuItem, "About", help,0,0,0,0,0)

to this....

> help =3D create(Menu, "Help", win,0,0,0,0,0),
> About =3D create(MenuItem, "About", help,0,0,0,0,0),
> Guide =3D create(MenuItem, "Guide", help,0,0,0,0,0)

Hope this helps.

Mark

yes, that helped! What was the problem?? (if its not to much to explain)

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu