Main Menu

KB#00578-How to change Visual PRO/5's window colors so it looks like a PRO/5 for DOS

Title:

How to change Visual PRO/5's window colors so it looks like a PRO/5 for DOS

Description:

The following lines of code change the background colors of the syswindow device so it looks like a PRO/5 for DOS: 

        PRINT 'BACKGR'('BLUE','DEFAULT') 
        PRINT 'CS' 

If the colors look dithered under Visual PRO/5, the parameter map_rgb_colors needs to be modified. In Visual PRO/5 1.05, the pro5.ini file needs to be modified to include the line: 

        map_RGB_colors=y 

(It should already be there but it probably says N - change it to Y, save the file and restart VPRO/5). 

In Visual PRO/5 2.x, this information is contained in the registry: 

        HKEY_CURRENT_USER\Software\BASIS\VPRO5\rev\pro5\default 

The key is called map_RGB_colors, and defaults to a 00 (binary 0 which means off). To turn it on, change the value of the key to a binary 01. See also KB00681. 

WARNING!!! 
Using the Registry Editor (regedit) incorrectly can cause serious problems that may require you to reinstall Windows 95. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. USE Registry Editor AT YOUR OWN RISK! 

NOTE: For information about how to edit the registry, view the Changing Keys And Values online Help topic in Registry Editor (Regedit.exe). Note that you should make a backup copy of the registry files (System.dat and User.dat) before you edit the registry. 



Last Modified: 02/23/2004 Product: PRO/5 Operating System: All platforms

BASIS structures five components of their technology into the BBx Generations.

  Google+ View BASIS LinkedIN ProfileVisit our Twitter Feed Check out our Facebook Public Profile Click to View the BASIS youTube channel