Jul 11, 2014 Replies: 12 This library will allow you to add tooltips to EditText views. Requirements: - B4A 3.8x. - The RichString library. How to install: - Copy the CustomTooltip.jar and CustomToolip.xml to your additional libraries directory. Usage: Code: 'Initialize the CustomTooltip library. Private tooltip1 As CustomTooltip tooltip1.Initialize(Activity, TextBox1, True) tooltip1.Text = "This is a tooltip." tooltip1.Show All the methods are self explanatory. Check the attached sample project for more details. NOTES: - In some cases, the tooltip might get obscured by the keyboard. - The tooltip will adopt the same width as the EditText to which it's attached to. - When using rich strings, mind the font sizes, if you create large sizes the text might not display properly. Screenshot: Attachments CustomTooltip_Lib_1.0.zip CustomTooltip_Lib_1.0.zip 8.3 KB · Views: 772 CustomTooltip_Sample.zip CustomTooltip_Sample.zip 11.6 KB · Views: 736 Click to expand...
This library will allow you to add tooltips to EditText views. Requirements: - B4A 3.8x. - The RichString library. How to install: - Copy the CustomTooltip.jar and CustomToolip.xml to your additional libraries directory. Usage: Code: 'Initialize the CustomTooltip library. Private tooltip1 As CustomTooltip tooltip1.Initialize(Activity, TextBox1, True) tooltip1.Text = "This is a tooltip." tooltip1.Show All the methods are self explanatory. Check the attached sample project for more details. NOTES: - In some cases, the tooltip might get obscured by the keyboard. - The tooltip will adopt the same width as the EditText to which it's attached to. - When using rich strings, mind the font sizes, if you create large sizes the text might not display properly. Screenshot:
thedesolatesoul Expert Licensed User Longtime User Jul 11, 2014 #2 Very nice. So the graphic is embedded inside the jar here?
NJDude Expert Licensed User Longtime User Jul 11, 2014 #3 thedesolatesoul said: Very nice. So the graphic is embedded inside the jar here? Click to expand... Yes.
thedesolatesoul said: Very nice. So the graphic is embedded inside the jar here? Click to expand... Yes.
JdV Active Member Licensed User Longtime User Feb 8, 2016 #5 Hi Has there been any work to extend the functionality of this library at all? For example it would be nice to be able to control where the tool tip will be displayed. (E.g. always above, always to the right etc.) Also, it would be nice to be able to have a tool tip that fits the entire width of the screen regardless of the width of the edit text field. If work on this library has long since come to a halt, does anyone know of any alternatives available in B4A? (For example, has anyone seen anything like this in the forums?: https://github.com/sephiroth74/android-target-tooltip) Regards Joe
Hi Has there been any work to extend the functionality of this library at all? For example it would be nice to be able to control where the tool tip will be displayed. (E.g. always above, always to the right etc.) Also, it would be nice to be able to have a tool tip that fits the entire width of the screen regardless of the width of the edit text field. If work on this library has long since come to a halt, does anyone know of any alternatives available in B4A? (For example, has anyone seen anything like this in the forums?: https://github.com/sephiroth74/android-target-tooltip) Regards Joe
Ferbis Active Member Licensed User Longtime User Feb 17, 2016 #6 Has there been any work to extend the functionality of this library at all? Click to expand... I agree with you @JdV. I hope @NJDude will see your post and extends the functionality of this library.
Has there been any work to extend the functionality of this library at all? Click to expand... I agree with you @JdV. I hope @NJDude will see your post and extends the functionality of this library.
lemonisdead Well-Known Member Licensed User Longtime User Feb 17, 2016 #7 Never seen my PC AT guy since a while. Perhaps more luck in the chat room.
Tayfur Well-Known Member Licensed User Longtime User Feb 22, 2016 #9 Hi @NJDude ; I have a problem. How can I change always top on customtooltip menu when shows? Last edited: Feb 22, 2016
Swissmade Well-Known Member Licensed User Longtime User Apr 30, 2016 #10 Very nice Is this also working for B4J?
Swissmade Well-Known Member Licensed User Longtime User May 1, 2016 #12 Erel said: It will not work with B4J. Click to expand... Ok Thanks Any alternative??
Erel B4X founder Staff member Licensed User Longtime User May 1, 2016 #13 Please start a new thread in B4J questions forum.