public Sub Class_Globals
Use Class_Globals for its named operation; follow its exact signature.
Original catalog note: Applies background and border style to a B4XView from the shared dialog utility.
ELEVATEUI · B4A · XUI
Organize a large navigation hierarchy in a side drawer.
Navigation & onboarding
Organize a large navigation hierarchy in a side drawer.
Animated conceptual demonstration, not an exact Android control screenshot.
In a multi-screen application, connect every menu action to a real destination and preserve the active selection.
Before integrating, examine its methods, events and Designer options.
Tutorials are based on existing project examples or audited APIs. Check each example’s prerequisites; B4A compilation is not claimed.
The public API, events and properties remain available. An isolated initialization is not presented as a full example; a tutorial will be added after a functional sequence is documented.
15 audited signatures
public Sub Class_Globals
Use Class_Globals for its named operation; follow its exact signature.
Original catalog note: Applies background and border style to a B4XView from the shared dialog utility.
Public Sub Initialize(callback As Object, EventName As String, Parent As B4XView, SideWidth As Int, TopMenuList As Int, color As Int)
Prepare the instance before its other methods.
Original catalog note: Constructor
Sub addpanel_title(Color As Int, bitmap As B4XBitmap, title_app As String, title_font As B4XFont, fontsize As Int, TitleColor As Int)
Use addpanel_title for its named operation; follow its exact signature.
Original catalog note: Adds a title panel with an image and text
Sub addpanel_title2(color As Int, icon As Char, IconFont As B4XFont, IconColor As Int, title_app As String, title_font As B4XFont, fontsize As Int, TitleColor As Int)
Use addpanel_title2 for its named operation; follow its exact signature.
Original catalog note: Adds a title panel with an icon and text
Public Sub AddCustomTitlePanel(p As Panel)
Use AddCustomTitlePanel for its named operation; follow its exact signature.
Original catalog note: Adds a custom title panel
Sub setMenuColor(Color As Int)
Update menu color at runtime when this setting changes.
Original catalog note: Sets the menu background color
Sub getMenuColor As Int
Read the current menu color value for validation or UI synchronization.
Original catalog note: Returns the current menu color
Returns: Int
Sub getCenterpanel As Panel
Read the current centerpanel value for validation or UI synchronization.
Original catalog note: Returns the center panel of the drawer
Returns: Panel
Sub setOpenMenu(value As Boolean)
Update open menu at runtime when this setting changes.
Original catalog note: Opens or closes the menu
Sub getOpenMenu As Boolean
Read the current open menu value for validation or UI synchronization.
Original catalog note: Returns whether the menu is open
Returns: Boolean
Sub getMenuPanel As B4XView
Read the current menu panel value for validation or UI synchronization.
Returns: B4XView
Public Sub AddMenuIconItem(EventName As String,IconText As String, FontIcon As B4XFont, ColorIcon As Int, Title As String, ColorTitle As Int, SubTitle As String, ColorSubtitle As Int)
Use AddMenuIconItem for its named operation; follow its exact signature.
Original catalog note: Adds a menu item with an icon, title, and subtitle <code>Private sub EventName_OptionMenuClicked</code>
Public Sub AddMenuImageItem(EventName As String,DirIcon As String,FileIcon As String, Title As String, ColorTitle As Int, SubTitle As String, ColorSubtitle As Int)
Use AddMenuImageItem for its named operation; follow its exact signature.
Original catalog note: Adds a menu item with an image, title, and subtitle <code>Private sub EventName_OptionMenuClicked</code>
Public Sub AddMenuIconItem2(EventName As String,IconText As String, FontIcon As B4XFont, ColorIcon As Int, Title As String, ColorTitle As Int)
Use AddMenuIconItem2 for its named operation; follow its exact signature.
Original catalog note: <code>Private sub EventName_OptionMenuClicked</code>
Public Sub AddMenuImageItem2(EventName As String,DirIcon As String,FileIcon As String, Title As String, ColorTitle As Int)
Use AddMenuImageItem2 for its named operation; follow its exact signature.
Original catalog note: <code>Private sub EventName_OptionMenuClicked</code>
No custom Designer properties were found in the audited API.
Initialize with Me and the event prefix Demo, then add the following handler to your B4A module. Names and arguments come from the library declaration.
Raised when the user taps the control; use it to trigger a real action.
B4A handler signature with Demo prefix
Private Sub Demo_click(index As Int, value As String)
Log("click")
End Sub
For code-created controls use Initialize(Me, "Demo") when that signature exists; for Designer controls set the event name there. Replace Demo with the actual prefix.