home *** CD-ROM | disk | FTP | other *** search
- Highlighting IDAPI Code in BC 4.x
- ---------------------------------
-
- Making use of the IDAPI.TOK color syntax highlighting file:
-
- 1. Copy the IDAPI.TOK file from the \BDE\DOC directory to the
- \BC45\BIN direcrtory.
-
- 2. To change the TOK file which the IDE uses, choose the menu command
- "Options | Environment" and under Topics choose Editor | File. If
- the Editor has a + sign to the left, click on the + sign to expand
- the Editor options below it.
-
- 3. In the Reserved Words window on the right the TOK files are listed.
- Select the IDAPI.TOK file.
-
- How to set up the color schemes:
-
- Once the IDAPI.TOK file is selected, IDAPI functions still appear
- in the default color scheme.
-
- 1. To change this, select "Options | Environment", and under Topics
- choose "Syntax Highlighting | Customize" (click on it if necessary
- to expand the options below it).
-
- 2. In the Element window scroll down and select "Client 1" to modify
- the color of functions, and "Client 2" to modify the color of the
- data types. The Foreground and Background default boxes are checked.
-
- 3. Choose from among the 16 colors in the Color window. Left click on a
- color square to change the Forground Color to that color (a FG will
- appear). Right click on a color square to change the Background Color
- to that color (a BG will appear).
-
- Notes:
-
- You need to either exit the IDE or select another TOK file if you make
- any changes to the TOK file after it has been loaded to see the changes.
-