SDI on WIndows doesnt respect a toolbar

2019-01-23 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I am testing the SDI interface on Windows with 4Dv17 64-bit. I am happy to get rid of the gray background, however, the windows now don't respect the use of a toolbar anymore I can maximize the windows, and the titlebar gets under the toolbar, so no way to move or close the window anymore.

close box of the MDI window in 64-bit is not triggered

2019-01-24 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, When using the close box of the MDI window in 32-bit the form method of the frontmost window is triggered. However, when using the close box of the MDI window in 64-bit nothing happens. Does anybody know why this is? Gr, Piotr

Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi all, First of all, I must say I am no hardware expert, so maybe this is a stupid question. It seems that 4D 32-bit Volume desktop only uses 1 core. But does 4D 64-bit Volume desktop use all available cores? Gr, Piotr ** 4D

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Piotr Chabot Stadhouders via 4D_Tech
ed, 30 Jan 2019 at 09:13, Piotr Chabot Stadhouders via 4D_Tech < 4d_t...@xxx.xxx<mailto:4d_t...@xxx.xxx>> wrote: > Hi all, > > First of all, I must say I am no hardware expert, so maybe this is a > stupid question. > > It seems that 4D 32-bit Volume desktop only

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Piotr Chabot Stadhouders via 4D_Tech
lto:4d_t...@xxx.xxx>> wrote: > > Piotr > I believe the "bitness" has more to do with how it uses RAM than cores. > Pat > > On Wed, 30 Jan 2019 at 09:13, Piotr Chabot Stadhouders via 4D_Tech < > 4d_t...@xxx.xxx<mailto:4d_t...@xxx.xxx>> wrote: > >

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Piotr Chabot Stadhouders via 4D_Tech
cores. > On Jan 30, 2019, at 1:25 PM, Piotr Chabot Stadhouders via 4D_Tech > <4d_t...@xxx.xxx<mailto:4d_t...@xxx.xxx>> wrote: > > So, does 4D automagically use more cores in 4D 64-bit or what? > When I follow all pre-emptive advise in the docs or from the iNUG, do I

Re: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Tim, Now for me an important question: is 4D for Oci pre-emptive? In short: We use for 90% UI and 4D for OCI commands. How can I make use of more than 1 core? Nu colleague says Word and Excel also use more cores, so why can't we? Gr, Piotr I see, this is relatively new development - I hav

Re: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-31 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Miyako, > if you feel you have reason to assign a CPU to an application, > there is CPU affinity (Google the word affinity)." Thanks for the tip > if you run 4D (64-bit, v17) normally on Windows, > the work will spread across multiple core naturally. Can you confirm that this is only with 6

close box of the MDI Application window in 64-bit is not triggered

2019-02-01 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, When using the close box of the Application window in 32-bit the form method of the frontmost window is triggered. However, when using the close box of the MDI Application window in 64-bit nothing happens. Does anybody know why this is? Gr, Piotr **

Best way to detect pasting a picture in 4D Write Pro

2019-04-02 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi all, Does anybody know what is the best way to detect pasting a picture in 4D Write Pro? I understand I can do it with some form event type, but I think I have to run this code every time something is pasted into the Write Pro Area, so also when pasting text for example Gr, Piotr

Web area and not secure site

2019-04-11 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, 4D v17R3 Windows We have an internal website (development) that we want to access in a web area Because its an internal URL, and for now in development, we don't have a certificate for it right now So, when using Internet explorer, we get a message "This site is not secure" However, we can p

RE: Web area and not secure site

2019-04-12 Thread Piotr Chabot Stadhouders via 4D_Tech
Also see: https://doc.4d.com/4Dv17/4D/17.1/SET-TIMER.301-4178784.en.html On Apr 11, 2019, at 3:25 AM, Piotr Chabot Stadhouders via 4D_Tech <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>> wrote: I don't use the embedded version b

Webarea Embedded rendering engine show blank pages in 64-bit

2019-05-07 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Tested on Windows In 4Dv17R4 32-bit I have some html pages that are shown in a Webarea Because I need "Access 4D methods", I use the embedded rendering engine Also, I like to use the embedded rendering engine in 64-bit because of Blink However, when using embedded rendering engine, the pages

RE: Webarea Embedded rendering engine show blank pages in 64-bit

2019-05-08 Thread Piotr Chabot Stadhouders via 4D_Tech
ericht- > Van: Pat Bensky > Verzonden: dinsdag 7 mei 2019 20:03 > Aan: 4D iNug Technical <4d_tech@lists.4d.com> > Onderwerp: Re: Webarea Embedded rendering engine show blank pages in 64- > bit > > Piotr, > I have noticed the same problem. I guess it needs to be

