× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



This is a multipart message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
You can edit the DDS for menus using CODE Editor or CODE Designer.
It is a bug that the MNUDDS member types are not listed in the CODE
Designer open dialog.  But you can type in the name in the open dialog and
it will load it.
Alternatively you can open it in the CODE Editor and then go to the File
menu and select 'Design DDS screens' and this will open the member in CODE
Designer.

Note that this is not the same level of support that you had with SDA
option 2.  It allows you to edit the options screen in a nice WYSIWYG way.

It does not let you edit the commands and associate application help or
recompile the menu object.
The commands are contained in the MNUCMD member and you can edit that
using the CODE Editor.

You can run the CRTMNU command in the command shell or on the green screen
or use STRSDA option 2 (PDM 17) from the green screen to update the menu
object and test it.

The nicest way to work with this in CODE would be with the project
organizer.
You can create a filter for menus that looks like:
  <hostname>mylib/mysrcf(*) MBRTYPE(MNU*)
Then you can create an action (Tools->Actions  or just Shift+F4)
  Click on the AS/400 Members tab
  Click on the New action button
    Name the action how you want ('Compile menu') for example
    The command should be:  CRTMNU MENU(&N) TYPE(*DSPF)
     (The &N gets replaced with the selected member name)
    Make sure that 'remote command' is checked.
    Select the <MENU> type and push the Add>> button
    Push the Create button
  Push Ok
  Now when you right click on either your MNUDDS or MNUCMD you can select
'Compile menu' and it will get compiled.
  By the way you can right click and edit these files in CODE Designer or
CODE Editor as well.


Hope this helps.

(By .cc to our development team, let's make sure this functionality exists
in the new IDE)

---------------------------------------------------------------------------------------------

Edmund Reinhardt,  AS/400 AD Tools,   reinhard@ca.ibm.com
Dept 607,   IBM Canada Lab  TL 969-4392  Phone 905-413-4392





"Phil" <sublime78ska@attbi.com>
Sent by: code400-l-admin@midrange.com
21/05/2002 03:35 PM
Please respond to code400-l


        To:     <code400-l@midrange.com>
        cc:
        Subject:        RE: Code Compile Options / PDM Opt 17



I've never edited a menu in Code before so I tried it.  Doesn't look like
you can do it except by editing it with the Code Editor.

Anyone else know if menus are supported in CODE?

Phil





> -----Original Message-----
> From: code400-l-admin@midrange.com
> [mailto:code400-l-admin@midrange.com]On Behalf Of Cyndi Bradberry
> Sent: Tuesday, May 21, 2002 9:34 AM
> To: CODE400-L (E-mail)
> Subject: Code Compile Options / PDM Opt 17
>
>
> Hi,
>
> All our menus are created using PDM Option 17. The source is in
QMENUSRC.
>
>
> Member        Type             Text
>
> MENU          MNUDDS           Test Menu
> MENUQQ        MNUCMD           Test Menu
>
>
> After editing, we accept the compile defaults and it creates
> three objects:
> *MSGF, *FILE, *MENU. The *File and *Menu have an attribute of DSPF.
>
> Ok, here is my question:  How do I edit and compile these from Code ?
>
> TIA,
>
> Cyndi B.
> Boise, ID
> _______________________________________________
> This is the CODE/400 Discussion & Support (CODE400-L) mailing list
> To post a message email: CODE400-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l
> or email: CODE400-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/code400-l.
>
>


_______________________________________________
This is the CODE/400 Discussion & Support (CODE400-L) mailing list
To post a message email: CODE400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/code400-l
or email: CODE400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/code400-l.





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.