Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
I think the problem may be High Sierra. Enabling the Adobe PDF viewer in Safari High Sierra > On Oct 18, 2017, at 10:46 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Try updating Adobe > > > On Thu, 19 Oct 2017 at 7:43 pm, John Baughman via 4D_Tech < > 4d_tech@lists.4d.com>

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
David, I hear you. I am being a bit stubborn just because it should be working, it isn’t, and I want it to. This is being deployed on windows and it is working just fine there. So no need to buy anything, but it’s annoying that it does not work on the Mac. I think I am going to call TS and

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread Sujit Shah via 4D_Tech
Which version of 4D? On Thu, 19 Oct 2017 at 7:28 pm, John Baughman via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Not running 64-bit so I don’t believe Blink is involved, but tried your > suggestion. Still does not work. It loads a blank html or any html for that > matter, but not a pdf. > > > On

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
I just checked and on my mac I did not have the adobe plug-in in the User’s library folder but it was in the System Library folder. I removed it from the system library folder and the 4D Web Area still does not display a pdf. Also tried putting it in the Users library to no avail. > On Oct

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread Sujit Shah via 4D_Tech
Try updating Adobe On Thu, 19 Oct 2017 at 7:43 pm, John Baughman via 4D_Tech < 4d_tech@lists.4d.com> wrote: > R4 > > > On Oct 18, 2017, at 10:33 PM, Sujit Shah via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > Which version of 4D? > > > > On Thu, 19 Oct 2017 at 7:28 pm, John Baughman via

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread David Adams via 4D_Tech
John, This all sounds very familiar & is why I went with Rob's viewer plug-in. http://www.pluggers.nl/product/pdf-viewer/ This plug-in isn't crazy expensive like some of the PDF generating tools. (I think Rob faces high licensing costs of his own on those.)

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
Oops did not finish a sentence… The process to enable AdobePDFViewer in Higfh Sierra appears to have changed a bit. Maybe it changed earlier, but I did not notice. > On Oct 18, 2017, at 11:13 PM, John Baughman via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > > I think the problem may be High

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
Not running 64-bit so I don’t believe Blink is involved, but tried your suggestion. Still does not work. It loads a blank html or any html for that matter, but not a pdf. > On Oct 18, 2017, at 6:10 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > what if you load a blank

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread Sujit Shah via 4D_Tech
That’s disappointing Which version of 4D? Is integrated web kit ticked? I had a similar issue but don’t remember what fixed it. On Thu, 19 Oct 2017 at 7:11 pm, John Baughman via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I just checked and on my mac I did not have the adobe plug-in in the >

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread Ortwin Zillgen via 4D_Tech
while Acrobat Reader was relevant on macOS, it planted itself as the default PDF-viewer inside a WebBrowser. That didn't work well with 4D webarea. As far as I remember at a place like this /Users/~/Library/Internet Plug-Ins/acrobatreader.plugin Removing the plugin allowed 4D to display PDFs in

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
R4 > On Oct 18, 2017, at 10:33 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Which version of 4D? > > On Thu, 19 Oct 2017 at 7:28 pm, John Baughman via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Not running 64-bit so I don’t believe Blink is involved, but tried your >>

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
Restarte the Mac. I must not be doing it right as Safari continues to display using the Preview viewer and Firefox displays in Adobe Reader. I have 2 plugins... AdobePDFViewer.plugin AdobePDFFViewerNPAPI.plugin This R4. John > On Oct 18, 2017, at 10:22 PM, Sujit Shah via 4D_Tech

Re: Listbox question

2017-10-19 Thread Nigel Greenlee via 4D_Tech
Ferdinando I want to share with you how i manage listbox scroll bars 1) In the on load section of the form i call a wrapper method with pointer to the list box area(i have never updated these to use the object name but that should really be done). LB_SetScrollBar (->SCRIPTS_lB_Scripts;-2;-2)

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread Ortwin Zillgen via 4D_Tech
> I think the problem may be High Sierra. nope > Try updating Adobe of no help > I must not be doing it right as Safari continues to display using the Preview > viewer and Firefox displays in Adobe Reader. I have 2 plugins... > > AdobePDFViewer.plugin > AdobePDFFViewerNPAPI.plugin that's

Re: QUERY into variable vs. Records in Table

