B4A Library LabelExtras - advanced click handling

Discussion in 'Additional libraries, classes and official updates' started by warwound, Jan 30, 2013.

  1. warwound

    warwound Expert Licensed User

  2. Juan Pablo da Rocha

    Juan Pablo da Rocha Member Licensed User

  3. Kwame Twum

    Kwame Twum Active Member Licensed User

    pls how do you get rid of the tags in the final output?
    visible tags.jpg
     
    Last edited: Nov 21, 2015
  4. warwound

    warwound Expert Licensed User

    Look up to post #61, only a subset of HTML tags are supported.
    Unrecognised tags may or may not be displayed as plain text - this looks to be part of your problem.

    The other problem may be that your HTML is not 100% valid - mismatched and/or incomplete tags may be displayed as plain text.
    Validate your HTML: https://validator.w3.org
     
  5. Kwame Twum

    Kwame Twum Active Member Licensed User

    Thanks a lot @warwound for the reply
    I made no modifications to tags from the project I downloaded from your post... all I did was to edit the image names and add the respective image files to the Files tab... and compiled.

    :) However, I commented out the entire TagHandler_HandleTag block and it works just fine!
     
  6. SJQ

    SJQ Member Licensed User

    Hi @warwound

    I have a question.

    I am using Labels extra for displaying a training questionnaire, the student reads the text and then selects one of the options at the bottom. Great works as expected.

    However the questions asked tend to be quite long and the reader has to scroll the text in the label, that too works great.

    My problem is… That when I load the next question the scroll position remains where is was and does not reset back to the top.

    I have to scroll it back to the top myself then read the question, scroll down again and tap the required answer.

    Is there a way to reset the scroll position?

    Thanks
    Steve
     
  7. SJQ

    SJQ Member Licensed User

    Hi, Answered my own question, just removed the view and added it again.
     
  8. Blue.Sky

    Blue.Sky Active Member Licensed User

    Hi
    Can i custom selection in labelextra example Edittext?
    I want to use can select part of text with drag
     
  9. Blue.Sky

    Blue.Sky Active Member Licensed User

    Excuse me,how can i detect all word clicking?
     
  10. scsjc

    scsjc Well-Known Member Licensed User

    Nice library....
    is possible get event when touch a non UrlSPAN,

    or .... get event long click ???
     
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