B4J Question CSBuilder error

Guenter Becker

Active Member
Licensed User
Hello,
Using B4J 10.3
I like to have some icons on the main level of the MenuBar.
I found no info if it is possible by code. I know that it is possible for subitems.

I tried to use CSBuilder because it is announced as B4X working for B4A and B4J and that it is a core lib.
If I code Dim CS as CSBuilder I get the information that type CSBuilder is not known???? Why??????

Can't use BCTextEngine/BBCodeView because I don'know how to get this used for the Menu.

Any Idea why CSBuilder is not working?
Any Idea how to attach the Icons to the main level Items?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
CSBuilder is a B4A and B4i type. No CSBuilder in B4J.

Can't use BCTextEngine/BBCodeView because I don'know how to get this used for the Menu.
This is indeed not possible.



1. Add to MenuBar Extra CSS field:
B4X:
-fx-font-family:'FontAwesome';
-fx-font-size:16.00;

2. A bit cumbersome - add another label, set its font to Font Awesome and open the icon chooser. Now you can copy an icon from the chooser and paste it into the MenuBar Menu Items:


You need to do it one by one.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…