Re: METHOD OPEN PATH Equivalent For Forms

2017-09-21 Thread Cannon Smith via 4D_Tech
Ah yes, essentially what I’m trying to do. Thanks anyway. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Sep 21, 2017, at 1:52 PM, Douglas von Roeder via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Not that I've been able to figure out. > > I use MOP i

Re: 4D v16 issues

2017-09-22 Thread Cannon Smith via 4D_Tech
Hi Tim, If we encounter a server with a process that has “hung”, can we install ProcDump at that moment and get a capture? Or does ProcDump need to be installed and running before the server is launched? -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Se

Re: Listbox Column Font Color Change

2017-09-23 Thread Cannon Smith via 4D_Tech
Does this work for you? $lDesiredFontColor:=0x00CC //Or whatever grey you are after OBJECT GET RGB COLORS(*;Widget;$lForeground;$lBackground;$lAltBackground) OBJECT SET RGB COLORS(*;Widget;$lDesiredFontColor;$lBackground;$lAltBackground) Then you don’t have to guess what the background schem

Re: 4D v16 issues

2017-09-28 Thread Cannon Smith via 4D_Tech
Hi Tim, [Not sure if you missed this last week so I thought I’d ask again.] If we encounter a server with a process that has “hung”, can we install ProcDump at that moment and get a capture? Or does ProcDump need to be installed and running before the server is launched? -- Cannon.Smith Synerg

OBJ Module and 4D v16R4

2017-10-04 Thread Cannon Smith via 4D_Tech
If you are trying to use the OBJ module in 4D v16R4, you will encounter errors. The errors have to do with not recognizing the new collection type. The fix is easy, requiring two lines to be changed: In the OBJ_IsEqual method, line 47 should now be: : (($alFirstType{$x}=Object array) |

Re: Rotate Picture

2019-06-22 Thread Cannon Smith via 4D_Tech
Hi John, Here is the code from a method I use called Photo_Rotate: //This method rotates a picture. While it will rotate the picture to //any angle, this method is really expecting it to rotate 90˚, 180˚, //or 270˚. C_PICTURE($1;$gPicture) C_REAL($2;$rDegrees) //Expects 90, 180, or 270 C_

Re: Rotate Picture

2019-06-22 Thread Cannon Smith via 4D_Tech
For all I remember you gave it to me! :-) Glad it works. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Jun 22, 2019, at 6:28 PM, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Your code looked vaguely familiar to me. I had not thought to look and see if >

More Errors With RECEIVE BUFFER In v17

2019-10-01 Thread Cannon Smith via 4D_Tech
I’m wondering if anyone else has noticed an uptick in errors when using the RECEIVE BUFFER command to read from a serial port? Our application does a lot of serial port communication. We also log all errors. There has been a _significant_ uptick in errors that occur on the following line of code

Re: Using Github to Manage Distributed Development

2019-10-10 Thread Cannon Smith via 4D_Tech
I can’t think of any reason one would want to go back, either. Splitting the structure into files is something we’ve wanted for _so_ long and opens so many opportunities. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Oct 10, 2019, at 4:38 PM, Tim Nevels via 4D_Tech <4d_te

Re: ORDA/Collections

2019-10-30 Thread Cannon Smith via 4D_Tech
Hi Justin, Have you taken a look at the extract function on collections? I think it would do what you want. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Oct 30, 2019, at 2:45 PM, Justin Will via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > $oRecs:=ds.Complex.query("Doma

Re: Create SQL DB ERD from 4D Export Structure XML File?

2019-11-25 Thread Cannon Smith via 4D_Tech
Hi Tom, As for Alexander’s code, I noticed the following sometime ago. Maybe something this simple is causing the blackness as well? > Just a heads up on a bit of code that won’t work in countries that use a > decimal place instead of a comma. In the method xml_atts2ob, lines 50, 54, > 58, and

Re: Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Cannon Smith via 4D_Tech
Hi Peter, Depending on how the subform is set up, it may not be loaded by then. But it should work if you use SET TIMER(-1) and then call EXECUTE IN SUBFORM($subform;”ACTION”) in the timer. HTH. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Dec 2, 2019, at 5:32 PM, Pete

Re: Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Cannon Smith via 4D_Tech
You’re welcome. Glad it worked. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Dec 2, 2019, at 5:58 PM, Peter Jakobsson wrote: > > Works a dream. > > Thanks Canon. I had forgotten about SET TIMER. Suddenly these query forms are > perfectly user-intuitive. Start off in fi

Re: Doing a GOTO (widget) in the On Load event - stumped

2019-12-02 Thread Cannon Smith via 4D_Tech
No worries! :-) -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Dec 2, 2019, at 6:01 PM, Peter Jakobsson via 4D_Tech > <4d_tech@lists.4d.com> wrote: > >> Thanks Canon > > …sorry, I mean “Cannon” of course ;)

Re: Constants in code.

2019-12-09 Thread Cannon Smith via 4D_Tech
Hi Eric, There is also a way to create constants in your code if you want. There is a tech note about it here: HTH. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Dec 9, 2019, at 8:09 AM, Eric Naujock via 4D_Tech <4d_tech@lists.4

Re: v17.3 on Mac OS 10.15.2 Plugins "cannot be opened because the developer cannot be verified"