RE: Webarea Embedded rendering engine show blank pages in 64-bit

2019-05-08 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Kirk, Thanks for your input. We generate html on the fly, with data retrieved by queries on the database I preferably don't want to store these temp html files on disk, ending up with cleaning up a lot of temp pages As said, on 4Dv17R4 32-bit, WA SET PAGE CONTENT works fine with the embedded

Special character euro sign in JSON string

2019-06-11 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I have a JSON string with a special character, the euro sign This character is represented in JSON by u0080 An example of part of the JSON string in 4D when watching in the debugger is ,"amount":"250.00","valutasign":"\\u0080", When I use $obj:=JSON Parse($json_string) I don't get

RE: Special character euro sign in JSON string

2019-06-12 Thread Piotr Chabot Stadhouders via 4D_Tech
r euro sign in JSON string > > JSON string should be represented in unicode > > https://www.json.org > > \u0080 is not the euro sign. > > $euro:=JSON Parse("{\"euro\":\"\\u20AC\"}") > > > 2019/06/11 16:22、Piotr Chabot Stadhouders

Which extension does Google Blink engine use when showing PDF

2019-06-27 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Windows, 4D V17 64-bit We use a webarea with the embedded web rendering engine checked, so 4D is using Google Blink In this area we show PDFs and it look very nice I must say However, we ant to change the default zoom for the PDFs I have changed the zoom preference in Acrobat on my machine,

Another splitter question

2019-09-25 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I have a form with three listboxes on it, with in between 2 vertical splitters I want to accomplish the following, preferably only by setting object properties : When I move the left splitter the left listbox must size, the middle listbox + right splitter must move, and the right listbox mu

RE: Another splitter question

2019-09-26 Thread Piotr Chabot Stadhouders via 4D_Tech
x27;t be able to size the listbox smaller than the layout in the form editor. On Wed, Sep 25, 2019 at 1:05 AM Piotr Chabot Stadhouders via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Hi, > > I have a form with three listboxes on it, with in between 2 vertical > splitters >

RE: Another splitter question

2019-09-26 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Kirk, Yes, I already was afraid this would be the final conclusion☹ I know I can set splitter_2 and listbox_2 and listbox_3 by setting the coordinates of the objects while moving splitter_1 (in on clicked event) I also know I can assign a value to splitter_2 and then the other objects react

Database … is write protected (AGAIN)

2019-10-03 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, 4D v17R5 64-bit, Windows We use a 4D Volume Desktop application in a Citrix environment It seems that in 64-bit there is no possibility to use a Virtual Store in Windows So, when launching our app for the second time, we get the message “Database … is write protected” This is strange becaus

RE: Database … is write protected (AGAIN)

2019-10-08 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, As explained in a previous post we have problems launching 4D Volume desktop 64-bit app more than once in a citrix environment. We solved this in the past by using a virtual store on Windows. However, this is not supported anymore with 64-bit applications. Microsoft states: "Virtualization s

RE: Re: 4D v17r4 Windows Print To PDF ignoring PAGE SETUP

2019-10-10 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Cameron, Did you find a solution for this? I am working on a Windows 10 64-bit machine and have the same problem Whatever I do to change the paper size: SET PRINT OPTION(Paper option;1130;820) SET PRINT OPTION(Paper option;"A3") The output to Windows Print To PDF doesn’t respect any of my sett

RE: Database … is write protected (SOLVED)

2019-10-10 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, After investigating the problem further we found out that the use of the command OPEN DATA FILE was causing the error Accidently (not completely of course) I stumbled upon the "Use new architecture for application deployments" compatibility option since 4D v15 R4 This was exactly the option

HIDE MENU BAR in On Startup database method

2019-10-11 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, When starting an 64-bit Engined Application, the 4D menu bar is visible for a moment, even while I call HIDE MENU BAR in the On Startup database method I am talking about the menu: File|Edit|Run|Design|Records|Tools|Windows|Help I don’t want that users see (and click) on this menu bar, so I

RE: HIDE MENU BAR in On Startup database method

2019-10-12 Thread Piotr Chabot Stadhouders via 4D_Tech
erwerp: Re: HIDE MENU BAR in On Startup database method Reported as a bug in January 2018 - ACI0097822. John DeSoi, Ph.D. > On Oct 11, 2019, at 8:24 AM, Piotr Chabot Stadhouders via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > When starting an 64-bit Engined Application, the 4

[HIGH] Why does 4D does not respect my regular 4D filtering option disabled for all

2019-10-24 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, We have a database where the 4D filtering option is set to “disabled for all” However, in some installations we still get Error 48 in 4D Write pro documents where we use expressions. We have Enable user settings in external file checked Can there be a problem with our installation? Why do we

