Re: Emoticons, Emoji, put pictures into eve

2018-08-30 Thread Jim Crate via 4D_Tech
On Aug 30, 2018, at 9:23 AM, Tom Dillon via 4D_Tech <4d_tech@lists.4d.com> 
wrote:
> 
> Jim Crate via 4D_Tech wrote:
> 
>> editor, it doesn't actually work that way and turns into ?? when you
>> close the method editor. So I found this email to the list from a few
>> years ago, but the ftp link no longer works. This should be supported
>> natively by now (maybe in v17?) but could anyone send me this emoji method?
> 
> I have that DB. Do you still need it?

JPR sent it, although I may not need it since Keisuke Miyako let me know about 
the unicode methods setting.

Thanks everyone!

Jim Crate

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Emoticons, Emoji, put pictures into eve

2018-08-30 Thread Jim Crate via 4D_Tech
On Aug 29, 2018, at 6:17 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> 
wrote:
> 
> sounds like your compatibility settings does not allow methods to be stored 
> in unicode.
> 
> emoticons are internally 2 or 4 combining characters which explains the 
> number of question marks

That fixed it, turning on unicode methods allows an emoji to just be pasted 
into a string literal. The listbox displays it nicely too.

Thanks!

Jim

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Emoticons, Emoji, put pictures into eve

2018-08-30 Thread Tom Dillon via 4D_Tech
Jim Crate via 4D_Tech wrote:

>editor, it doesn't actually work that way and turns into ?? when you
>close the method editor. So I found this email to the list from a few
>years ago, but the ftp link no longer works. This should be supported
>natively by now (maybe in v17?) but could anyone send me this emoji method?

I have that DB. Do you still need it?

-- 
   --
   Tom Dillon  375 S Main St #405
   DataCraft   Moab, UT 84532
   tomdil...@datacraft-inc.com   720/209-6502
   --
  The butterfly will only land on you after you stop
  grabbing for it. --- Sunastar
   --


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Emoticons, Emoji, put pictures into eve

2018-08-29 Thread Keisuke Miyako via 4D_Tech
sounds like your compatibility settings does not allow methods to be stored in 
unicode.

emoticons are internally 2 or 4 combining characters which explains the number 
of question marks




**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Emoticons, Emoji, put pictures into eve

2018-08-29 Thread Jim Crate via 4D_Tech
I tried to use an emoji in 4D, and while it pasted right into a string literal 
in the method editor, it doesn’t actually work that way and turns into ?? when 
you close the method editor. So I found this email to the list from a few years 
ago, but the ftp link no longer works. This should be supported natively by now 
(maybe in v17?) but could anyone send me this emoji method?

Thanks!

Jim Crate
 

> On Oct 12, 2015, at 1:34 AM, JPR  wrote:
> 
> [JPR]
> 
> Hi All,
> 
> I got some questions about the possibility to insert pictures into some form 
> objects in 4D (like Listboxes, Buttons, or even simple texts) in a simple 
> way. So I thought I can use Emoticons (or Emojis). I found around 5 600 
> different pictures (many kind of pictures, + math symbols, Braille, music 
> notes, and many more). So I made a simple application in order to show all of 
> them, and a Method to insert Emoticons directly in texts, at any place. You 
> will find also, for some of it, a Name and Keywords.
> 
> You will find this application, named Emoji.4dbase, here: 
> 
> ftp://JPR:xjlr...@ftp-support.4d.fr/
> 
> The Database itself is just to help you in your infinite quest for interface.
> 
> To add it to your own databases, just copy the Emoji Method. To insert an 
> Emoticon in a text, just do something like this:
> 
> MyText := "Blah blah blah " + Emoji("U+2705") + " and the rest of the text..."
> 
> Emoji is the method which will translate the Unicode Hexadecimal Code Point 
> passed as parameter, and it returns a double (or quadruple) byte Unicode 
> character.
> If you are not familiar with Unicode Code Point, have a look here: 
> https://en.wikipedia.org/wiki/Code_point
> 
> Feel free to use it as much as you want, I'm happy if it saves you valuable 
> development time!
> 
> My very best,
> 
> JPR
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**