[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Bits 'o business



More for Bob Brody:
Yup, you can modify .MNU files in both Xy4Dos and XyWin. There's no manual
on how to do it, so cloning what's there is probably the best way to go. In
XY4.MNU at least, there's a key to some of the more arcane markings; you can
have items in the pull-down dimmed if there's no file open, etc.

VERY IMPORTANT (sorry to shout):
1. Make a copy of both MNU and DLG files before beginning to experiment.
 Work off the copies.
2. You have to save and reload the files before they work. On many
computers, saving an already-loaded MNU or DLG file will cause a harmless
error message. What you have to do then is (a) load your original MNU and/or
DLG file(s); (b) SAve the ones you're experimenting with; (c) load the ones
you're experimenting with.
3. I *think* you can use the JD (jump to dialog) with a U2 file. You do have
to precede the reference to the destination with "2." (without the quotes).
 So, if your MNU file jumps to a frame in U2 called FooBar, you need to jump
to 2.FooBar.
4. When you JD to a dialog box program, it's always a good idea to JD to a
type-5 frame first, even if you then immediately JM to the dialog (remember
the "2."). Then if you later discover you need to initialize a save-get or
some other thing, you have the type-5 in place ready to do service.
5. In the MNU file, the JD command can go directly to functions. You can JD
to the copy function (func CP, for instance).
6. Notice that your MNU file can also create sub-menus that "cascade" out to
the right or left of the pull-down. This is a bit more tricky, but very
useful sometimes. Again, read the MNU file to see how it was done.

Have fun with this experimenting, and please get back to us and let us know
what you did and how it went.

Good luck!

Tim Baehr (former Xyquestrian)
TBaehr@xxxxxxxx