What does the error "JSON cannot stringify cyclic structures" mean?

2016-08-19 Thread Kirk Brooks
Not sure why this is suddenly happening. -- Kirk Brooks San Francisco, CA === ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: htt

Re: What does the error "JSON cannot stringify cyclic structures" mean?

2016-08-19 Thread Lee Hinde
http://stackoverflow.com/questions/11616630/json-stringify-avoid-typeerror-converting-circular-structure-to-json ? Are you referencing a parent object within the object? On Fri, Aug 19, 2016 at 9:14 AM, Kirk Brooks wrote: > Not sure why this is suddenly happening. > > -- > Kirk Brooks > San Fr

Custom Widgets

2016-08-19 Thread truegold
Hi All, This app used 4D v14.5 (Mac). My goal is to create a few reusable calendar form objects. For example a more flexible calendar than the one 4D’s offers. I would like them to show up in the Object Library accessed from a form. The Widget docs say "4D widgets are functionalities provided

Re: v13 - how to get directory path on server from client

2016-08-19 Thread Ortwin Zillgen
checked my archives this worked (based on ) `Methode ServerService (Execute on server-method) Case of : ($what="ServerIP_Get") IT_MyTCPAddr ($ipAddress;$subnet) $returnText:=$ipAddress : ($what="ServerFol

Re: Custom Widgets

2016-08-19 Thread Ortwin Zillgen
> My goal is to create a few reusable calendar form objects. For example a more > flexible calendar than the one 4D’s offers. I would not use objects for that kind of purpose. Methods are all tied to the objects themselves which is a mess. Instead of that, I'd create a component, which offers a

Re: pdf creator on windows

2016-08-19 Thread Tim Nevels
On Aug 19, 2016, at 2:00 PM, Chuck Miller wrote: > Hi tai > Does that mean once out of beta 4d is planning on supporting I bet you can answer that question yourself, Chuck. :) Say you have an old product that some people use. You don’t maintain or update that old product because you have severa

Displaying a record read-only

2016-08-19 Thread bob . miller
Hi Everyone, This is a really frustrating question because I think I've done this before, but I can't find the code that did it. Or maybe I'm dreaming. I have an output form opened using Modify Selection that displays records from Table1. When the user double clicks, I capture the On Open Det

Re: What does the error "JSON cannot stringify cyclic structures" mean?

2016-08-19 Thread Kirk Brooks
Lee, Yep that was it. I was re-using a $obj var without re-initializing it first. Thanks for the lead. On Fri, Aug 19, 2016 at 9:50 AM, Lee Hinde wrote: > Are you referencing a parent object within the object? -- Kirk Brooks San Francisco, CA === **

Re: Displaying a record read-only

2016-08-19 Thread Chip Scheide
wont promise that this works - but try: (form event = on load) read only([table]) unload record load record On Fri, 19 Aug 2016 15:35:46 -0400, bob.mil...@parker.com wrote: > Hi Everyone, > > This is a really frustrating question because I think I've done this > before, but I can't find the cod

Re(2): v 14 Slow/balky scrolling

2016-08-19 Thread Don Lapin
Hi Bill, If you're doing some sort of S2A and then summing the stops, perhaps some fiddling with indices might improve things (I'm not sure). Don >Not the server, but I did find that for at least one of the client apps, >that property was not checked. We’ll do some testing to see if there’s >an

Re(2): pdf creator on windows

2016-08-19 Thread Don Lapin
Just a side note on this discussion, wasn't there a problem with the installer for one of the 1.7.x versions installing some sort of adware or malware? Currently, Wikipedia says "Since 2009, PDFCreator has included closed source adware, toolbars and other controversial software that is installe

Re: Displaying a record read-only

2016-08-19 Thread Keith Culotta
Can you capture the double-click, put the table in R/O and use Dialog with the entry form (or is that only when using a listbox as output form)? Keith - CDI > On Aug 19, 2016, at 2:35 PM, bob.mil...@parker.com wrote: > > Hi Everyone, > > This is a really frustrating question because I think I'

Count in Array possible bug

2016-08-19 Thread Alan Tilson
Hello everyone, I have a method whose purpose is to delete the values from one array (a1) from another array (a2). So I 1. Sort both arrays 2. Loop through the the array containing the values (a1) to be deleted 1. Use Find in Array to see if the value in a1 is present in a2 1. I

Re: Count in Array possible bug

2016-08-19 Thread Alan Tilson
Hello again, A bit more testing indicates this error only occurs when the starting element is more than 1, at least in my example. The result should be 2 (elements 2 & 3) and it is 2 if I start with 1 but the result is 4 if I start with 2! And it seems only to occur when the result is greater than

Re: Displaying a record read-only

2016-08-19 Thread Max Morrison
> On Aug 19, 2016, at 11:35 AM, bob.mil...@parker.com wrote: > > ... > . > What I want is that when I open the form that uses only non-enterable > fields, NOT to lock the record. Since I'm in Modify Selection, though, by > default everything is in a read-write state. Hence, when a user opens

Re: Displaying a record read-only

2016-08-19 Thread Kirk Brooks
Bob, To throw in my $0.02 - why not ditch the output form and display the records in a listbox? I use arrays but I know a lot of people like selection based ones. I prefer arrays, especially if I want to limit the user's ability to lock a record. You really can't do that if it's displayed in an arr

Re(2): pdf creator on windows

2016-08-19 Thread Tim Nevels
On Aug 19, 2016, at 6:06 PM, Don Lapin wrote: > Just a side note on this discussion, wasn't there a problem with the > installer for one of the 1.7.x versions installing some sort of adware or > malware? > > Currently, Wikipedia says "Since 2009, PDFCreator has included closed source > adware

RE: Re(2): pdf creator on windows

2016-08-19 Thread Timothy Penner
Hi Tim, > I’ve not found a for sure way to set PDF Creator to never check for updates > for all users on Terminal Server. I’m sure there must be a settings file > stored somewhere for each user that has this setting, but I’ve not been able > to find it. I guess it also could be in the Registry.

Re: Custom Widgets

2016-08-19 Thread truegold
Hi Ortwin, > Hier is an example of a calenderwidget Really nice work! Aesthetically pleasing and wonderfully simple and elegant. > I would not use objects for that kind of purpose. Methods are all tied to the > objects themselves which is a mess That was my understanding as you can only copy a