Page 1 of 2

Why XY doesn't accept these characters

Posted: 11 May 2016 05:45
by yusef88
on renaming items while windows explorer do?

Re: Why XY doesn't accept these characters

Posted: 11 May 2016 07:14
by bdeshi
You have to type these characters somewhere then copy into XY.

Re: Why XY doesn't accept these characters

Posted: 11 May 2016 07:43
by yusef88
Thanks :tup:

Re: Why XY doesn't accept these characters

Posted: 11 May 2016 08:36
by bdeshi
Don, can't you support more chars in textboxes? It's still not possible to directly input Bangla characters for example either, as well as many many many others. :(

btw, yusef, can you input Arabic directly?

Re: Why XY doesn't accept these characters

Posted: 11 May 2016 22:28
by yusef88
SammaySarkar wrote: btw, yusef, can you input Arabic directly?
Yes, No problem at all.

Re: Why XY doesn't accept these characters

Posted: 12 May 2016 20:49
by admin
SammaySarkar wrote:Don, can't you support more chars in textboxes? It's still not possible to directly input Bangla characters...
Not even into the address bar? Well, probably not. It's weird. These are standard Windows edit boxes. Maybe they need some special flag on creation...?

Re: Why XY doesn't accept these characters

Posted: 13 May 2016 05:59
by bdeshi
I have no idea.

It's all very confusing. You can paste these characters OK, but typing directly is not.

Code: Select all

  charview "ক"; //dec 2453
  text chr(2453); //OK
  focus 'A';
  sendkeys "ক"; //?
  sendkeys chr(2453); //?
  //at this point, typing even ALT+2453 shows some other character
Why is pasting and typing processed differently?

And will this help? http://cyberactivex.com/UnicodeTutorialVb.htm

Re: Why XY doesn't accept these characters

Posted: 13 May 2016 08:30
by admin
I don't use VB for controls, just for logic and flow. Virtually all you see is Windows controls or controls I made myself. It has to be some flag, I just cannot find any documentation on this.

Re: Why XY doesn't accept these characters

Posted: 13 May 2016 19:18
by TheQwerty
Could it be caused by CreateWindow?
https://core.tcl.tk/tk/tktview/62f1343ad2fd9c77d1f3

Re: Why XY doesn't accept these characters

Posted: 13 May 2016 19:50
by admin
Thanks for the link. I'm using the "W"-variants everywhere AFAIK, but I will check again.

Re: Why XY doesn't accept these characters

Posted: 13 May 2016 20:23
by bdeshi
I can help with testing if you need (only Bangla is all I need :twisted: )

Re: Why XY doesn't accept these characters

Posted: 14 May 2016 15:29
by admin
Please test the next beta (v16.70.0010). I found indeed some unsuspicious looking A-variants that I replaced by W-variants. Maybe it helps...

Re: Why XY doesn't accept these characters

Posted: 14 May 2016 20:54
by bdeshi

Code: Select all

    ! Edit Controls: Experimentally tried to fix an issue with typing Bangla.
Sadly, it's same as before.

(by the way, this incompatibility affects lot more characters than just Bangla. Also there's a "teh" in teh changelog.)

Re: Why XY doesn't accept these characters

Posted: 14 May 2016 20:59
by admin
Grrr. :evil:

Re: Why XY doesn't accept these characters

Posted: 15 May 2016 07:38
by bdeshi
:ninja: PhotoDemon is written in classic VB, and I can type Bangla properly in its textboxes. Wonder how...