2017-10-19 Thread Tim Nevels via 4D_Tech
On Oct 19, 2017, at 1:45 PM, Jeffrey Kain wrote: > Decided to test it. Here are the results, running interpreted, client-server > against a server under very low load: > > Records in table: 565 ms > Semaphore polling: 2482 ms > Query into variable: 2749 ms Makes sense to me if you think like

Re: QUERY into variable vs. Records in Table

2017-10-19 Thread Spencer Hinsdale via 4D_Tech
maybe i don't understand but what about: `trigger execute on client("@";"flagPoll") `flagPoll c_boolean(<>flagPoll) <>flagPoll:=true ... if(<>flagPoll) > $x:=Records in table([ServerMigrations]) <>flagPoll:=false else `skip 99,999 calls to server end if > On Oct 19, 2017,

Re: QUERY into variable vs. Records in Table

2017-10-19 Thread Jeffrey Kain via 4D_Tech
Decided to test it. Here are the results, running interpreted, client-server against a server under very low load: Records in table: 565 ms Semaphore polling: 2482 ms Query into variable: 2749 ms Here's my test code: C_LONGINT($msRIT;$msSEM;$msQUERY;$x;$n) C_BOOLEAN($b) $n:=1000

Re: QUERY into variable vs. Records in Table

2017-10-19 Thread Julio Carneiro via 4D_Tech
Jeffrey, I did not quite get your question. Records in Table does not relate to QUERY in any way, because you are comparing a sort of static number, total records in a table, to the result of a dynamic operation. Did you mean compare: Set Query Destination(into variable;$nrecs)

Re: QUERY into variable vs. Records in Table

2017-10-19 Thread Jeffrey Kain via 4D_Tech
Great idea - I think that would actually work for what I need... Thanks! -- Jeffrey Kain jeffrey.k...@gmail.com > On Oct 19, 2017, at 2:45 PM, Spencer Hinsdale via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > maybe i don't understand but what about: > > `trigger > execute on

Re: QUERY into variable vs. Records in Table

2017-10-19 Thread Spencer Hinsdale via 4D_Tech
trigger? > On Oct 19, 2017, at 10:28 AM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I feel like I'm missing an obvious solution. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html

RE: QUERY into variable vs. Records in Table

2017-10-19 Thread Timothy Penner via 4D_Tech
I am not sure why you would be comparing QUERY into variable vs. Records in Table - did you really mean Records in Selection, not Table? QUERY into variable would require a query which would probably be slower (due to a query). Records in Table ignores any selection and just returns the number

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread John Baughman via 4D_Tech
Ortwin. I tried with both in, both out, one or the other in and out and the Web Area still refuses to display the PDF. The area remains blank. To all who have tried to help in this regard… I will have to put this aside for now. Probably make a call to Tech Support just to see if perhaps it

Re: QUERY into variable vs. Records in Table

2017-10-19 Thread Kirk Brooks via 4D_Tech
Hi Jeff, On Thu, Oct 19, 2017 at 10:28 AM, Jeffrey Kain via 4D_Tech < 4d_tech@lists.4d.com> wrote: > ​... > all it's doing is waiting for a relatively rare condition to happen (and a > record to appear in this table). It might happen at most once or twice per > day, maybe only once every few

Re: QUERY into variable vs. Records in Table

2017-10-19 Thread David Adams via 4D_Tech
> And all it's doing is waiting for a relatively rare condition to happen (and a record to appear in this table). It might > happen at most once or twice per day, maybe only once every few days, but when it happens it has to be dealt with > immediately. It's such a waste to be constantly

Re: Server Process "Frozen"-ish

2017-10-19 Thread Cannon Smith via 4D_Tech
Thanks Jeff and Bernd. -- Cannon.Smith Synergy Farm Solutions Inc. Hill Spring, AB Canada 403-626-3236 > On Oct 19, 2017, at 12:24 AM, Bernd Fröhlich via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Almost exactly the same setup over here.

Working 4Dv15 Windows

2017-10-19 Thread Ronnie Teo via 4D_Tech
Hi All, I am in the midst of converting 4D Windows-based application from v11 to v15 and encountered a strange issue. When editing a method under v15, all the text are jumbled up. I tested with creating a new method, not just methods carried over from the past and the effect is the same. For

Combine pictures in v15

2017-10-19 Thread Ronnie Teo via 4D_Tech
Hi All, I have a query regarding combining 2 pictures in v15. I have a function in a v11 application whereby the user drags a picture onto a base picture. A new merged picture is created using the 4D picture operator | ……. Picture1 := Picture1 | Picture2 Now the app is in the process of being

