Guenter Becker Active Member Licensed User Longtime User Sep 26, 2025 #1 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?
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 Sep 28, 2025 #2 CSBuilder is a B4A and B4i type. No CSBuilder in B4J. Guenter Becker said: Can't use BCTextEngine/BBCodeView because I don'know how to get this used for the Menu. Click to expand... This is indeed not possible. 1. Add to MenuBar Extra CSS field: Code: Copy -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
CSBuilder is a B4A and B4i type. No CSBuilder in B4J. Guenter Becker said: Can't use BCTextEngine/BBCodeView because I don'know how to get this used for the Menu. Click to expand... This is indeed not possible. 1. Add to MenuBar Extra CSS field: Code: Copy -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.
P PJLPJLPJL Member Licensed User Longtime User Sep 25, 2026 #3 I've seen at least one "official" post which suggest CSBuilder is available for B4J (typo, maybe??). eg "CSBuilder is supported by B4A and B4J." on https://www.b4x.com/android/forum/threads/b4x-csbuilder-marking-based-on-regex-pattern.83002/ Perhaps this (and any other) such posts could be modified to avoid confusion. Upvote 0
I've seen at least one "official" post which suggest CSBuilder is available for B4J (typo, maybe??). eg "CSBuilder is supported by B4A and B4J." on https://www.b4x.com/android/forum/threads/b4x-csbuilder-marking-based-on-regex-pattern.83002/ Perhaps this (and any other) such posts could be modified to avoid confusion.