2019-12-12 Thread Cannon Smith via 4D_Tech
Hi Ken, It is because the plugins aren’t notarized by 4D. If you move to at least v17.3 HF1, you shouldn’t have a problem. HTH. -- Cannon.Smith Synergy Farm Solutions Inc. Aetna, AB Canada > On Dec 12, 2019, at 11:20 AM, Ken Eyring via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > So far it

Re: catalina and 4D

2020-01-13 Thread Cannon Smith via 4D_Tech
Hi Chunk, Make sure you are using at least v17.3 HF1. Anything prior to that is rather fruitless on a new machine. HTH. -- Cannon Smith Synergy Farm Solutions Inc. > On Jan 13, 2020, at 3:03 PM, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I have new laptop that I bought wi

New Notarization Issues

2020-02-10 Thread Cannon Smith via 4D_Tech
Hi Everyone, A couple months ago I finally got my applications to notarize correctly. I’m in 4D v17.3 HF3, but using the PHP libraries from v18. As you probably know, Apple made changes last week and my notarization code has stopped working. Here is one example of the errors I’m getting back no

Re: New Notarization Issues

2020-02-11 Thread Cannon Smith via 4D_Tech
Hi Erick and Jim, Thanks for your thoughts. I’ve taken another approach which has solved most of my issues. Instead of navigating the package and calling LEP commands myself on each component, I’m now just using 4D’s SignApp.sh shell script. This handles all the general cases just fine. I do ha

Re: New Notarization Issues

2020-02-12 Thread Cannon Smith via 4D_Tech
Hi Jim, Thanks. I’m now using the v18 Internet Commands and it is notarization correctly. -- Cannon Smith Synergy Farm Solutions Inc. > On Feb 11, 2020, at 5:40 PM, James Crate via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I didn’t verify that the v18 4DIC is on a newer SDK, I replaced a

Re: New Notarization Issues

2020-02-12 Thread Cannon Smith via 4D_Tech
Hi Miyako, I just tried and 3.9.v18 is successfully signed with the official shell script. Thank you for the changes! I now have one application successfully notarizing again. Now I need to check my other applications to make sure they will still notarize. :-) -- Cannon Smith Synergy Farm Solu

Re: New Notarization Issues

2020-02-12 Thread Cannon Smith via 4D_Tech
Hi Miyako, I have all my applications except one notarizing again since Apple’s recent changes. I appreciate you updating the cURL FTP and System Notification plugins. The application that isn’t notarizing has some other plugins that I’m hoping can be updated by their authors. I’m not sure wh

Another Signing/Notarization Question

2020-03-06 Thread Cannon Smith via 4D_Tech
Hi All, Thanks to Miyako and Rob Laveaux updating some plugins I use, and other help, I now have all but one of my applications notarizing again since the recent Apple changes. The problem with the last application is that some years ago I started placing a small blob file (compressed XML, not

Re: Another Signing/Notarization Question

2020-03-07 Thread Cannon Smith via 4D_Tech
Hi Jim, Thanks for the ideas. I tried to codesign the file as part of the app’s signing process, but haven’t had any luck with that working. The alias idea is intriguing. I’m going to look into that. Thanks. -- Cannon Smith Synergy Farm Solutions Inc. > On Mar 7, 2020, at 8:17 AM, James Cra

Re: Image Export Issues

2020-04-03 Thread Cannon Smith via 4D_Tech
So sorry to hear about your wife, Robert. I can’t imagine how tough that is for you. -- Cannon Smith > On Apr 2, 2020, at 10:56 PM, Robert McKeever via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > So, to all, thank you. I needed a success - my wife of almost 39 years passed > away from a long

Backup Settings Not Saving

2020-04-09 Thread Cannon Smith via 4D_Tech
I just noticed that the “If backup fails… Retry after x [units]” backup setting is set to 0 Seconds on all my servers. It used to be 5 minutes. So I tried changing it back to 5 minutes and save. If I reopen the settings dialog, I see that it is still set to 0 seconds. The setting change isn’t be

Re: Backup Settings Not Saving

2020-04-09 Thread Cannon Smith via 4D_Tech
Sorry, that should have been 4D v17.3 HF3. -- Cannon Smith Synergy Farm Solutions Inc. > On Apr 9, 2020, at 3:32 PM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Anyone else seen this? Mac o

Re: Backup Settings Not Saving

2020-04-09 Thread Cannon Smith via 4D_Tech
Hi Tom, Thanks for confirming. Yeah, it seems the other settings save correctly. Just this one. Interestingly, I found the following bug fix for v17.3: ACI0098925: "Backup settings do not save “Repeat after X seconds/minutes/hours” option: on Windows it is always 60 mn, on macOS it is always 0

Re: Backup Settings Not Saving

2020-04-10 Thread Cannon Smith via 4D_Tech
Thanks, Pat. I’ll report it again today. -- Cannon Smith Synergy Farm Solutions Inc. > On Apr 9, 2020, at 5:25 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I'm sure I reported this as a bug some time ago, and I'm sure I was > notified that it was fixed :) But I can't find th

Re: iNUG Messages — Is it time for it to be more than just 'plain text' ???

2020-05-01 Thread Cannon Smith via 4D_Tech
Hi Chris, Have you seen the new forums? https://discuss.4d.com They should do what you’re after. -- Cannon Smith Synergy Farm Solutions Inc. > On May 1, 2020, at 5:41 PM, Chris Belanger via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Do you think the iNUG would be so much more usef

<    1   2   3