Ergonomic 4D office...

2017-10-19 Thread Robert ListMail via 4D_Tech
I've got some unexplained back problems—severe pain over the last three days... I'm reminded that: I'm not 21 anymore, and that my office desk and chair are probably far from optimal. I'm sure that my injury has nothing to do with my motorcycle crash last year or my personal plumbing efforts

Re: QUERY into variable vs. Records in Table

2017-10-19 Thread Arnaud de Montard via 4D_Tech
> Le 19 oct. 2017 à 18:25, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > Does anyone know the relative performance impact on a server of calling a > QUERY wrapped inside a SET QUERY DESTINATION (Into Variable...), compared to > calling Records In Table? > > If you had to do

QUERY into variable vs. Records in Table

2017-10-19 Thread Jeffrey Kain via 4D_Tech
Does anyone know the relative performance impact on a server of calling a QUERY wrapped inside a SET QUERY DESTINATION (Into Variable...), compared to calling Records In Table? If you had to do one a hundred times a minute or more, which would you choose? I'm guessing the server can get the

Is a package preferred?

2017-10-19 Thread Robert ListMail via 4D_Tech
It seems like most of my Mac-based 4D databases are in a folder with the structure and datafile on the same level and where there might be a test data file in folder elsewhere. Yet, I have a few newly inherited Mac-based databases that are in packages. Regarding best practices, what approach do

Re: QUERY into variable vs. Records in Table

2017-10-19 Thread Jeffrey Kain via 4D_Tech
I was thinking that I could just create a semaphore instead of creating a record. The code that would otherwise be querying would just be calling Test Semaphore... but a method to clear that semaphore would be tricky since only the process that creates it can kill it. And I kind of wonder if

Re: QUERY into variable vs. Records in Table

2017-10-19 Thread Pat Bensky via 4D_Tech
I'd have thought Records in Table would be quicker ... I'm sure 4D already "knows" how many records there are in each table, so it can just answer that question immediately rather than having to query and count the result ... Pat On 19 October 2017 at 17:28, Dennis, Neil via 4D_Tech

Re: Listbox question

2017-10-19 Thread stardata.info via 4D_Tech
Nigel, Thank for suggestions. In the same layout, i use the settings for other listobox object and work. Only for one listbox the settings not work.. Thanks /Ferdinando/ Il 19/10/2017 19:17, 4d_tech-requ...@lists.4d.com ha scritto: Message: 3 Date: Thu, 19 Oct 2017 11:14:08 +0100 From:

Re: QUERY into variable vs. Records in Table

2017-10-19 Thread Jeffrey Kain via 4D_Tech
We've been using the new Get Database Measures command to take a look at what our application is actually doing, and plotting some of these metrics to our dashboard... for example, most frequently run queries. This particular query popped to the top, executing a few hundred times per minute.

RE: Listbox question

2017-10-19 Thread Timothy Penner via 4D_Tech
> In the same layout, i use the settings for other listobox object and work. > Only for one listbox the settings not work.. Does deleting and recreating the list box help? If not, what about duplicating one of the working list boxes and then modifying the properties of the duplicated one to fit

Re: Is a package preferred?

2017-10-19 Thread Keisuke Miyako via 4D_Tech
I think the difference is largely cosmetic, but spotlight might fail to locate files inside a package. (resources, for example) > 2017/10/20 7:41、Robert ListMail via 4D_Tech <4d_tech@lists.4d.com> のメール: > Regarding best practices, what approach do you favor? Do we like packages? :)

Re: Combine pictures in v15

2017-10-19 Thread Keisuke Miyako via 4D_Tech
F.Y.I. picture operators were updated in v14 http://doc.4d.com/4Dv15/4D/15.4/Picture-Operators.300-3274678.en.html > (*) The functioning of the exclusive superimposition (&) and inclusive > superimposition (|) operators is modified starting with 4Dv14 following the > update of the display

Re: Working 4Dv15 Windows

2017-10-19 Thread Keisuke Miyako via 4D_Tech
it doesn't sound like a typical experience. could it be possible that you work with a special configuration? screen DPI font font size incompatible Direct2D hardware acceleration (need to update firmware, for example) http://doc.4d.com/4Dv15/4D/15.4/SET-DATABASE-PARAMETER.301-3274410.en.html