Mar 18, 2026 Replies: 2 The library displays local help above layout elements VisualHelp_JE Author: Jerryk Version: 1.14 Properties BackgroundColor (value As Int)sets and gets a semi-transparent background0x80808080TextColor (value As Int)sets and gets the help text color0xFFF5F5F5TextSize (value As Float)sets and gets the help text size20HelpColor (value As ColorDrawable)sets and gets background for help textxui.Color_Black, 10dip, 2dip, xui.Color_RGB(245, 245, 245)SwitchIconColor (value As Boolean)automatically sets the icon color (white or black) according to the object colorTrueBlackIcons (value As Boolean)When true, the icon color is black. Ignored when SwitchIconColor = trueFalseSetIconDimensions (width As Int, height As Int)sets the icon size50dip, 50dipSetFrame (color As Int, width As Int)sets the color and thickness of the highlighted object's borderColor_Yellow, 3dip Funtions Initialize (Parent As B4XView, ptimeDisplay As Long)initialize libraryParent - parent object, timeDisplay - time to automatically display next help, 0 = disabledAddInfo (pInfo As String, pY As Int)adds info panel, without iconpInfo - text of info, pY - Y positionAddHelp (pTarget As B4XView, pHelp As String, pIcon As Byte)adds help panelpTarget - target object, pHelp - text of help, pIcon - type of iconShowHelpshow helps types of icons (also in white) Attachments VisualHelp.zip VisualHelp.zip 11.1 KB · Views: 234 VisualHelp_JE.b4xlib VisualHelp_JE.b4xlib 476.3 KB · Views: 242 Last edited: Mar 30, 2026 Click to expand...
The library displays local help above layout elements VisualHelp_JE Author: Jerryk Version: 1.14 Properties BackgroundColor (value As Int)sets and gets a semi-transparent background0x80808080TextColor (value As Int)sets and gets the help text color0xFFF5F5F5TextSize (value As Float)sets and gets the help text size20HelpColor (value As ColorDrawable)sets and gets background for help textxui.Color_Black, 10dip, 2dip, xui.Color_RGB(245, 245, 245)SwitchIconColor (value As Boolean)automatically sets the icon color (white or black) according to the object colorTrueBlackIcons (value As Boolean)When true, the icon color is black. Ignored when SwitchIconColor = trueFalseSetIconDimensions (width As Int, height As Int)sets the icon size50dip, 50dipSetFrame (color As Int, width As Int)sets the color and thickness of the highlighted object's borderColor_Yellow, 3dip Funtions Initialize (Parent As B4XView, ptimeDisplay As Long)initialize libraryParent - parent object, timeDisplay - time to automatically display next help, 0 = disabledAddInfo (pInfo As String, pY As Int)adds info panel, without iconpInfo - text of info, pY - Y positionAddHelp (pTarget As B4XView, pHelp As String, pIcon As Byte)adds help panelpTarget - target object, pHelp - text of help, pIcon - type of iconShowHelpshow helps types of icons (also in white)
J Jerryk Active Member Licensed User Longtime User Mar 18, 2026 #2 v1.13 fixed some properties Last edited: Mar 19, 2026