Android Question Are these extended characters allowed?

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Though I had Font Awesome selected (didn't) and I was suppose to be typing a Chr(0xF00C) for a checkmark character and was talking on the phone and hit some wrong keys and typed Chr(10004) to my surprise I got a Red Checkmark.

So I printed out what was around 8400 for 1750 and this is what I saw.
aReports-161215135645.jpg


So I switched to the Awesome font and did the same thing

aReports-161215135859.jpg


at 10003 a Red Checkmark (Black Box I put around it) prints in both of these.

Does that mean this character is available to be used in a normal font or am I just stepping into memory somewhere?

I surely like the Red Checkmark and the Red X Chr(10060) and Box Red X Chr(10062) later on.

Just wondering if I can use these.

BobVal
 

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Was just looking there and at the Emoji list.

Like these a lot better then the Awesome font characters, but then again I like color
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

Robert Valentino

Well-Known Member
Licensed User
Longtime User
Not true as for change the text color.

If I want the Red Check mark and the rest of the data Item name as black would need to multiple label fields for this or a checkbox / togglebutton and a label field.

As shown below, I am able to have text one color and have a red check mark.
If this is always available in future versions; could use a label as a checkbox or togglebutton and not have to have bitmaps or extra fields (checkbox or togglebutton)

Just my oldness coming out, always trying to conserve resources.
Example-161216104359.jpg


B4X:
  Private const mChar_Unchecked               As String = Chr(0xF096)
   Private const mChar_Checked                 As String = Chr(0xF046)

   Private const mChar_GrayBox                 As Char    = Chr(9723)  
   Private const mChar_BlueBox                 As Char    = Chr(8419)
   Private const mChar_RedX                   As Char    = Chr(10060)
   Private const mChar_RedXBox                 As Char    = Chr(10062)
   Private const mChar_RedCheckMark             As Char    = Chr(10004)


   Label1.Text = "  " &mChar_GrayBox       &"  Please Select Me"
   Label2.Text = "  " &mChar_RedCheckMark     &"  I Am Selected"
 
Upvote 0

Similar Threads

Top