RE: [HIGH] Why does 4D does not respect my regular 4D filtering option disabled for all

2019-10-24 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, We found the problem It seems that when the Preferences folder is missing in the database folder, and 4D is not able to create the Preferences folder, the error 48 appears Gr, Piotr -Oorspronkelijk bericht- Van: Piotr Chabot Stadhouders Verzonden: Thursday, 24 October 2019 10:46 A

Write Pro Hide/clear pictures when printing

2019-10-30 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, We want to print a Write Pro document without printing the contained pictures Say we print to paper that has corporate identity, we don’t want to print the logo that is inside the Pro document So we want copy the pro document to a new one, and in this new document hide/clear the pictures (lo

Print Object error #6

2019-11-13 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, In some occasion we are getting an error when using the command Print Object The message is “The form cannot be printed. Error #6” Does anybody know what this error number means? Gr, Piotr ** 4D Internet Users Group (4D iNU

DOCUMENT LIST : how do I know the documents are valid

2019-11-21 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, We use DOCUMENT LIST and COPY DOCUMENT to handle scans The documents are copied by a scanner to a certain folder on a Windows server, where we are picking them up and process them It seems that because of slow copying the documents are picked up too early by us How can I ensure that the docu

Re: DOCUMENT LIST : how do I know the documents are valid

2019-11-21 Thread Piotr Chabot Stadhouders via 4D_Tech
Am 21.11.2019 um 11:20 schrieb Piotr Chabot Stadhouders via 4D_Tech > <4d_t...@xxx.xxx>: > > Hi, > > We use DOCUMENT LIST and COPY DOCUMENT to handle scans > The documents are copied by a scanner to a certain folder on a Windows > server, where we are picking them up and proces

Re: PRINTERS LIST

2019-11-29 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Dave, "Apparently 4D loads it’s copy of current available printers at launch" We have an 4D v17 64-bit engined App running in a Citrix environment. We got the feeling that, when a user takes over his session in another room, he "looses" the connection to the available printers, even when we c

on Windows using SET CURRENT PRINTER(Generic PDF driver) with SET PRINT OPTION(Destination option;3;$path) does not restore settings

2019-12-04 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, When using SET CURRENT PRINTER(Generic PDF driver) on Windows 10 with SET PRINT OPTION(Destination option;3;$path) does not restore the checkbox “Print To File” I use the Microsoft Print To PDF printer The checkbox “Print To File” stays on when done printing I believe this can cause problems

web area and memory use

2019-12-09 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Windows 64 bit, 4D v17r5, Embedded rendering engine We use 4D Web Area to show some HTML based reports The reports are formatted by CSS and on some of the elements we enabled user interaction with Javascript Sometimes there cab be quite an amount of HTML elements in the report, because of a

XML Null reference with DOM Find XML element

2019-12-17 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, 4Dv17R6, Windows 64-bit What is the best way to test if a XML DOM element is a Null reference? Especially when using DOM Find XML element? The docs say “If the command has been executed correctly, the system variable OK is set to 1” Does it mean “if the command finds an element”? Finding not

Re: XML Null reference with DOM Find XML element

2019-12-17 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Koen, Thanks for he snippet >> Hi Piotr, >> I have a small method DOM_validRef which basically uses this test: >> if(Replace string($ref;"0";"")="") >> $valid:=false >> end if >> 64bit indeed uses 32 zero chars instad of 16, but this code handles both >> situations (and future ones, if we

RE: Web Area not visible

2020-01-03 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Jeremy, First of all the best wishes for 2020 I have the same problem, I am interested in your solution, and sort of understand it, but not completely Some people say loading the content from disk with WA OPEN URL solves the problem, but I don't like this because of potential critical inform

auto row height only with array based listboxes?

2020-01-03 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, First of all best wishes for 2020!! Can anybody confirm that the command LISTBOX SET PROPERTY(*;"mylistbox";lk auto row height;lk yes) only works with array based listboxes, and not collection based listboxes? Thanks, Piotr

Write Pro disable spell checking

2020-01-10 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, When displaying a write pro area in a form, on default I want to disable spell checking I thought I could do this with the view property wk spell enable $viewProps[wk spell enable]:=false WP SET VIEW PROPERTIES(*;$wpro_area;$viewProps) However, when doing this the spelling options in the

first call in form of WA EXECUTE JAVASCRIPT FUNCTION takes 6 seconds

2020-04-28 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, When opening calling WA EXECUTE JAVASCRIPT FUNCTION the first time in a form for a web area it takes 6 seconds to complete Successive calls run as expected Does this have something to do with loading certain libraries? Does anybody know why does this take so long? Can I do something about thi

<    1   2