Bug? B4A 6.80 Icon Picker

Discussion in 'Bugs & wishlist' started by MarcoRome, Mar 11, 2017.

  1. MarcoRome

    MarcoRome Expert Licensed User

    Hi @Erel same time when i search Icon Picker and select the same i have this error:

    upload_2017-3-11_19-19-59.png
     
    abendsen likes this.
  2. Erel

    Erel Administrator Staff Member Licensed User

    This error means that the IDE failed to access the clipboard. It usually happens when there is another app running that locks the clipboard (remote desktop or a "smart" clipboard manager).
     
    Peter Simpson, abendsen and MarcoRome like this.
  3. Lori Scott

    Lori Scott Member Licensed User

    I have the same problem. I have closed every other foreground app (including B4J and reopened it) but the problem persists. Is there workaround? Such as typing the code for the icon instead of pasting it.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Something is locking the clipboard.

    As a workaround you can hover over the icon and find its hex code.
    Code:
    Chr(0xF1FE)
     
  5. Lori Scott

    Lori Scott Member Licensed User

    When I type Chr(0xF0AB) into the the FontAwesome Icons box for my button (with font set to FontAwesome), I simply get a button with the text 'Chr(0xF0AB)' instead of the icon. I also tried using this script: btnConvert.Text = Chr(0xF0AB) That produced an error. What syntax do I need to use for this workaround?
     
  6. MarcoRome

    MarcoRome Expert Licensed User


    upload_2018-7-20_15-40-54.png
     
  7. Lori Scott

    Lori Scott Member Licensed User

    Thank you. As I described in my previous post, I have the font set to FontAwesome and typed the icon code in the FontAwesome Icons property but icon is not showing.
    upload_2018-7-20_10-8-19.png
     
  8. MarcoRome

    MarcoRome Expert Licensed User

    This is B4J, ok but here all work , maybe you have a problem on PC. Here work


    upload_2018-7-20_20-4-45.png


    Pls the next time the issues on B4J insert them in the B4J Question forum


    upload_2018-7-20_20-6-57.png
     
  9. Erel

    Erel Administrator Staff Member Licensed User

    My answer is only relevant if you are setting the icon in your code. You must use the clipboard to paste the characters with the designer.
     
  10. Lori Scott

    Lori Scott Member Licensed User

    Thank you. That solution is working for me. Yes, I will place my questions properly under B4J or B4A in the future. In this case I had the same problem in both B4J and B4A and the same solution works for both. I wish I could use the clipboard in the normal way with the icon picker. I am able to use clipboard just fine to copy/paste text in my code. It only gives the error when copying within the icon picker.
     
  11. Lori Scott

    Lori Scott Member Licensed User

    I discovered something new. Despite the fact that every time I try to copy from the icon picker, I get this error message, all I have to do is ignore it. I can close the error box and paste into the FontAwesome Icons property and it will paste in the icon I tried to copy.
    upload_2018-7-25_8-37-1.png

    upload_2018-7-25_8-41-57.png
     
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