+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11

Thread: Documentation Color

  1. #1
    Guest.Visitor Guest

    Default Documentation Color

    I have noticed when modifying code from other companies That they have changed the color of there important notices to white. This is a wonderful Idea as it draws attention to that notice in the middle of all that green text. How is this done?

  2. #2

    Default Documentation Color

    I change the color of text in the DDS. There is an attribute where you can specify any one of several colors: BLU, GRN, PNK, RED, TRQ, etc. Also, change a display attribute to HIGHLIGHT (I forget the abbreviation - HI perhaps) will make text appear white on my screens. I am not at work now, so I cannot cut and paste the exact line from my DDS's. I'll do that tomorrow if you need more specifics.

  3. #3
    Guest.Visitor Guest

    Default Documentation Color

    Here is the code for a utility program that will let you colorize your source code. This zip file has the command, display file, rpg program and clp program. You can do a CPYFRMPCD to a source file. It takes you into your source and diplays a window with color selections for many colors. Enjoy.

  4. #4
    Guest.Visitor Guest

    Default Documentation Color

    If your talking about changing the attributes of the source, you need to use a file edit utility, like DBU, to modify the source code to have a hex value at the beginning of the line (or whereever you want it to start). I'll lookup the documentation I have but off the top of my head, I think most of the values are in the twenty range. i.e. x'20', x'21' . . . x'29'

  5. #5
    G.Gaunt Guest

    Default Documentation Color

    Run this REXX, then use F15=Browse to copy colors from QTEMP/COLORS/COLORS.
     "CRTSRCPF FILE(QTEMP/COLORS) MBR(COLORS)" "OVRDBF FILE(STDOUT) TOFILE(QTEMP/COLORS) MBR(COLORS)" Do X = 1 To 32 Say Right( X, 4, '0' ) || '00000000' || D2C( X + 31 ) D2X( X + 31 ) End X

  6. #6
    Guest.Visitor Guest

    Default Documentation Color

    Having trouble using using program. Everything compiled, runs fine but doesn't change text color. Any instructions?

  7. #7
    Guest.Visitor Guest

    Default Documentation Color

    Check out www.rpgalive.com bobh

  8. #8

    Default Documentation Color

    If your using Client Access Express, you can also use a key combination that will place the hex value in CC1 while your in SEU. I have CTRL-W set for white text using: apl 22 Terry

  9. #9
    Guest.Visitor Guest

    Default Documentation Color

    Steve - Are you calling 'COLORTEXT' with your library/file/member and going into the utility? Place the cursor just before the * of a comment line and take F9. Put an 'X' beside the color you'd like and hit ENTER. There shouldn't be very much to it. Let me know if this isn't the case.

  10. #10
    Guest.Visitor Guest

    Default Documentation Color

    Steve, I had the same problem. Some of the color hex values were incorrect. I had to DBU the source member to set them correctly before it would work. HTH, Cheryl

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Similar Threads

  1. color laser printer ignores COLOR DDS keyword
    By G.Gaunt in forum Document Management
    Replies: 1
    Last Post: 08-26-2003, 12:25 PM
  2. QtmmSendMail documentation
    By David Abramowitz in forum Programming
    Replies: 8
    Last Post: 01-25-2001, 09:02 AM
  3. Where to place documentation?
    By Guest.Visitor in forum Programming
    Replies: 6
    Last Post: 05-26-2000, 04:07 PM
  4. HELP! API Documentation
    By Guest.Visitor in forum Application Software
    Replies: 16
    Last Post: 03-30-2000, 06:39 PM
  5. DSPSTMF documentation?
    By Guest.Visitor in forum Analysis
    Replies: 2
    Last Post: 11-24-1999, 03:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts