Re: Keystroke handling

2018-01-24 Thread Keisuke Miyako via 4D_Tech
the "On Losing Focus" event fires as a "result" of another object taking its focus way. is the default button focusable? I don't think you can write generic code without knowing the next/previous object in entry order. also, keystrokes are not the only way to edit text, it can be drag and

Keystroke handling

2018-01-24 Thread Jim Crate via 4D_Tech
I would like to intercept the tab/return/enter keys using the On Before Keystroke form event. However, with a default button on the form, I don’t even get an On Losing Focus event. With the default button not specified, the return key functions the same as a tab, so I can detect losing focus at

Re: Print settings Crash

2018-01-24 Thread Magnus Torell via 4D_Tech
Dear Chuck, Thanks. On the computer there were 2 admin users. One works and the other one does not. Both are indeed admin. Most likely this was an privileges problem, even though I don't understand how, as both user were admins. Something is probably corrupt with the privileges and has to be

RE: ADA Compliance ???

2018-01-24 Thread Randy Engle via 4D_Tech
Thanks to all for the ADA Resources! Randy Engle, Director XC2 Software LLC – XC2LIVE! -Original Message- From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Graham Langley via 4D_Tech Sent: Wednesday, January 24, 2018 8:21 AM To: 4d_tech@lists.4d.com Cc: Graham Langley

Re: SMTP error 10113 Error with Authentication

2018-01-24 Thread Chuck Miller via 4D_Tech
when using gmail at least you need the SMTP_Auth ($smtp_id_l;MAIL_UserName_s;MAIL_Password_s;2) to have the additional param (2) to match with smtp port 587 which is secure Hope this helps Regards Chuck

RE: SMTP error 10113 Error with Authentication

