Re: Post Key command not working in converted 4Dv16 database - SOLVED

2017-12-12 Thread Pat Bensky via 4D_Tech
You're right ... INVOKE ACTION is a much better solution! Thanks Pat On 8 December 2017 at 23:20, Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > this works file in unicode mode (I think the mode is irrelevant, but it > may not work on a non-qwerty keyboard) > > it should be possible

Re: Post Key command not working in converted 4Dv16 database - SOLVED

2017-12-08 Thread Keisuke Miyako via 4D_Tech
this works file in unicode mode (I think the mode is irrelevant, but it may not work on a non-qwerty keyboard) it should be possible to quickly confirm on a simple form. but: do you have a menu bar associated with the form? do you have a menu bar installed for the process? and more importantly

Re: Post Key command not working in converted 4Dv16 database - SOLVED

2017-12-08 Thread Pat Bensky via 4D_Tech
I am also having problems with POST KEY in v16. It simply doesn't work :) Sample code: *Case of* *:* ($i="copy") *POST KEY*(*Character code*("c");Command key mask) *:* ($i="paste") *POST KEY*(*Character code*("v");Command key mask) *:* ($i="cut") *POST KEY*(*Character code*("x");Command key

Re: Post Key command not working in converted 4Dv16 database - SOLVED

2017-10-11 Thread Ken Daniel via 4D_Tech
All, I finally solved my problem. All I had to do was check* Unicode Mode* in Design > Database Settings > Compatibility. Thanks very much to everyone for their suggestions and help. :-) Ken *P.S. Ultimately it was Vance Villanueva from 4D Tech Support that helped me solve the problem. He prepare

Re: Post Key command not working in converted 4Dv16 database

2017-10-10 Thread David Adams via 4D_Tech
Hey John, Yeah, I pretty well guessed something like that was going on in your case...I mostly answered for the sake of the archives. I often ask questions and am offered well-meaning and sensible answers...but there's almost as often a good reason why I'm bearing down on the particular point rais

Re: Post Key command not working in converted 4Dv16 database

2017-10-10 Thread John DeSoi via 4D_Tech
Hey David, Right, CALL FORM will fix a lot of work-arounds needed for previous 4D versions. But my goal here is to have a single stable code base in 15 until making the move to version 16. I don't want to maintain two versions if I can avoid it. That said, I already have some v16 features embed

Re: Post Key command not working in converted 4Dv16 database

2017-10-10 Thread David Adams via 4D_Tech
Hey John, if you still need to fix what you described, CALL FORM ought to work. Just past what method you want to run and the target window's form will run it through EXECUTE for you. doesn't mean that POST KEY shouldn't be fixed if it's broken, of course. *

Re: Post Key command not working in converted 4Dv16 database

2017-10-10 Thread John DeSoi via 4D_Tech
Ken, I just ran into a problem with POST KEY in 16.2 that works without problems in 15.4. An outside call message is sent from another process and POST KEY is used in in the outside call event to activate a menu item. For some reason it does not seem to work right unless I add DELAY PROCESS(Cur

Re: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Koen Van Hooreweghe via 4D_Tech
Hi Ken, Any other buttons on the form mistakingly having the same shortcut? I think 4D is using the object level to determine which button actually gets clicked. Koen > Op 9 okt. 2017, om 15:41 heeft Ken Daniel via 4D_Tech <4d_tech@lists.4d.com> > het volgende geschreven: > > Koen & Steve, th

RE: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Stephen J. Orth via 4D_Tech
ubject: Re: Post Key command not working in converted 4Dv16 database Spencer, no change in behavior with disabling any event handler, but thanks for the suggestion. Ken ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.

Re: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Ken Daniel via 4D_Tech
Spencer, no change in behavior with disabling any event handler, but thanks for the suggestion. Ken On Mon, Oct 9, 2017 at 10:02 AM, Spencer Hinsdale via 4D_Tech < 4d_tech@lists.4d.com> wrote: > You might try the key command to disable any event handler: > http://doc.4d.com/4Dv16/4D/16.2/ON-EVENT

Re: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Spencer Hinsdale via 4D_Tech
You might try the key command to disable any event handler: http://doc.4d.com/4Dv16/4D/16.2/ON-EVENT-CALL.301-3432983.en.html > On Oct 9, 2017, at 6:41 AM, Ken Daniel via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Koen & Ste

Re: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Tom Dillon via 4D_Tech
Ken Daniel via 4D_Tech wrote: >I am using POST >KEY(Character code(".");Command key mask) and had the shortcut of Ctrl . >assigned to a button. In the database settings, do you have the Cancel Input Form set to Ctrl-period? -- -

Re: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Ken Daniel via 4D_Tech
Koen & Steve, thanks for the tip, but in this case I am using POST KEY(Character code(".");Command key mask) and had the shortcut of Ctrl . assigned to a button. It only fails to work in this one converted database. I've converted another database to v16 for a different application and it works fin

Re: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Koen Van Hooreweghe via 4D_Tech
Hi Ken, What particular shortcut are you using? Also check the case of the character you are using, as Stephen pointed out. In v14 I discovered a bug when running the command POST KEY(Character code("A");Command key mask). This was fine in v13 and earlier, but crashes v14, v15 and v16. My repor

RE: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Stephen J. Orth via 4D_Tech
Ken, If I recall correctly, I ran into an issue due to case sensitivity. Make sure the case of the assigned letter is the same as how you are using it in the command. Steve -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Ken Daniel via 4D_Tech Se