@4 DMC.Config2 (Index Article Selection) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @5 DMC.Config2 is a normal ASCII text file that holds information regarding Index Text Colours, Info Bar Colours, Mouse Pointer Colours and most importanatly what information will be displayed on the Index Pages and the path of all your text and IFF files. Those updating from other versions of DMC please note that the Index Heading is no longer read from this file and the *iff* command has been altered also. To create your Index Headings you must read the section on Configuartion part 1. Please also note that to update your old files, only small adjustments need to be made and should only take you about ten minutes max. Turn the page to see an example of what DMC.Config2 looks like. @4 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @3 COMMAND DESCRIPTION @4 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @1 512 Info Bar (Top) Colour fff Info Bar (text) Colour ff0 Mouse Pointer Colour 1 f00 Mouse Pointer Colour 2 0f0 Title Heading Colour ff0 Text Colour on Index Pages *empty* Creates a blank line. *empty* As above. THIS IS MY FIRST PAGE Prints message on screen. *empty* Stops message being selected. *empty* Creates a blank line. CLICK HERE TO LOAD A DOC Prints a message on screen. *Dox*df0:DocsDrawer/YourDoc Message can be selected/load file. *empty* Creates another blank line. *empty* Yet another. CLICK HERE TO LOAD A PICTURE Yep, another message. *iff200*df0:Pics/YourPic Message can be selected/load file. CLICK HERE TO LOAD ANOTHER PIC Another message on screen. *iff256*df0:Pics/AnotherPic Can now be selected/load file. *empty* Too easy. *empty* Same again. @3 Altering the HEX values: ^^^^^^^^^^^^^^^^^^^^^^^^ @4 The first six lines contain HEX values that will be read/stored to alter the colours of the Mouse Pointer, Top Info Screen and now also both the colours on the Index Pages (for text displayed) Don't let this worry you too much ! Just think of the three sliders you use to edit colours on DPAINT'S palette requester (or any other paint package you use). The sliders operate the three colours of Red, Green and Blue. As you slide these sliders up/down, you create new colours in the palette. The values returned would be shown as HEX and are pretty easy to get to grips with ....... yes, even you at the back of the class can do it ! :) @1 (Crude Text Example Of DPaint Palette Sliders) @2R@1: @30123456789abcdef @4G@1: @30123456789abcdef @6B@1: @30123456789abcdef @2R@4G@6B@3 --- @1 000 is BLACK by sliding all the sliders down. fff is WHITE by sliding them all up. f00 is RED by sliding the top (RED) slider up full. 0f0 is GREEN by sliding the middle slider up. 00f is BLUE by sliding the third slider up. ff0 is YELLOW by sliding the RED and GREEN sliders up. f0f is PURPLE by sliding the RED & BLUE sliders up full. 888 is GREY by sliding all the sliders halfway up. f6f is PINK by ... well you know by now. @4 Of course any values can be used such as 234 or abc or 1ca etc. The Hex Values to be used are 0123456789abcdef Experiment with different values until you come up with the results you require. If you don't fancy a go, then just stick with the defaults used in the configuration file (DMC.Config2) @3 Index Article Listing: ^^^^^^^^^^^^^^^^^^^^^^ @4 Each INDEX page can contain 20 articles, or to put it another way, 20 lines of text displayed. So if you had 21 Articles, then two Index Pages will be shown etc. As a pointer, count the number of *'s that are down the left hand side of your configuration file and this will tell you how many articles will be shown thus will tell you how many Inex Pages you will have @1 eg. HELLO THERE MY FRIENDS #1*@1empty* HOW THE DEVIL ARE YOU ? #1*@1empty* CLICK ON ME TO LOAD SOME TEXT #1*@1dox*YourDisk:YourDir/YourFile CLICK ON ME TO LOAD A PICCY #1*@1iff200*YourDisk:YourDir/YourFile @4 The above will only use 4 lines on the Index page. @1 (count the #1*'s @1down the left hand side) @3 Index Commands: ^^^^^^^^^^^^^^^ @4 You MUST follow your text with *empty* *iff200* *iff256* or *dox* If you follow the text with *empty* then it cannot be selected with the mouse. If you follow it with either *iff200*, *iff256* or *dox* then the text can be selected and it will try to load either an iff piccy or a text file. Always follow either *dox*, *iff200* or *iff256* with the correct path of your files. I have included an ErrorTrap in the code just in case the file cannot be found. Always check for spelling mistakes etc. just in case. Do NOT leave blank lines in your file. Always type *empty* to create a blank line to be displayed on screen. @3 *empty* @1- @5Creates a blank line unless there is text typed above it then it is used to tell DMC that the text cannot be selected. @3 *dox* @1- @5Used to load in your text articles. @3 *iff200* @1- @5Used to show a picture inside the DMC Display area. In other words the picture will be shown between the Info Bar and the User Panel. @3 *iff256* @1- @5Used to show a picture on the full screen. In other words the picture will be displayed fully and DMC will be hidden from view (until a mouse key is selected) @4 When you have finally finished typing your file and checked it for any spelling mistakes etc. save it to disk as #4DMC.Config2 @4 Load up the config file supplied with DMC into your text editor and you can easily edit it to suit your own needs. Again this file should be saved as normal ASCII text. @1 End.