2018-01-24 Thread David Ringsmuth via 4D_Tech
Wayne, I’m trying to remember what the resolution was. I’ve worked through a number of SMTP related things…. For one of the systems I support for SMTP relay we’ve begun using AWS SES, because it works, it’s fast, it’s cheap. (https://aws.amazon.com/ses/) Hth, sorry for not remembering this

Re: Object focusable/tabable properties

2018-01-24 Thread Vincent de Lachaux via 4D_Tech
Since 16R4 you can use FORM SET TAB ORDER https://blog.4d.com/define-the-tab-order-by-programming/ v i n c e n td el a c h a u x Bee green - keep it on the screen > On 24 Jan 2018, at 03:37, Jim Crate via 4D_Tech <4d_tech@lists.4D.com> wrote: >

Re: Print settings Crash

2018-01-24 Thread Charles Miller via 4D_Tech
Have you tried creating a new MAC OSX user and see if that exhibits same behavior. Is one user logged in as admin and others not. Perhaps it is a permissions thing. Have you tried deleting and then recreating the printer? Hope this helps Regards Chuck On Wed, Jan 24, 2018 at 9:51 AM, Magnus

Re: ADA Compliance ???

2018-01-24 Thread Lee Hinde via 4D_Tech
I’m familiar with web accessibility: https://www.w3.org/WAI/intro/accessibility.php I found this as an example for desktop software: https://www.justice.gov/crt/software-accessibility-checklist

Re: Object focusable/tabable properties

2018-01-24 Thread Chuck Miller via 4D_Tech
Do you want some one to be able to click in and not tab. If not you could use on enter event and deal with what you want cursor to do and where it should move to Regards Chuck Chuck Miller Voice:

Re: ADA Compliance ???

2018-01-24 Thread Graham Langley via 4D_Tech
Randy, This you give you a good overview of what’s required; https://www.searchenginejournal.com/ada-compliant-website/200106/ -- Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html ** 4D Internet Users Group (4D

Re: ADA Compliance ???

2018-01-24 Thread Keith Culotta via 4D_Tech
No direct experience, but a couple of resources. Government rules: https://www.access-board.gov/guidelines-and-standards/communications-and-it/about-the-ict-refresh/final-regulatory-impact-analysis#_Toc471376906 DOJ Quick Check: https://www.justice.gov/crt/software-accessibility-checklist Real

Re: ADA Compliance ???

2018-01-24 Thread Chip Scheide via 4D_Tech
I would speculate that ADA compliance would include: -- Read from screen capabilities - for visual impairment -- zooming capabilities - for (less severe) visual impairment -- maybe color redefinition - for color blindness -- if your application uses sound to communicate - a visual prompt for

Re: Object focusable/tabable properties

2018-01-24 Thread Chip Scheide via 4D_Tech
only way I know would be to enable/disable the object On Tue, 23 Jan 2018 21:37:30 -0500, Jim Crate via 4D_Tech wrote: > Is it possible to programmatically set the Focusable or Tabable > properties on a form object (specifically a listbox)? I found the > OBJECT SET FOCUS RECTANGLE INVISIBLE

ADA Compliance ???

2018-01-24 Thread Randy Engle via 4D_Tech
Every week, or so, one of our customers comes up with something that they do/need that I've never heard of before. This weeks winner is a major city in Southern California. (no names mentioned...) They want to know at what "Level" our web product is ADA compliant. I'm aware of ADA

Re: Print settings Crash

2018-01-24 Thread John DeSoi via 4D_Tech
> On Jan 24, 2018, at 8:51 AM, Magnus Torell via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > However Client still shows a license info that my license expire in 7 > days... I'm getting this too with 16R6 beta. Not sure why. I deleted my old developer licenses but still get it. Maybe you have

Re: Print settings Crash

2018-01-24 Thread Magnus Torell via 4D_Tech
Yes, there is a default printer. I have now also defined a couple of printers and tried with both defined as default. No difference. Going through the debugger it crashes immediately when calling Print Settings(2) Calling Print Settings it crashes immediately after hitting OK in the second

Re: Print settings Crash

2018-01-24 Thread Jeffrey Kain via 4D_Tech
There is a printer defined/installed, right? Eons ago having no default printer would crash 4D in various ways. -- Jeffrey Kain jeffrey.k...@gmail.com > On Jan 24, 2018, at 9:51 AM, Magnus Torell via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Thinking what to try next...

Re: Print settings Crash

2018-01-24 Thread Magnus Torell via 4D_Tech
Thanks for replies, I have now installed fresh v16R5 on Server and same on client computer... Running same database (upgraded) Identical behavior as with previous v15R5. see earlier post. Crash upon print of a method (Page Setup works) and crash on Print Settings as before. Hmm... It is 32 bit

Re: Creating .docx files

2018-01-24 Thread Dani Beaubien via 4D_Tech
Hi Patrick, I have approached this differently. On disk, I have a php file for every “report” that I want to produce. Inside that php file I have a placeholder. When I need to run my report, I generate a series of php statements that define a data structure that I then insert into a copy the

Re: Print settings Crash

2018-01-24 Thread Kirk Brooks via 4D_Tech
Magnus, I run v15.5 on my OLED MacBookPro with no problems under Sierra. I also suggest upgrading from the v15R. Kirk Brooks San Francisco, CA === *We go vote - they go home* On Wed, Jan 24, 2018 at 4:52 AM, Magnus Torell via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Dear,

Re: Object focusable/tabable properties

2018-01-24 Thread Arnaud de Montard via 4D_Tech
> Le 24 janv. 2018 à 03:37, Jim Crate via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Is it possible to programmatically set the Focusable or Tabable properties PS if your concern is about listbox, the tabable property is ignored (since the dawn of times?) I send a bug report, status is

Re: Print settings Crash

2018-01-24 Thread Magnus Torell via 4D_Tech
Thanks Arnaud, I tried that. From A method window I choose Page Setup and it works. When selecting Print (cmd+P) the application crashes immediately. What does this tell me? I will try to do the same thing with v16R5. Nothing is setup for the moment, so it will be tonight. Best for now

Re: Print settings Crash

2018-01-24 Thread Jeffrey Kain via 4D_Tech
If it's a Touch Bar MacBook Pro you'll probably need to upgrade to a compatible version of 4D. v15R5 is very old at this point. I'd move to 16.3 if you can. -- Jeffrey Kain jeffrey.k...@gmail.com > On Jan 24, 2018, at 7:52 AM, Magnus Torell via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >

Re: Creating .docx files

2018-01-24 Thread Patrick Emanuel via 4D_Tech
I forgot to answer to this: What do you have in your autoloader.php file? it is not mine, but the phpword one. It is a part of the php librairy. Patrick - Patrick EMANUEL Administrator www.association-qualisoft.eu (Soft1002,

Re: Print settings Crash

2018-01-24 Thread Arnaud de Montard via 4D_Tech
> Le 24 janv. 2018 à 13:52, Magnus Torell via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Dear, > > Strange problem I run into. > > The command Print Settings crash my 4D Remote on Mac OSX Sierra > after I accept the first dialog. No great help, but I'd try printing something from

Print settings Crash

2018-01-24 Thread Magnus Torell via 4D_Tech
Dear, Strange problem I run into. The command Print Settings crash my 4D Remote on Mac OSX Sierra after I accept the first dialog. Print Settings(2) crashes immediately. Print Settings(1) works fine. Actually I can't print at all if I go through the print settings confirmation. I have made

Re: Creating .docx files

2018-01-24 Thread Patrick Emanuel via 4D_Tech
What's "Export_Echappement"? (echappement means "escape", right? Does this method add escape characters? Yes, indeed. I translate some method names but i'm too french sometimes ;-) but you catch the wording. I will update in my componant, thanks. Here is the code: C_TEXT($1;$0) If (Count

Re: Creating .docx files

2018-01-24 Thread Pat Bensky via 4D_Tech
That's excellent, thanks Patrick! A couple of questions ... $script_t:=$script_t+"$section->addText(htmlspecialchars('"+Export_ Echappement($Texte)+"'));\r" What's "Export_Echappement"? (echappement means "escape", right? Does this method add escape characters? *SET DATABASE PARAMETER*(PHP use

Re: Object focusable/tabable properties

2018-01-24 Thread Arnaud de Montard via 4D_Tech
> Le 24 janv. 2018 à 03:37, Jim Crate via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Is it possible to programmatically set the Focusable or Tabable properties on > a form object (specifically a listbox)? I found the OBJECT SET FOCUS > RECTANGLE INVISIBLE command but nothing to actually