The library displays local help above layout elements
VisualHelp_JE
Author: Jerryk
Version: 1.62
Properties
Funtions
types of icons (also in white)
VisualHelp_JE
Author: Jerryk
Version: 1.62
Properties
| BackgroundColor (value As Int) | sets and gets a semi-transparent background | 0x80808080 |
| TextColor (value As Int) | sets and gets the help text color | 0xFFF5F5F5 |
| TextSize (value As Float) | sets and gets the help text size | 20 |
| HelpColor (value As ColorDrawable) | sets and gets background for help text | xui.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 color | True |
| BlackIcons (value As Boolean) | When true, the icon color is black. Ignored when SwitchIconColor = true | False |
| SetIconDimensions (width As Int, height As Int) | sets the icon size | 45dip, 45dip |
| SetFrame (color As Int, width As Int) | sets the color and thickness of the highlighted object's border | Color_Yellow, 3dip |
Funtions
| Initialize (Parent As B4XView, ptimeDisplay As Long) | initialize library | Parent - parent object, timeDisplay - time to automatically display next help, 0 = disabled |
| AddInfo (pInfo As String, pY As Int) | adds info panel, without icon | pInfo - text of info, pY - Y position |
| AddHelp (pTarget As B4XView, pHelp As String, pIcon As Byte) | adds help panel | pTarget - target object, pHelp - text of help, pIcon - type of icon |
| ShowHelp | show helps |
types of icons (also in white)