Re: Where is the trace/debug command?

2021-10-05 Thread John J Foster via 4D_Tech
Hi All, Barclay (author of iLB) has had issues where the Trace command in the source code files, when compiled with current versions of 4D v18/v19 will have this error. I believe, Barclay has to either comment out the Trace commands and recompile OR write a wrapper around the Trace command so

Re: [4D v18.3; Mac {10.13.6} + {10.15.7}] LEP-voodoo

2021-03-21 Thread John J Foster via 4D_Tech
Hi Jörg, Like wayne said! You have to sign everything required to work with your application: 4D, plugins, folders included, resources, etc. In my case I hand a standalone engined app for Mac and Windows. I build my standalone 4D app. I then use Miyako’s BUILD application (or you can move the

Re: Longitude Index: B-Tree or Cluster

2020-04-19 Thread John J Foster via 4D_Tech
Hi Bernard, I did find a version with methods in english. But I’ll need to convert the text of the distance form so I can better understand it. Appreciate, John… > John, > > In Math4D, method names are all in English. > All descriptions are in English (and in French…) > > Forms have not been

Re: 4D Created and Developed by Screen on Quitting standalone Desktop Application

2020-04-17 Thread John J Foster via 4D_Tech
Hi nisshaa, That’s what comes with the volume desktop. The only way to remove that screen is by being able to form a special OEM relationship with 4D based upon unit sales volume. 4D store says: "The 4D OEM Desktop license is designed for software developers with a large number of customers, a

Re: Long running reports to disk intermittently disrupted and fail

2020-04-17 Thread John J Foster via 4D_Tech
On Apr 17, 2020, at 12:15 PM, John J Foster wrote: Hey Kirk and Miyako, I like the idea of having a copy at months end and then moving it. This client is quite picky about what I can do and what I can’t. Been working with them since 1994-1995 I think. Anyway thanks for the ideas. Appreciat

Re: Long running reports to disk intermittently disrupted and fail

2020-04-17 Thread John J Foster via 4D_Tech
Hey Arnaud, No worries not on a MacOS. John… > Unfortunately on macOS it's not enough, I sometimes have the shared volume > when I ask "are you here", a while after it's gone. I use an applescript that > is called each time 4D sees a volume is gone to mount it, but same problem > can occur.

Re: Long running reports to disk intermittently disrupted and fail

2020-04-16 Thread John J Foster via 4D_Tech
Hi Randy, Good to know. Since I don’t have access, remote or otherwise, I’ll have to teach the client how to use that. Anyway, it doe sound like it’s doable. And worst case the document is still created it just might not be moved if the drive cannot be found for there’s an error during the at

Re: Print(WR_Toolbar_Classic) Error - not a Write object

2020-04-16 Thread John J Foster via 4D_Tech
Hi All, With the help of Barclay Berry - Component master - we have fixed the issue. The host db needed to have method that could be called by the Matrix db where a pointer to the 4D Write object would get passed. In the matrix db there had to be a routine setup so that it could call the host t

Re: Long running reports to disk intermittently disrupted and fail

2020-04-16 Thread John J Foster via 4D_Tech
Hey Randy, Agreed! I will try and change them if I can figure how to test the Server to see if it can see the network drive. I would imagine that it can but never assume… I’ll see if I can find out. Appreciate, John… > On Apr 16, 2020, at 12:00 PM, 4d_tech-requ...@lists.4d.com wrote: > >>

Re: Long running reports to disk intermittently disrupted and fail

2020-04-16 Thread John J Foster via 4D_Tech
Hey Jeff, Been a while since I had to use Process Monitor as part of a debugging process. I don't have access to the Windows Sever that runs our 4D Server App. But I could ask my contact what the setup is. I pretty much have to try and debug with the non-IT folks. Anyway good idea. Thanks, Jo

Re: Long running reports to disk intermittently disrupted and fail

2020-04-16 Thread John J Foster via 4D_Tech
Hey Kirk, > I agree with Jim Ditto! Yes I have been exploring the idea of moving the code to run on the Server. It’s easy s I only need to set a property. But then I still need the Server to be able to see the paths to where the text files need to be moved to. I have no access to their Server

Re: Long running reports to disk intermittently disrupted and fail

2020-04-16 Thread John J Foster via 4D_Tech
Hi Arnaud, Yes that path would have to tested and if not found then a report or email sent alerting them. John… >> Le 15 avr. 2020 à 23:35, John J Foster via 4D_Tech <4d_tech@lists.4d.com >> <mailto:4d_tech@lists.4d.com>> a écrit : >> >> I do think writing

Re: Long running reports

2020-04-16 Thread John J Foster via 4D_Tech
Hey Chip, Thanks for the idea. I’ll explore that. John… > I've played with large files (reading) and 4D - and around 500 megs it starts > to get wonky. > > I would: > use an SSD > create the (local) disk file (blob to doc with an empty blob. > repeat > build up your text to some size (

Re: Long running reports to disk intermittently disrupted and fail

2020-04-15 Thread John J Foster via 4D_Tech
for the code! Makes it so much easier to think it through (see and build upon). Appreciate, John… > On Apr 15, 2020, at 3:19 PM, James Crate wrote: > > On Apr 15, 2020, at 4:35 PM, John J Foster via 4D_Tech <4d_tech@lists.4d.com> > wrote: >> >> I do believe th

Re: Print(WR_Toolbar_Classic) Error - not a Write object

2020-04-15 Thread John J Foster via 4D_Tech
Hi All, The offending command is: WP PRINT(WP_WriteProArea) It appears that the component is expecting “WP_WriteProArea” to be an object. I don’t recall the ins and outs off passing params from the host to the component. But I do know that the host and component have different scopes. So you

Re: Long running reports to disk intermittently disrupted and fail

2020-04-15 Thread John J Foster via 4D_Tech
Hey Neil, That’s interesting. This client, although in 4D v17.2 (yes unicode), hates upgrading. So I will have to code in v17 efficiency. I think I’d be find with the slowness if I can figure out why the routine either stalls or timeout or suddenly cannot find the disk. I do think writing the

Re: Long running reports

2020-04-15 Thread John J Foster via 4D_Tech
Hey Mike, > I would like to know who is reading the 800 MB report. Regardless... No one will read them directly. These are generated export files sent to governing authorities who then import for their various reports. I believe various ISO departments for claim management statistics. > I wen

Re: Long running reports to disk intermittently disrupted and fail

2020-04-15 Thread John J Foster via 4D_Tech
Hey Jim, Yea you could be right! I do believe that creating it locally and moving to the network drive can be more efficient. I’m not sure how much speed different there would be. > using TEXT TO BLOB with the offset parameter I’m investigating this command and seeing if I can understand how t

Long running reports to disk intermittently disrupted and fail

2020-04-15 Thread John J Foster via 4D_Tech
Hi All, Sorry for the resend … 4D v17.2 64bit Windows Windows 10 Pro We have some reports that are run in a batch overnight. Have to because they take that long to run all of them. Anyway, since we’ve upgraded from Windows 7 to Windows 10 there have been I’m guessing timeouts on some of these

Re: Drop User NOT working (after client disconnected using Force Quit)

2020-04-15 Thread John J Foster via 4D_Tech
Hey Tim, Thanks for the very detailed response. I will cull through them and see what I can send to the client. Their IT is very sophisticated. At one time, I was told, they were Microsoft’s 10th largest client? Suffice to to say they are well equipped - a blessing and a curse since they know e

Long running reports to disk intermittently disrupted and fail

2020-04-15 Thread John J Foster via 4D_Tech
Hey All, When it rains it pours… 4D v17.2 64bit Windows Windows 10 Pro We have some reports that are run in a batch overnight. Have to because they take that long to run all of them. Anyway, since we’ve upgraded from Windows 7 to Windows 10 there have been I’m guessing timeouts on some of thes

Re: Drop User NOT working (after client disconnected using Force Quit)

2020-04-15 Thread John J Foster via 4D_Tech
Hey Randy, Yea that makes sense IU guess if 4D thinks the processes are still active. Spencer suggested that it might have been fixed in 17.4. Fingers crossed, John… > In some situations where the 'drop user’ was failing, I have been able to > switch over to the list of processes and abort e

Re: Drop User NOT working (after client disconnected using Force Quit)

2020-04-15 Thread John J Foster via 4D_Tech
Hey Randy, Spencer has indicated that there was a bug fix which handled this. So fingers crossed… Thanks for sharing, John… > We have seen this numerous times on a client running a Mac server with people > logging in from a Windows terminal server. > > My understanding was that clients would

Re: Drop User NOT working (after client disconnected using Force Quit)

2020-04-15 Thread John J Foster via 4D_Tech
Hey Spencer, I was hoping to hear something like that. The client site has about 40-50 clients plus a few remote and they don't like changing! So this might be the push needed. I’ll find and review the bug fixes. Appreciate, John… > Dude, 17.4 is the bomb. The ultimate fix for our times is

Drop User NOT working (after client disconnected using Force Quit)

2020-04-15 Thread John J Foster via 4D_Tech
Hey All, 4D v17.2 64bit Windows Windows 10 Pro Another issue (last month actually) that I’m not sure if there is a fix. Although client believes there is one! Here’s what happened: A User (client) froze up in the application and so they excited improperly by quitting the 4D through the Task Ma

Print(WR_Toolbar_Classic) Error - not a Write object

2020-04-15 Thread John J Foster via 4D_Tech
Hi All, 4D v17.2 64bit Windows Windows 10 Pro We are using the "WR_Toolbar_Classic.4dbase” component. Reason is because it closely resembles the earlier 4D Write UI. Anyway, everything works except we get an error trying to print. "Error when executing the method “Print(WR_Toolbar_Classic)” at

Re: Longitude Index: B-Tree or Cluster

2020-04-15 Thread John J Foster via 4D_Tech
Hey Tim, > Many years ago at a 4D Summit I remember... Do you have a photographic memory? Good info. Thanks, John... > Many years ago at a 4D Summit I remember someone asking Laurent a question of > how Cluster B-Tree indexes were implemented. He gave a fairly detailed > answer. > > Clust

Re: Longitude Index: B-Tree or Cluster

2020-04-15 Thread John J Foster via 4D_Tech
Hi Bernard, My scenario was based upon the way I saw someone else implement it. And I don’t have miles or kilometers and don't need them for my purposes. Yea it will either be a square or a circle not sure yet. Does anyone know if there is an updated v17 English version of the Math4D component

Re: Longitude Index: B-Tree or Cluster

2020-04-14 Thread John J Foster via 4D_Tech
Hey Chuck, Not sure what “hash and stir” means? Matching data requires one kind of index for speed and doing a radial search another. In the db where I only have 1/2 million records with longitude as a real the index returns a range quite quickly. So I’ll keep it for the radial search. For ma

Re: Longitude Index: B-Tree or Cluster

2020-04-14 Thread John J Foster via 4D_Tech
ion of position with reals and use > standard index. Although speed difference may be small for middle-size data > (how many locations there may be?) > > HTH, > > Peter Bozek > > On Tue, Apr 14, 2020 at 9:17 PM John J Foster via 4D_Tech > <4d_tech@lists.4d.com> w

Re: Longitude Index: B-Tree or Cluster

2020-04-14 Thread John J Foster via 4D_Tech
Hey Chuck, Given my last response and my needs… I am trying to visualize how a hash would work? Can you give me an example using a longitude and latitude? Thanks, John… > You could use a hash and store it. I have a sequence that is too long to > query and that is what I did works like a charm

Re: Longitude Index: B-Tree or Cluster

2020-04-14 Thread John J Foster via 4D_Tech
for those two needs. Anyway, appreciate, John… >> Le 13 avr. 2020 à 23:51, John J Foster via 4D_Tech <4d_tech@lists.4d.com >> <mailto:4d_tech@lists.4d.com>> a écrit : >> >> Hey Bernard, >> >> I would use text values if I didn’t think I needed to

Re: Longitude Index: B-Tree or Cluster

2020-04-14 Thread John J Foster via 4D_Tech
Hi Arnaud, I have split out the longitudes into a text and real component. I have formatted the longitudes as “000” and if west of GMT prefixed with “-“ and if east prefixed with “+“. I'll do something similar with latitudes and then try building some radial searches and see. Since all string

Re: Longitude Index: B-Tree or Cluster

2020-04-13 Thread John J Foster via 4D_Tech
Hey Bernard, I would use text values if I didn’t think I needed to do range searches. It’s not a “live” db so I can play and experiment to my hearts content. Yea I could format the longitudes as “000” and the latitudes as “00” then they sort in order. Of course I have to keep in mind the direct

Re: Longitude Index: B-Tree or Cluster

2020-04-13 Thread John J Foster via 4D_Tech
Hey Bernard, Ah yes the Math4D component. I had forgotten about that! I’ll take a look. If I add a field and split the longitude into degrees I’d likely use a long. I think that would give me the most flexible approach. Then searching for specific values like 115 or -47 would be easy. Creating

Re: Longitude Index: B-Tree or Cluster

2020-04-12 Thread John J Foster via 4D_Tech
. Interesting challenge that for sure. Appreciate, John… > On Apr 12, 2020, at 9:17 AM, Randy Kaempen wrote: > > John, > >> On Apr 12, 2020, at 10:33 AM, John J Foster via 4D_Tech >> <4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>> wrote: >> >&g

Re: Longitude Index: B-Tree or Cluster

2020-04-12 Thread John J Foster via 4D_Tech
Hey Jörg, Thanks! I was able to find a few other NUG entries using the word “bearing” in the search. Challenging for the NUG archive to read my mind and correctly interpret what I am looking for! If you happen to find any 4D bearing/distance code (anything related to searching using longitu

Re: Longitude Index: B-Tree or Cluster

2020-04-10 Thread John J Foster via 4D_Tech
to find other places). Couldn’t find anything in KB. Anyway thanks for the help and explanations. John... > G’day John, > >> On 10 Apr 2020, at 10:03 AEST, John J Foster via 4D_Tech >> <4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>> wrote: >> &g

Re: Longitude Index: B-Tree or Cluster

2020-04-10 Thread John J Foster via 4D_Tech
Hey Kirk, Yea I have been mulling as a possibility. But I really want to put 4D through it’s motions first. Not worried about storage at this time as this is kind of a laboratory for testing large tables. Thanks for your ideas! John... > If absolute raw speed is what you are looking for I wou

Re: Longitude Index: B-Tree or Cluster

2020-04-10 Thread John J Foster via 4D_Tech
uch as longitude, it might make a bigger difference. > > HTH, > > Tom Benedict > >> On Apr 10, 2020, at 06:26, John J Foster via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> Hi Arnaud, >> >>> what is the field type? >> >&

Re: Longitude Index: B-Tree or Cluster

2020-04-10 Thread John J Foster via 4D_Tech
Hi Arnaud, Just noticed that the search was typed in wrong. It should be: QUERY([City];[City]country code=$cntryCode) QUERY SELECTION([City];[City]longitude>=$lon_r;*) QUERY SELECTION([City]; & ;[City]longitude<=$lon_r+1) John… > In this case I am searching by coun

Re: Longitude Index: B-Tree or Cluster

2020-04-10 Thread John J Foster via 4D_Tech
ezone It’s not a “live” database so I don't want to spend too much time with it. But when I need to match data then, of course, I want it to search as fast as is possible. Appreciate, John… >> Le 10 avr. 2020 à 02:03, John J Foster via 4D_Tech <4d_tech@lists.4d.com >

Longitude Index: B-Tree or Cluster

2020-04-09 Thread John J Foster via 4D_Tech
Hi All, I have a GEO database of almost 5 million cities. They include various data and latitude and longitude. I need to use the Longitude file in searches. To speed it up I need to index. Many of the values are similar like 141.235 or 141 3.23 and so on. So for those who might know would a C

Re: Printing Listbox multiple pages (resolved)

2020-03-20 Thread John J Foster via 4D_Tech
Hi Bob, The email was a quick response to my question since I found an answer before anyone responded. I wanted to makes sure there was an answer to the question for posterity. > What are these two objects you are printing using 'Print object’ ? These are two different objects, aka, object nam

Re: Printing Listbox multiple pages (resolved)

2020-03-19 Thread John J Foster via 4D_Tech
Hi All, Never mind - unless you found something a bit easier… I found an older JPR example (I think) and it was really easy! Just change the code to something like this: C_BOOLEAN(vOver;$ref) PRINT SETTINGS If (ok=1) SET PRINT PREVIEW(True) OPEN PRINTING JOB FORM LOAD(

Printing Listbox multiple pages

2020-03-19 Thread John J Foster via 4D_Tech
Hi All, I have an array based listbox of results that needs to be printed. I am starting with simple code: PRINT SETTINGS If (ok=1) SET PRINT PREVIEW(True) OPEN PRINTING JOB FORM LOAD("Timescan_print") $ref:=Print object(*;"tscanChartInfo") $ref:=Print ob

Re: Active Listbox/Form while listbox dynamically built

2020-03-09 Thread John J Foster via 4D_Tech
!!! >> >> John... >> >>> On Mar 9, 2020, at 10:25 AM, Peter Bozek >> <mailto:peter.bo...@gmail.com>> wrote: >>> >>> >>> >>> On Mon, Mar 9, 2020 at 5:52 PM John J Foster via 4D_Tech >>> <4d_tech@lists.4d.

Re: Active Listbox/Form while listbox dynamically built

2020-03-09 Thread John J Foster via 4D_Tech
Hi Lahav, Ref: "You are actually calling a method that runs in the context of the form window. You don't need to trap for an event, the method just runs and does whatever it needs to do in the context of the form.” I think I get it. Ref: "One question for you, any reason to use arrays rather

Re: Active Listbox/Form while listbox dynamically built

2020-03-09 Thread John J Foster via 4D_Tech
e I’ll get to work on implementing this. Appreciate, John… > On Mar 9, 2020, at 10:27 AM, Peter Bozek wrote: > > > > On Mon, Mar 9, 2020 at 6:22 PM John J Foster via 4D_Tech > <4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>> wrote: > > Ref: "An ea

Re: Active Listbox/Form while listbox dynamically built

2020-03-09 Thread John J Foster via 4D_Tech
Hi Peter, That makes sense and I beginning to get a sense/visualize it. This stuff is like magic in comparison to the older approach. Thank you Peter!!! John... > On Mar 9, 2020, at 10:25 AM, Peter Bozek wrote: > > > > On Mon, Mar 9, 2020 at 5:52 PM John J Foster via 4D_T

Re: Active Listbox/Form while listbox dynamically built

2020-03-09 Thread John J Foster via 4D_Tech
Hi Lahav, Good to hear from you my man! Ref: "An easier way to think of CALL FORM is to look at it as the old ON OUTSIDE CALL event in a form, but with the added bonus of being able pass data to the form as parameters from the calling process, without using global variables." I kind of get th

Re: Active Listbox/Form while listbox dynamically built

2020-03-09 Thread John J Foster via 4D_Tech
rker calculate > all lines. Only if calculation takes too long (minutes) I would try to adjust > worker call so it calculates only displayed lines. > > HTH, > > Peter Bozek > > > On Sun, Mar 8, 2020 at 7:38 PM John J Foster via 4D_Tech > <4d_tech@lists.4d.com <ma

Re: Active Listbox/Form while listbox dynamically built

2020-03-09 Thread John J Foster via 4D_Tech
Hi Peter, Yea, that’s what I thought! So trying to understand (aka, visualize in my minds eye before I code) how to correctly get back the rows being returned from another process. I am thinking of some sort of object. I’m still trying to follow Olivier’s explanation “try to see CALL FORM as

Re: Active Listbox/Form while listbox dynamically built

2020-03-09 Thread John J Foster via 4D_Tech
Hi Olivier, I think I’m so use to thinking of a process, aka CALL WORKER, as being independent. The variables are of the process. So in this case that would have to mean that the listbox and arrays are seen and updated in both the form and the process. Is that right? John... > Try to see CA

Re: Active Listbox/Form while listbox dynamically built

2020-03-09 Thread John J Foster via 4D_Tech
Hi Jeremy, OK, conceptually then: LB Form (array based - 5-8 arrays) -> Search button spawns CALL WORKER So then CALL WORKER searches and as it finds a match it returns them via CALL FORM (perhaps in an object) and then the listbox rows are processed… So the question is - since CALL FORM does

Active Listbox/Form while listbox dynamically built

2020-03-08 Thread John J Foster via 4D_Tech
Hi All, 4D v17 R5 (Mac and Windows single user standalone) I have a list box that needs to be built and available before the calculation is complete. In this case I have some searches looking for particular conditions and when found add them to the listbox. They could easily take a few seconds

Re: 4 Notarize script

2020-03-03 Thread John J Foster via 4D_Tech
Hi Aparajita, Thank you. When I upgrade from Xcode 9 to 10 for a plugin I use it will be helpful. Appreciate the contribution, John… > I created a handy script with complete instructions that will hopefully make > the process of notarizing your plugins much easier. > > https://gist.github.co

Re: SVG_New_textArea OR SVG_New_tspan

2020-02-28 Thread John J Foster via 4D_Tech
I find textAreas easier to work with for those purposes. The only drawback >>> is that the textArea is not supported by some browsers. I'll see some >>> documents appear without their text in Safari when textArea is being used. >>> >>> Keith - CDI &

Re: SVG_New_textArea OR SVG_New_tspan

2020-02-28 Thread John J Foster via 4D_Tech
not supported by some browsers. I'll see some >> documents appear without their text in Safari when textArea is being used. >> >> Keith - CDI >> >>> On Feb 28, 2020, at 10:18 AM, John J Foster via 4D_Tech >>> <4d_tech@lists.4d.com <mailto:4d

Re: SVG Extracted to clip or png

2020-02-28 Thread John J Foster via 4D_Tech
Hi Keith, Thank you. I’ll take a look at that as I suspect the underlying code must be similar to what Peter suggested. Not sure how I missed seeing that? I did review the docs. Funny, John… > Try using SVG_Add_object ($svgOtherDocRef;$groupRef) to get the group into > the other svg docume

Re: SVG_New_textArea OR SVG_New_tspan

2020-02-28 Thread John J Foster via 4D_Tech
>> On Feb 28, 2020, at 10:18 AM, John J Foster via 4D_Tech >> <4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>> wrote: >> >> Hi All, >> >> 4D v17 (mac and windows) >> >> In my current need I have been creating text by looping thoug

Re: SVG Extracted to clip or png

2020-02-28 Thread John J Foster via 4D_Tech
G > > files are XML documents, you can use any XML DOM commands to manipulate SVG > > files. > > > > Something like > > $group:=DOM Find XML element by ID(oldSVGImage;$groupID) > > If (OK=1) > > $newEl:=DOM Append XML element(newSVGImage;$group) >

Re: SVG Extracted to clip or png

2020-02-28 Thread John J Foster via 4D_Tech
mage;$group) > end if > > Peter Bozek > > On Fri, Feb 28, 2020 at 5:08 PM John J Foster via 4D_Tech > <4d_tech@lists.4d.com <mailto:4d_tech@lists.4d.com>> wrote: > Hi All, > > I have an SVG Doc which contains many grouped objects. Each group has a >

SVG_New_textArea OR SVG_New_tspan

2020-02-28 Thread John J Foster via 4D_Tech
Hi All, 4D v17 (mac and windows) In my current need I have been creating text by looping though an array and then creating each text line individually and placing each new line below the one previously created. This works fine. But there are scenarios where I would be easier to manage a series

SVG Eetracted to clip or png

2020-02-28 Thread John J Foster via 4D_Tech
Hi All, I have an SVG Doc which contains many grouped objects. Each group has a unique ID (name). Sometimes I’d like to click on a part of the document, corresponding to a grouped object, and have it sent to the clipboard or saved as a png. Just the part of the document clicked on. Is there

Re: 4D Write Components and Print error

2020-02-11 Thread John J Foster via 4D_Tech
Hey All, This is really several issues. I think the Write component I am using isn’t setup to handle printing (not print preview which does work) from outside the component. No way to send in appointed to the area in the host db. And then there is the issue about having a classic toolbar that w

4D Write Components and Print error

2020-02-10 Thread John J Foster via 4D_Tech
Hey All, I have installed the component “WR_Toolbar_Classic.4dbase” which works in all cases except. I also have named the WP area the same as what the calling component expects “WP_WriteProArea" When I select Print form the File menu using the classic menubar (subform) I get the following err

Re: PRINT SETTINGS Not setting OK to 1

2019-12-12 Thread John J Foster via 4D_Tech
Hi Tim (et al), This is just weird! If I trace it and look to see the value of the OK button it’s alway zero. If I place this code: PRINT SETTINGS If (OK=1) ALERT("Print OK=1") Else ALERT("Cancel OK=0") End if It correctly displays ALERT("Print OK=1”) although in TRACE OK=0.

Re: PRINT SETTINGS Not setting OK to 1

2019-12-12 Thread John J Foster via 4D_Tech
Hey Tim (et al), Some curious facts: 1. Placing PRINT SETTINGS in the on load works and returns OK=1 if Print or PDF selected. 2. Once the form is loaded and a button is clicked - really any button - the same PRINT SETTINGS command will be equal to 0 (zero) no matter what is selected. 3. The

Re: Windows Build - STR# 10135, 18/19 Folders

2019-12-12 Thread John J Foster via 4D_Tech
Hi Allan, > Did you ever get to the bottom of this? Not that I recall. I discovered that I could just go inside the folder and use the compiled app. However, I have been using 4D v17R5 and I don’t see it anymore. And I’m not sure when it stopped being created? Sorry I can’t be more help Allan

Re: PRINT SETTINGS Not setting OK to 1

2019-12-11 Thread John J Foster via 4D_Tech
Hey Tim, So created a new db with only this code appears to work: PRINT SETTINGS If (OK=1) ALERT("Print!") Else ALERT("Cancelled!") End if So there is something in our application that has caused this behavior. So I’ll have to figure a way to troubleshoot. I guess that’s prog

Re: PRINT SETTINGS Not setting OK to 1

2019-12-11 Thread John J Foster via 4D_Tech
Hi Tim, Well I did fail to mention I ma running Windows 10 Pro on parallels 15.1. But my client is also running Windows 10 Pro but on a windows only computer. I’ll test your ideas - as always very reasonable - and let you know. Appreciate, John… > On Dec 11, 2019, at 12:53 PM, Tim Nevels wr

Re: PRINT SETTINGS Not setting OK to 1

2019-12-11 Thread John J Foster via 4D_Tech
Hi All, So it appears that my client (in Michigan) and I (in Seattle) with running the current versions of Windows 10 Pro and 4D v17.2 64-bit are the only developers experiencing this issue? 4D Tech Support do you have any ideas? Suggestions? Seen the issue? I looked at 4D v17.3 64-bit but the

PRINT SETTINGS Not setting OK to 1

2019-12-10 Thread John J Foster via 4D_Tech
Hi All, We are running 4D v17.2 64-bit on Windows 10 pro and we have noticed that… PRINT SETTINGS is Not setting OK to 1 And thus code and pronging is not happening. I’m not sure if it’s everywhere or just in the single method? Nothing fancy about the code: QUERY([Reports];[Reports]Rep Set ID

Re: Sheets on Windows

2019-11-21 Thread John J Foster via 4D_Tech
Hi All, In order to make a “Sheets” like location on windows (so this cross-platform app looks similar) I did the following: If you use Kirk’s code as a starter (which is quite flexible) or your own then all you need to do is to adjust a few properties. On the Windows you can get a Sheet like

Re: Sheets on Windows

2019-11-20 Thread John J Foster via 4D_Tech
Hey Kirk, Thanks! I figured someone must have figured out the correct window type. Oh cool it looks localized as well? Appreciate, John… > Hey John, > This might help. You pass an object with the various params and it will > open a new window within the bounds of whatever window you call it in

Sheets on Windows

2019-11-19 Thread John J Foster via 4D_Tech
Hi All, 4D v17R5 Mac and Windows (running as engined app) I love how Mac OS handles windows as sheets. But on windows the same window opens centered (I think) in the screen. I’d like to get as close to similar behavior as possible. Before I spend time doing this I am wondering … Has anyone de

RE: Making a package of a built Mac volume desktop

2019-10-16 Thread John J Foster via 4D_Tech
Hi David, That sucks! It’s hard enough to spend the time trying to figure it out and then to discover a bug. I’m Still running the app from OS 10.12.6 so I’m guessing the bug is not there since it worked. I wish I could give you something more tangible than empathy. John… > Apparently, ther

RE: Making a package of a built Mac volume desktop

2019-10-15 Thread John J Foster via 4D_Tech
Hi David, I went this route and it worked for me. I also purchased DropDMG and it’s really simple. BUT… I have not tired to send anything to Apple for it’s approval. So I don’t know how that part works or how long it takes. Otherwise I wish Windows were as easy. John... > Paul, > > You’ll n

Re: Making a package of a built Mac volume desktop

2019-10-15 Thread John J Foster via 4D_Tech
Hi Paul, I don think it makes much sense to keep the data file in the built application. I think it will be deleted each time a new build is completed. On the Mac I opted to install the myApp in the Application folder. I have installed the data file in the Documents folder inside it’s own myDat

Re: Making a package of a built Mac volume desktop

2019-10-15 Thread John J Foster via 4D_Tech
Hi Paul, I am using the same Mac 4D v17r5 (standalone) and the volume desktop build creates an application compete with everything required inside of it. For example after the build my applications is named: myApp.app If I double-click it will indeed open as expected. If we go deeper into the

Re: INNO Installer Script

2019-10-10 Thread John J Foster via 4D_Tech
Hi Jim, I found it and have been trying to get it to work. So far. But glad I am in the right area. Thanks for the help Jim. John… > You want to look at the [Icons] section. > The syntax is something like: > > Name: "shortcut name"; Filename: "path to file or folder" > > Name: "{app}\Run P

INNO Installer Script

2019-10-10 Thread John J Foster via 4D_Tech
Hi All, 4D Volume App/Windows 10 Pro/INNO Installer I am getting closer too getting the INNO Setup script working. But… I have as issue where I’d like to an alias of the structure outside the program folder so the user doesn’t have to look inside and do it. For example if I have a built volume

Re: Windows Code Signing

2019-10-10 Thread John J Foster via 4D_Tech
Hi Armin, Thank you once again for the guidance. I have Visual Studio installed in my Parallels VM running Windows 10 Pro. So I likely have the sign tool. Most helpful!!! The devil (aka for me time consumption and mistakes) is always in the doing the first few times. It’s such a non graphical

Re: Windows Code Signing

2019-10-10 Thread John J Foster via 4D_Tech
Hi Armin, Thank you. Yes, I am reviewing that one as well as the " TN "18-15_Application Signing with 4D” which cover both Macintosh and Windows.” I am trying to baby step this process. First get it the Inno Installer to work properly and then I will work on the code signing aspect. Right no

Re: Windows Code Signing

2019-10-08 Thread John J Foster via 4D_Tech
Hi Jim, First thank you for viewing and responding. I’m playing/learning Inno Setup at this time. I have found a code signing certificates service suggested by George Huhn - at Comodosslstore.com. There are two types offered and one is extended and cost three times as much as a basic one. But

Windows Code Signing

2019-10-07 Thread John J Foster via 4D_Tech
Hi All, I’ve been trying to create a process for installing a cross-platform volume application. I’ve been modeling the approach off of 4D TN "18-15_Application Signing with 4D” which cover both Macintosh and Windows. I got the Macintosh side handled (installer is DMG Canvas $20) now I am tryin

Re: More on 4D Objects and 'Inheritance'

2019-09-19 Thread John J Foster via 4D_Tech
Hi Aparajita, I would be interested as well. Especially object-oriented programming in 4D v17 with a messaging system that takes advantage of new 4D concepts. And good quality reusable examples to speed up the integration into 4D v17R... And the API one as well. John… > - Revolutionize you

[OFF] For Chuck Miller - InformedRecordLock

2019-09-14 Thread John J Foster via 4D_Tech
Hey Chuck, Can you please check your email (likely went into spam) for an email I sent regarding InformedRecordLock? Thanks, John… ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https

Re: Resize Window and Move Code (RESOLVED)

2019-07-29 Thread John J Foster via 4D_Tech
Hi Tom, You noticed how I used the most technically correct jargon! Good for you. Although not the way urban dictionary used the phrase. I don’t like screens that fill up the entire monitor. I like them to look like they’re floating on the screen. Thus margin on air is equivalent to another t

Re: Resize Window and Move Code (RESOLVED)

2019-07-29 Thread John J Foster via 4D_Tech
Hi All, Here’s the easiest way I’ve found (so far) that will move and then resize a window. GET WINDOW RECT($Left;$Top;$Right;$Bottom) // … adjust various window coords here SET WINDOW RECT($Left;$Top;$Right;$Bottom) // figure out your various width and high adjustments RESIZE FORM WINDOW($o

Re: Resize Window and Move Code

2019-07-29 Thread John J Foster via 4D_Tech
NDOW > >> 2019/07/29 7:56、John J Foster via 4D_Tech <4d_tech@lists.4d.com>のメール: >> Doe anyone have an code they’d be willing to share for managing >> both the resize and moving of a window to the exa

Resize Window and Move Code

2019-07-28 Thread John J Foster via 4D_Tech
Hi All, 4D v17R5 (Mac and Win) I’ve been wrestling with this for a while and have had mixed and ugly results (I know I had this code in an earlier app and can’t find it!) I have a popup menu on an open form. This popup allows the user to select a screen size for the window. But I’d like the o

Fwd: Hierarchical List - Controlling Row Height [SOLVED]

2019-07-01 Thread John J Foster via 4D_Tech
re! > > Thanks Jeremy! > > Appreciate, > John… > > >> On Jul 1, 2019, at 9:37 AM, Jeremy French wrote: >> >> Maybe the SET LIST PROPERTIES command to set row height? >> https://doc.4d.com/4Dv17R4/4D/17-R4/SET-LIST-PROPERTIES.301-4055115.en.html &g

Re: Hierarchical List - Controlling Row Height

2019-07-01 Thread John J Foster via 4D_Tech
OPERTIES.301-4055115.en.html > <https://doc.4d.com/4Dv17R4/4D/17-R4/SET-LIST-PROPERTIES.301-4055115.en.html> > >> On Jul 1, 2019, at 11:33 AM, John J Foster via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> control the row height >

Hierarchical List - Controlling Row Height

2019-07-01 Thread John J Foster via 4D_Tech
Hi All, 4D v17r… (Mac and Windows) Have a need to use a Hierarchical List with sublist with a leading icon for each row. And I need to manage the spacing between rows. I have researched the docs (hoping I just missed it) and the NUG and have not found a way to control the row height. The only

Re: 4d-write-like-toolbar-example-for-4d-write-pro help [SOLVED]

2019-06-26 Thread John J Foster via 4D_Tech
y** the Write Pro area has focus. >> (Note the toolbar has “Focusable” **uncheck**.) >> >> Write Pro standard actions (for v17.2) are listed at: >> https://doc.4d.com/4Dv17/4D/17/Using-4D-Write-Pro-standard-actions.200-3726284.en.html >> >> <https://doc.4d.

Re: 4d-write-like-toolbar-example-for-4d-write-pro help

2019-06-26 Thread John J Foster via 4D_Tech
84.en.html> > > Best regards, > Jeremy > > >> On Jun 26, 2019, at 2:38 PM, John J Foster via 4D_Tech <4d_tech@lists.4d.com >> <mailto:4d_tech@lists.4d.com>> wrote: >> >> So I am trying to use the “classic” 4D Write toolbar - as a component

4d-write-like-toolbar-example-for-4d-write-pro help

2019-06-26 Thread John J Foster via 4D_Tech
Hi All, 4D v17.1 windows (and Mac) (dot release only as client will not use “R” releases) This means that I cannot use any 4D Write Pro functionality included in any of the “R” release including the 4D Write Pro widget. So I am trying to use the “classic” 4D Write toolbar - as a component - in

Re: SVG images (Windows) with white background (NOT WANTED!)

2019-06-11 Thread John J Foster via 4D_Tech
Hi All, Ignore as it appears even though I copied over the folder from the Mac to the Windows directory it did not replace the images and therefore it was using some older ones. When I deleted everything from the windows resource folder and pasted from the mac it worked as expected. At least

  1   2   >