Other Change colors and fonts of the B4A and B4J IDE's

HotShoe

Well-Known Member
Licensed User
Longtime User
I have written a windows 32bit program that reads your b4x.xml files and allows you to change colors and the overall font of the IDE environments. Operation is simple and straight forward, and does not require any other libraries or installation.

This version works for older b4a IDE's (1.90 and up) and the new version 4.30 IDE. This version also works with B4J and B4I, and it allows you to copy the color and font configurations between any of the IDE's via the Copy button. Since this version merges color sets only, it should be compatible wish future versions as well. It only writes the values that are present in the .xml file or leaves unknown values unchanged.

The linked .zip file includes a readme file and sample b4a xml files named B4A-sample-2.70.xml, B4A-sample-3.8.xml, etc., that can be renamed and dropped into your b4a installation folder. It contains the current file that I use on my installation. Be sure to make a backup copy of your current b4a.xml file before you use this or any program that can change it.


b4xcolors.png


Select which program you want to modify with the buttons at the bottom right. You can select b4a, b4j, or b4i and the correct config will be loaded.

Just click any of the colored panels to change the color for that item. Click the text button to change the overall font and size. You can click the share button to make a copy in a folder and file name of your choice for posting your own creations.

The actual modifications the your b4a.xml file are not done until you click the Save button, just clicking Close will NOT save any changes. The program tries to guess your install directory based upon the registry entry for b4a, but if it can't, just click on the browse button beside the b4a folder edittext to choose the location of your b4a, b4j, or b4i install folder.

Each time you save your b4x.xml file a copy of the new colors is saved as well so that the Last button can reload those colors when the next upgrade of an IDE comes out.

Unzip the b4acolors.zip to any folder you wish and look through the readme file. You can set a shortcut to the program or run it via windows explorer. Be aware that B4xColors should be run as administrator so that it can modify the b4x .xml files.

The file can be downloaded here


I hope you find this useful

--- Jem
 
Last edited:

stevel05

Expert
Licensed User
Longtime User
Hi Jem,

Just downloaded this for the first time, it works great with B4a, copied your example and B4a runs fine. If I then click the copy button to copy to B4J, B4j won't run. I just get the Has Stopped working dialog.

I had a quick look at the xml's and couldn't see anything obvious.

Edit: I have B4a 3.82 and B4j 2.20
 
Last edited:
Upvote 0

HotShoe

Well-Known Member
Licensed User
Longtime User
I rarely use b4j so it does not get tested much, but I'll check it out tonight to find out what is different there.

Thanks Steve,

--- Jem
 
Upvote 0

HotShoe

Well-Known Member
Licensed User
Longtime User
A new version is available in the link from the first post. The Copy button routine has been fixed so that it properly merges the color section ONLY (it was merging the entire xml file). Try it out and as always, let me know if you see a problem or have a suggestion.

--- Jem
 
Upvote 0

stevel05

Expert
Licensed User
Longtime User
Thanks Jem, that's working.:)
 
Upvote 0

HotShoe

Well-Known Member
Licensed User
Longtime User
new version attached to first post. Be sure to read the first post again for the new changes.

--- Jem
 
Upvote 0
Top