B4A Class DOTips 2.5 - show an overlay for app tips

Discussion in 'Additional libraries, classes and official updates' started by Dave O, May 31, 2015.

  1. Dave O

    Dave O Active Member Licensed User

    Hi all, I've uploaded version 2.2:

    - added option to remove Skip button
    - added true/false argument to Hide so you can suppress the OnHide event if needed (in most cases, just replace hide with hide(true))
    - fixed spacing under buttons
     
    nicomx, johndb and asales like this.
  2. Dave O

    Dave O Active Member Licensed User

    Hi all,

    I've uploaded version 2.3, a minor update that adds an elevation property that you can change to keep the tips panel on top (if you have views with elevations greater than 10).
     
  3. Dave O

    Dave O Active Member Licensed User

    Hi all, I've uploaded version 2.4:

    - fixed a positioning bug in addTipForArea when inside a scrollview
    - fixed OnHide signature so it auto-completes properly
     
    Erel likes this.
  4. Lello1964

    Lello1964 Active Member Licensed User

    Hello Dave, thanks for share your class.

    I don't see how back to previus tips. ??
     
  5. Dave O

    Dave O Active Member Licensed User

    There's no current way to go back to previous tips, although that would be easy to add. The main challenge would be making room for a third button (or moving the Skip button to a small close icon at the upper right, and putting Previous where Skip was). I'll give that some thought.
     
  6. Lello1964

    Lello1964 Active Member Licensed User

    I think it would be useful.
     
  7. Dave O

    Dave O Active Member Licensed User

    Hi all, I've uploaded version 2.5:

    - addTipForArea: fixed a crash when not in a scrollview
     
    itgirl, Erel and noeleon like this.
  8. yiankos1

    yiankos1 Active Member Licensed User

    Can we use this class cross platform?
     
  9. Dave O

    Dave O Active Member Licensed User

    Short answer: not yet, but shouldn't be hard for someone to port.

    I haven't had the time (or need) to do any cross-platform apps yet, and haven't looked into what's involved in making a class/library/app work on other platforms, so I don't expect to create a cross-platform version of DOTips any time soon.

    However, for someone who knows more about cross-platform stuff, this would probably be an easy class to port over. It uses basic controls (panels, labels, etc.) and most of the code deals with layout, which should be pretty portable. Also, the class only uses a few basic libraries - nothing exotic.
     
    yiankos1 likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice