Re: New Object passed as parameter question

2017-12-15 Thread John Baughman via 4D_Tech
be explicitly cleared. That's > different than an hList or our favorite word processor. :-) > > Also, 4D uses "ref counting" when it works with C_Object so that makes them > even more memory efficient. > > > > -- > Douglas von Roeder > 949-336-2902 > &

Re: Programmatically change the background image in the Application Window

2017-12-19 Thread John Baughman via 4D_Tech
> > On Dec 19, 2017, at 11:58 AM, Eric Naujock via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I have still not figured out how to have a server side worker send a message > to a client side window. Maybe that is a talk for later. It’s actually pretty simple. Clients register with REGISTER CL

List Box Header background color programatically.

2017-12-25 Thread John Baughman via 4D_Tech
I have tried… OBJECT SET RGB COLORS(*;"Day"+String($k)+”Header”;Foreground color;$weekEndColor) OBJECT SET COLOR OBJECT SET COLOR(*;"Day"+String($k)+"Header";-(Foreground color +(256* weekEndColor))) I can get the foreground color to work, but not the background. Or is it just

Re: List Box Header background color programatically.

2017-12-26 Thread John Baughman via 4D_Tech
Thanks everyone! Ah but yes. In this exercise I forgot that the header is in fact a button. I have always hated the inability to change the background color of a button. For form buttons that need a colored background, I use a rounded rectangle or image with a Highlight button on top. John

Re: List Box Header background color programatically.

2017-12-27 Thread John Baughman via 4D_Tech
> On Dec 26, 2017, at 6:24 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I did just discover I can set the help tip for each header object! ​ Very timely Kirk, thanks. I just found a need to implement help tips in a list box’s header and remembered your comment. A bit of a ch

Re: List Box Header background color programatically.

2017-12-27 Thread John Baughman via 4D_Tech
> On Dec 27, 2017, at 2:11 AM, Arnaud de Montard via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Having a set of # background rectangles of # colors in Resources folder, in > properties list, choose: That is a good way to do it and you can change the background color by switching files with O

How to set the file name of a QR Report to disk file.

2017-12-27 Thread John Baughman via 4D_Tech
I am executing a report with… QR REPORT([Timesheets];Get 4D folder(Database folder)+"Resources"+Folder separator+"TimeSheetEmployeeExport.4qr”) This works fine, but I want to dictate or at least offer a preset file name to the end user in the save dialogue. Tried various approaches without any

Re: How to set the file name of a QR Report to disk file.

2017-12-27 Thread John Baughman via 4D_Tech
gt; Admilon Consulting GmbH <http://www.admilon.de> > Am Wiesengrund 9a, 90584 Allersberg > Geschaeftsfuehrer: Peter Frank, Matthias Schmidt > Amtsgericht Nuernberg: HRB 21750 > Tel.: 09872-31 43 30 > --" > > > > -- > Douglas von Roeder > 949-336-2902 <(949)%20336-2902> &g

Re: How to set the file name of a QR Report to disk file.

2017-12-29 Thread John Baughman via 4D_Tech
> On Dec 28, 2017, at 1:16 PM, Guy Algot via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I use an offscreen area. For example ; Thanks Guy! I tried to use on offscreen area, but until I saw your example could not get it to do what I wanted. Using your example with a couple of modifications I g

Re: How to set the file name of a QR Report to disk file.

2017-12-29 Thread John Baughman via 4D_Tech
$path has the file name and $aSelectedPath{1} contains the full path selected, but what I am referring to is using an access path number in the directory parameter so that when the user does something that opens a Select document or Select folder dialogue again, the last directory they selected

List Box Property list questions

2018-01-06 Thread John Baughman via 4D_Tech
A couple of quick questions… 1. Double-Click on Row - Edit Record. Does this work with Named Selection as the Data Source? I can only get it to work automatically on the first row. Just curious as I can do it manually. 2. Data Source Theme: What are the Selected Item and Selected Position pro

Loving CALL WORKER, CALL FORM, and C_OBJECT

2018-01-09 Thread John Baughman via 4D_Tech
I may be easily amused, but I continue to find new uses for Workers and Call Form that make me say wow; and C_OBJECTs make it all so very clean and efficient… This weekend I had a situation where I had a main process with dialog that needed to spawn another process with dialog. Then that second

Re: BRING TO FRONT for process windows minimized

2018-01-10 Thread John Baughman via 4D_Tech
> On Jan 10, 2018, at 5:18 AM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > All of this makes it a lot more complicated to use CALL FORM when all you > have is a process number and need to determine the window reference. I posted earlier about using a worker process to spawn pro

Re: BRING TO FRONT for process windows minimized

2018-01-10 Thread John Baughman via 4D_Tech
Actually, now that I think about it, I do not think that there is a way to ask the worker for the window ref. I think you have to have the worker issue the CALL FORM or BRING TO FRONT > On Jan 10, 2018, at 6:56 AM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > &g

Re: Anyone been using R5 for real work?

2018-01-19 Thread John Baughman via 4D_Tech
Jeff, I have deployed R4 to 2 clients several months ago and did not seen any problems. I have now deployed R5 this month and so far so good. One issue with R5 is that running interpreted typing is an issue with a few commands such as SET QUERY DESTINATION (into variable;myVar). Unlike previ

Re: Anyone been using R5 for real work?

2018-01-19 Thread John Baughman via 4D_Tech
as well > in some test, maintenance and “throw-away” code in which typing may or may > not exist. Do you know any other commands that have this issue in R5? > > -- > Jeff Grann > SuccessWare, Inc. > >> On Jan 19, 2018, at 12:36 PM, John Baughman via 4D_Tech >>

Re: How to fix Design windows closing after quiting 4D

2018-01-20 Thread John Baughman via 4D_Tech
Or twin, Are you on Windows? On the Mac with 16 R series windows do not reopen no matter how you get to Design. Not the case on Windows where previously open windows reopen as expected as long as the alt key is not down. At least that is my experience. John Baughman Kailua, Hawaii john...@ha

Where is the client's preferences file

2018-02-01 Thread John Baughman via 4D_Tech
My brain is not working this morning. Can’t remember where the preferences for a v16 client server client is located. Need to tell someone to throw it out to resolve their inability to log in to server because of inability to save the preference file. Thanks, John John Baughman Kailua, Haw

Break points stopped working

2018-02-26 Thread John Baughman via 4D_Tech
I must have accidentally disabled break points. None of my break points work anymore. TRACE works. How do I turn them back on again? John John Baughman Kailua, Hawaii (808) 262-0328 john...@hawaii.rr.com ** 4D Internet Us

RE: Break points stopped working - Never Mind

2018-02-26 Thread John Baughman via 4D_Tech
4D crashed and now they are working again. I did restart 4D once without it getting fixed. Actually now that I think about it, I only restarted the database not 4D itself. John > I must have accidentally disabled break points. None of my break points work > anymore. TRACE works. > > How do I

Re: Question about Execute on Server under 4D v15

2018-03-05 Thread John Baughman via 4D_Tech
If you are working in v15 R5 or better, I would recommend that you take a close look at Worker processes. No need for pause/resume and calls are managed automatically by the worker on a first in first out basis. With a worker on the server, you would still use execute on server but only to call

Re: 4D Called from AppleScript

2018-03-06 Thread John Baughman via 4D_Tech
I did a couple of quick google searches and found that AppleScript can send HTTP Get/Post requests, SOAP requests, and SQL requests. 4D can respond/consume any of these. For example google found for "AppleScript Get and Post requests"… https://stackoverflow.com/questions/12678900/can-apple

Re: Import from Excel

2018-03-07 Thread John Baughman via 4D_Tech
If you are using Numbers on a Mac, there is no way to export to a tab delimited text file, only CSV. Many have complained, but Apple does not listen. The work around is to select the content to be exported in Numbers and copy it to the clipboard. Then past into a plain text TextEdit document. Th

Re: 4D data on the web - what do you use?

2018-03-14 Thread John Baughman via 4D_Tech
I use Xojo, http://xojo.com. I may be the only 4D developer on the planet that uses Xojo. If you are interested, I am doing a 4DMethod online presentation on April 25, “Leveraging 4D with a Xojo Web app front end”. For more information go to http://4DMethod.com I have 5 Xojo web apps deployed,

Splitter help

2018-03-16 Thread John Baughman via 4D_Tech
Never spitters working the first time. v16 R5 on a Mac. I have 2 list boxes, 1 above the other. with a spitter in between. What I need… When I move the spitter, both list boxes grow. If I move it down, the upper grows and the lower shrinks and vice versa. I have both list boxes set

Re: overlapping subforms

2018-03-19 Thread John Baughman via 4D_Tech
If I understand you correctly, you have 3 subforms visible and want them to remain visible when you make a 4th subform visible on top of them? However, when you open the form and click the button to make it visible it appears behind the other 3 forms. I just tested the above scenario and after

DOCUMENT TO BLOB stopped working

2018-03-22 Thread John Baughman via 4D_Tech
I wrote this in 2009 and it has worked for many years. I am not sure exactly when it broke, but I think within the last year. The following code loads a saved Label Editor document to the database. ARRAY TEXT($aSelected;0) $document:=Select document("";"*";"Select the label document that was sav

Re: DOCUMENT TO BLOB stopped working

2018-03-22 Thread John Baughman via 4D_Tech
> On Mar 22, 2018, at 12:08 AM, John Baughman via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > I wrote this in 2009 and it has worked for many years. I am not sure exactly > when it broke, but I think within the last year. The following code loads a > saved Label Editor

Re: DOCUMENT TO BLOB stopped working

2018-03-22 Thread John Baughman via 4D_Tech
Turns out it’s the Label Editor document MyLabel.4lb. Isolating the Document to blob… C_BLOB($blob) $vhDocRef:=Open document("") If (ok=1) CLOSE DOCUMENT($vhDocRef) DOCUMENT TO BLOB(document;$blob) end if If I open MyLabel.4lb, I get zero octets. If I open a text document I get

Re: DOCUMENT TO BLOB stopped working

2018-03-23 Thread John Baughman via 4D_Tech
gt; > have you tried > > - running the same code in 64-bit > - running the same code in a "fresh" database > - running the same code on an older macOS > > does the file open in the label editor itself? > silly question, but are you sure the file is not 0 bytes? > >

Re: 4d16 r6 documentation

2018-03-31 Thread John Baughman via 4D_Tech
The link in your email shows all the versions currently supported by 4D. What were you looking for? v16.3 is the latest version you are going to find for download (see below). If you want to learn as a developer, I recommend you read any version of the Design Reference Manual (LRM) and Design R

Re: 4d16 r6 documentation

2018-03-31 Thread John Baughman via 4D_Tech
> I recommend you read any version of the Design Reference Manual (LRM) and > Design Reference Manual (DRM). That should have read “Language Reference Manual (LRM)” and... John ** 4D Internet Users Group (4D iNUG) FAQ: http:/

Re: 4d16 r6 documentation

2018-03-31 Thread John Baughman via 4D_Tech
Oooops. I thought you were someone else. It was late, I was tired, and I had just finished working the 61st Hawaii State Science & Engineering Fair run and organized each year by the Hawaii Academy of Science (HAS). 4D is at the center of the fair’s year round management. During the fair over

JSON Validator in POP component, where is it?

2018-04-07 Thread John Baughman via 4D_Tech
My summit notes for the Dynamic Forms session indicates that there is a JASON validator in the POP component. If I heard hat correctly, what version of the ocmponent is it in and where can I find it? John John Baughman Kailua, Hawaii (808) 262-0328 john...@hawaii.rr.com *

Re: JSON Validator in POP component, where is it?

2018-04-08 Thread John Baughman via 4D_Tech
p > > and a How Do I? here: > > http://download.4d.com/Demos/4D_v17/HDI_JSONFileValidation.zip > > the demo was features in this blog post: > > https://blog.4d.com/a-new-tool-json-validator/ > >> 2018/04/07 21:24、John Baughman via 4D_Tech <4d_tech@lists.4d.com> のメ

How can I get a windows Users list

2018-04-08 Thread John Baughman via 4D_Tech
I want to run the command line command Net User on Windows Server 2008 to get a list the local users. If I run Net User in the command line it lists the local users, which is what I want. So I think I need to use LEP but I am not sure how. I think a PowerShell or PSP script is what I need, but

Re: How can I get a windows Users list

2018-04-08 Thread John Baughman via 4D_Tech
4d.com> > wrote: > > Try this: > > C_TEXT($cmd;$in;$out;$err) > $cmd:="net user" > LAUNCH EXTERNAL PROCESS($cmd;$in;$out;$err) > > $out should get the result from ‘net user’. All you have to do is parse it to > get the user list. > > Abraço,

Re: 4D Summit 2018 Comments

2018-04-09 Thread John Baughman via 4D_Tech
On Apr 9, 2018, at 5:52 PM, Jim Labos wrote: > Thanks for taking the time to give us this detailed hint at what's coming. > This is fantastic and exciting news! I hope the iOS feature will get > developed to it's max. This has potential to open many areas for us > developers. While it is great

Clients cannot see v16 R6 on windows server

2018-04-12 Thread John Baughman via 4D_Tech
I am trying to update a client running windows 2008 Server R2 Enterprise Service Pack 1 to R6. R5 works just fine, but in R6 clients cannot see the server. they are connecting using custom addresses as there are 2 servers listening on different ports, 19815 and 19813. In R5 19813 showa up in a

Re: Clients cannot see v16 R6 on windows server

2018-04-12 Thread John Baughman via 4D_Tech
I am not a very smart network guy, but if the R5 clients can connect to to the R5 server:19815, wouldn’t the UDP port be open? Otherwise would not R5 have the same problem that R6 is having. What am I not understanding here. John > On Apr 12, 2018, at 3:12 PM, Randy Engle via 4D_Tech <4d_tech@l

Re: Clients cannot see v16 R6 on windows server

2018-04-12 Thread John Baughman via 4D_Tech
Maybe I was not clear about the problem. In R5 the clients can connect to the servers. The server with 19813 shows in Available as expected, and connections with custom IPs to either sever work just fine. In R6 the clients cannot connect to the servers at all, nothing is in the available tab a

Re: Clients cannot see v16 R6 on windows server

2018-04-13 Thread John Baughman via 4D_Tech
Hi Janet, First off, I think I found the problem. Looking at the Firewall rules I see that the ports are being managed by application and I see both R5 and R6 are listed twice. What I did not notice right off was that the action for R6 was set to Blocked. I have changed it to Allow but

Re: 64Bit Client Cannot Connect to server - 16r5

2018-04-16 Thread John Baughman via 4D_Tech
Make sure that use legacy network layer is unchecked in database settings. John Baughman Kailua, Hawaii john...@hawaii.rr.com > On Apr 16, 2018, at 1:26 AM, 4dialog via 4D_Tech <4d_tech@lists.4d.com> wrote: > > it may be the network layer thats diff. in old 32 vs 64-bit? > > http://kb.4d.com/a

Time in a c_object

2018-04-16 Thread John Baughman via 4D_Tech
If I do... $oMyObject:=New Object(reporttime;t14:43:01t) How do I get the time back out as “2:43 PM” I thought this worked but It does not return the correct time... String(Time($oMyObject.reporttime);HH MM AM PM) I am getting back “4:56 AM” Thanks, John Sent from my iPad John Baughman K

Re: Time in a c_object

2018-04-16 Thread John Baughman via 4D_Tech
t;> On Apr 16, 2018, at 10:59 PM, Keisuke Miyako via 4D_Tech < >> 4d_tech@lists.4d.com> wrote: >>>> >>>> time is stored in milliseconds, not seconds. >>>> >>>> you have to >>>> >>>> $oMyObject:=New object("reporttim

Web Area display PDF

2018-04-20 Thread John Baughman via 4D_Tech
The following code is not working... $file:="file://"+Convert path system to POSIX($file) //file = "file:///Volumes/T75-TRANS01/OrthoPro/Resources/PracticeEfficiency.pdf" eWebArea_url:=$file If I paste the same url in Safari, it works. The following works… eWebArea_url:

Re: Preemptive worker queues

2018-04-20 Thread John Baughman via 4D_Tech
I too would like to see how many calls are in the queue and have voted on the existing requests on the forum. At the summit I gave a presentation on using a worker process that to provide a means for subscribed client forms to monitor when data in a table is modified. It uses a tables trigger t

TAOW Down?

2018-04-20 Thread John Baughman via 4D_Tech
Can someone check please. I am getting a 503 Service Unavailable Error. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/

Re: Simple Popup with multiple selection option?

2018-04-20 Thread John Baughman via 4D_Tech
What you want to do can be simple or it can be very complex. The DisplayList plugin was what I used for many years for this until it became part of AreaList. So you could use AreaList. For me I got Tony Ringsmuth’s DisplayList component... http://www.bbros.com/DisplayList4D/DL4D_2004_Fe

Re: Web Area display PDF

2018-04-20 Thread John Baughman via 4D_Tech
I have removed the adobe plugin from both libraries. It still does not work. Maybe I need to move away from the Web Area. What I have is a complex form with 6 header sections. To create the document for display in the web area, I am building the report with these headers using Print form in mult

Re: Web Area display PDF

2018-04-20 Thread John Baughman via 4D_Tech
> really well. > > Sent from my iPad > >> On Apr 20, 2018, at 7:04 PM, John Baughman via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> Myako, thanks for the link. GitHub frankly makes my eyes water. I don’t have >> any idea where to start

Re: Detecting 64-bit OS

2018-04-23 Thread John Baughman via 4D_Tech
I test for 64bit with… If (Test path name("C:\\Windows\\sysWoW64")=Is a folder) //64bit machine Else //32bit machine End if > On Apr 23, 2018, at 8:11 AM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > String matching is a bad way to do this kind of thing. > > If you have

Errors in 4D Web Process

2018-04-23 Thread John Baughman via 4D_Tech
This may be a dumb question as I am not sure why or how this worked before today. Up until today, whenever 4D encountered any kind of error in my code while handling an HTTP request the code was immediately aborted and my web app got a response that included the method name, line number and err

Re: Errors in 4D Web Process

2018-04-24 Thread John Baughman via 4D_Tech
in debug can tell me that. But using your test code, you can add an ON > ERR CALL(“”) right before your bad statement and see if 4D catches it. If you > do get a 4D error back it’ll indicate your were trapping errors, not 4D. > > hth > julio > >> On Apr 24, 2018, at 2:11 A

Re: Errors in 4D Web Process

2018-04-24 Thread John Baughman via 4D_Tech
debug can tell me that. But using your test code, you can add an ON >>> ERR CALL(“”) right before your bad statement and see if 4D catches it. If >>> you do get a 4D error back it’ll indicate your were trapping errors, not 4D. >>> >>> hth >>> julio >&g

4DMethod meeting Xojo/4D files updated

2018-04-27 Thread John Baughman via 4D_Tech
HI all, If anyone downloaded the Xojo/4D demo files from my presentation during the 4DMethod meeting on Wednesday, please note that a couple of bugs in the Xojo project file have been reported to me. The download files have been updated. Specifically JASON data exchange had a bug so only XML wo

Re: Macro to check that local variables are declared in a method? [Solved]

2018-04-28 Thread John Baughman via 4D_Tech
> On Apr 27, 2018, at 12:17 PM, Bob Miller via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > RE> I don?t have a macro for you, but I?m curious to know why asking the > compiler to check the syntax isn?t enough? Another reason is that for some usages of a local variable starting with one of the

Moving data storage from outside the database to in the record

2018-05-28 Thread JOHN BAUGHMAN via 4D_Tech
I am getting some results that do not seem consistent. I want to move several gigabytes of data from storage outside the database managed by 4D to in the record. The field in question is a 4D Write picture field. There are 56,000 records each containing up to 6 jpg images. If I call GET EXTERNA

Re: How does one detect that Cookies are disabled?

2018-06-05 Thread JOHN BAUGHMAN via 4D_Tech
Not know what you are using to set and read cookies I really do no have an answer for you With whatever you are using, can you… Set Cookie: “test=Test" testCookie := Read Cookie “test” If testCookie = “Test” Then Remove Cookie: “test” // cookies are not disab

Re: How does one detect that Cookies are disabled?

2018-06-05 Thread JOHN BAUGHMAN via 4D_Tech
John DeSol just pointed out that my idea would not work.. I just did some testing to see what John was talking about. Using Firefox and Xojo I ran the following test with cookies enabled… session.Cookies.Set("testing","test") if Session.Cookies.Value("testing") = "test" then MsgBox "Cookies a

Re: High Sierra - Export Text in 4D v13.6

2018-06-05 Thread JOHN BAUGHMAN via 4D_Tech
I noticed this the other day as well. Did not pay much attention to it, but will do so. I think, in fact, that what I saw was not a 4D thing but had something to do with saving a PDF to file from the print dialog. It may have been from 4D, but I don’t think so. I will keep an eye out. > On J

4D Write Pro using 4D Write-Like Toolbar

2018-06-05 Thread JOHN BAUGHMAN via 4D_Tech
I am struggling trying to get the 4D Write-Like Toolbar to work… http://download.4d.com/4DBlog/Tips/4DWriteLikeToolbarDemo.zip I am trying to create a transition from 4D Write to 4D Write Pro so I have added a second page to the input from and moved the 4D Write area to the this new sec

Re: How does one detect that Cookies are disabled?

2018-06-05 Thread JOHN BAUGHMAN via 4D_Tech
First of in my testing I am not involving 4D at all. I was simply using Xojo to test what you said in your post. After a bit more testing, I realize now that I misunderstood your post entirely. > I don't know anything about Xojo, but from the code you posted all it seems > to do is set a va

Re: How does one detect that Cookies are disabled?

2018-06-06 Thread JOHN BAUGHMAN via 4D_Tech
Jim, Dani Beaubien posted a link to a StachExchange thread that included the following javascript… if (navigator.cookieEnabled) {document.write("Cookies Enabled"); } else {documentwrite("Oops Cookies Not Enabled"); } I tried navigator.cookieEnabled in my test Xojo web app an

__Orphan___xxxx methods

2018-06-09 Thread JOHN BAUGHMAN via 4D_Tech
After doing a repair on a data file I have a number of methods named ___Orphan___. I forgotten what these are. Is it safe to delete them? Thanks, John ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.

4D Write Pro using 4D Write-Like Toolbar

2018-06-09 Thread JOHN BAUGHMAN via 4D_Tech
I finally got this resolved with some help from tech support. FYI, if you are having trouble getting 4D Write Pro to work in an old database form, try replacing the form with a newly created one. In my case the form was an input form that was probably created in v6 (2003). The main issue was t

Any way to detect change to 4D Write Pro orientation.

2018-06-09 Thread JOHN BAUGHMAN via 4D_Tech
After reading some earlier posts on this subject I believe it is not possible to set the orientation of a 4D Write Pro area on a form. If it is possible, could someone please show me how. I do not see a standard action for this and anything else remotely related to orientation is strictly for pr

Re: Any way to detect change to 4D Write Pro orientation.

2018-06-10 Thread JOHN BAUGHMAN via 4D_Tech
ible to switch the type of menu depending on modifiers, for > example. > >> 2018/06/10 15:54、JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> のメール: >> >> After reading some earlier posts on this subject I believe it is not >> possible to set the orientation of a 4D W

WR Count equivalent in 4D Write Pro

2018-06-10 Thread JOHN BAUGHMAN via 4D_Tech
I need to determine programmatically how many pictures a user has placed in a page’s background. In 4D Write I used WR Count(myWRArea;13). Can't find a way in 4D Write Pro to count the number of pictures in the page, in background or otherwise. Thanks, John John Baughman 1331 Auwaiku Stree

Re: Any way to detect change to 4D Write Pro orientation.

2018-06-10 Thread JOHN BAUGHMAN via 4D_Tech
> On Jun 10, 2018, at 10:18 AM, JOHN BAUGHMAN wrote: > > 2. Have 2 icons in my tool bar, like in the print dialog, for Portrait and > Landscape and be able to use them as one can from the contextual menu. > There is a way to do set ordination programmatically… INVOKE ACTION("pageOri

Re: Any way to detect change to 4D Write Pro orientation.

2018-06-10 Thread JOHN BAUGHMAN via 4D_Tech
> On Jun 10, 2018, at 12:51 PM, JOHN BAUGHMAN via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > There is a way to do set ordination programmatically… Meant to say orientation not ordination… :-) John Baughman 1331 Auwaiku Street Kailua, Hawaii 96734 (808) 262-0328 joh

Re: WR Count equivalent in 4D Write Pro

2018-06-10 Thread JOHN BAUGHMAN via 4D_Tech
> On Jun 10, 2018, at 12:53 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > WP Get element <--- returns a collection I cannot find WP Get element. Thanks. John Baughman 1331 Auwaiku Street Kailua, Hawaii 96734 (808) 262-0328 john...@hawaii.rr.com

Re: WR Count equivalent in 4D Write Pro

2018-06-10 Thread JOHN BAUGHMAN via 4D_Tech
fault settings. > you can then pass the XHTML to WP New. > >> 2018/06/11 9:12、JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> のメール: >> I cannot find WP Get element. > > > > ** > 4D

Re: WR Count equivalent in 4D Write Pro

2018-06-11 Thread JOHN BAUGHMAN via 4D_Tech
> On Jun 10, 2018, at 8:37 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > I must say it would be difficult to manipulate an existing anchored image > without Get elements or Get element by id (v17). You assumed correctly in that these are anchored pictures. I have discove

Re: WR Count equivalent in 4D Write Pro

2018-06-11 Thread JOHN BAUGHMAN via 4D_Tech
Of course that works. Thanks. I was getting tired and cranky last night. > On Jun 10, 2018, at 10:36 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > I suppose you could use EDIT FORMULA, for a start... > >> 2018/06/11 16:06、JOHN BAUGHMAN via 4D_Te

4D Write to 4D Write Pro, Moving and using templates (Was: WR Count equivalent in 4D Write Pro)

2018-06-12 Thread JOHN BAUGHMAN via 4D_Tech
If anyone was following the original thread, the underlying problem was how to address Anchored Picture place holders when converting a 4D Write template to 4D Write Pro. Beyond that, how to populate the place holder pictures when the 4D Write Pro template is used. My last post left this proble

Re: 4D Write to 4D Write Pro, Moving and using templates (Was: WR Count equivalent in 4D Write Pro)

2018-06-12 Thread JOHN BAUGHMAN via 4D_Tech
Step 1 should have read "Using WR Count and WR GET PICTURE IN PAGE INFO" > On Jun 12, 2018, at 11:41 AM, JOHN BAUGHMAN wrote: > > 1. In 4D Write store the position and dimensions of each anchored picture > place holder into a c_object. > Using WR Count and WR SELECT PICTURE IN PA

Re: Musing on creating PDFs in 4D

2018-06-14 Thread JOHN BAUGHMAN via 4D_Tech
Kirk, are you talking about creating the pdf strictly in code? Otherwise, as Pat pointed out 4D Write Pro can be used, as can 4D forms… SET PRINT OPTION(Destination option;3;$FolderPath+"MyTest.pdf") OPEN PRINTING JOB Print form("MyTest4DForm";Form header) CLOSE PRINTING JOB PDFs from 4D forms u

Re: Musing on creating PDFs in 4D

2018-06-14 Thread JOHN BAUGHMAN via 4D_Tech
john...@hawaii.rr.com > On Jun 14, 2018, at 7:14 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > John, > Yes. No 4D form printing at all. > > On Thu, Jun 14, 2018 at 10:14 AM JOHN BAUGHMAN via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >

Re: Musing on creating PDFs in 4D

2018-06-14 Thread JOHN BAUGHMAN via 4D_Tech
not abandoned traditional print forms by any > means. It takes some effort to build a PDF form in code for anything beyond > very simple needs. It's not the right solution for everything. But for > certain types of documents I'm finding working with it a very deep breath > of

Re: Musing on creating PDFs in 4D

2018-06-14 Thread JOHN BAUGHMAN via 4D_Tech
memories of that > visit. How are things on your side of the island? > > On Thu, Jun 14, 2018 at 1:58 PM JOHN BAUGHMAN via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Thanks. Lots of good stuff. I should take a look at QPDF. Up to now my PDF >> requirements have

2 instances of 4D connected to different 4D Servers

2018-06-19 Thread JOHN BAUGHMAN via 4D_Tech
Perhaps this has been discussed before, but in windows 2008 I am able to get 2 instances of the 4D application to open simply by opening the 4D application a second time. As long as the 2 are connected to different 4D servers or 4D databases, everything works fine. In windows 7 and 10 I cannot

Re: 2 instances of 4D connected to different 4D Servers

2018-06-19 Thread JOHN BAUGHMAN via 4D_Tech
julio > >> On Jun 19, 2018, at 6:45 PM, JOHN BAUGHMAN via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> Perhaps this has been discussed before, but in windows 2008 I am able to get >> 2 instances of the 4D application to open simply by opening the 4D >> a

Re: 2 instances of 4D connected to different 4D Servers

2018-06-19 Thread JOHN BAUGHMAN via 4D_Tech
Keisuke, this endeavor was initiated for me by a client trying to connect to 2 different 4D servers on the same Windows 10 computer using v16R6 64bit. I just now told him to try shift clicking the icon in the taskbar, but have not heard back from him yet. Correct me if I am wrong, but you are c

Re: 2 instances of 4D connected to different 4D Servers

2018-06-19 Thread John Baughman via 4D_Tech
The blog post refers to developer edition. Is it also true of a standard version of 4D? Sent from my iPad John Baughman Kailua,Hawaii john...@hawaii.rr.com > On Jun 19, 2018, at 12:57 PM, Timothy Penner wrote: > > Hi John, > > It is mentioned here: > https://blog.4d.com/64-bit-product-line

Re: Any way to detect change to 4D Write Pro orientation.

2018-06-21 Thread JOHN BAUGHMAN via 4D_Tech
Hi Piotr, I highly recommend the 4D Write-Like toolbar… http://download.4d.com/4DBlog/Tips/4DWriteLikeToolbarDemo.zip It has nearly everything needed including zoom and view mode that you mentioned. If for nothing else it’s great to use as an example of how to

Re: 2 instances of 4D connected to different 4D Servers

2018-06-21 Thread JOHN BAUGHMAN via 4D_Tech
Just to close this thread out. I finally have a windows 10 vm installed and can confirm what everyone has been telling me with regard to running multiple instances of 4D. 1. Using shift click in the task bar and Menu as well as double clicking a shortcut on the desktop - Works only with 64bit

Re: WP Get selection

2018-06-22 Thread John Baughman via 4D_Tech
Are you using the write-like toolbar? I had this problem and solved it by recreating the form from scratch. Copy everything from the old form except the toolbar sub form and 4D Write Pro area then add the sub form and area as you would normally. I could not get Write Pro to work properly wit

4D Write, pictures in page, frozen document, to 4D Write Pro

2018-06-23 Thread JOHN BAUGHMAN via 4D_Tech
Still trying to get my head around converting 4D Write documents that contain images in page to 4D Write Pro. I have moved on from the templates which I think I have working and am now dealing with correspondence that has been printed and most have references frozen. These document have up to 1

Re: 4D Write, pictures in page, frozen document, to 4D Write Pro

2018-06-26 Thread JOHN BAUGHMAN via 4D_Tech
Tim, H. I think you are right. In fact after reading your suggestion I found a tip posted by Keisuke back in 2015 about converting 4D Write to PDF by using CONVERT PICTURE. He discusses it in terms of using the trick to store them “Outside the data file” which exactly where I am and

Printed 4D Write document is blank

2018-06-28 Thread JOHN BAUGHMAN via 4D_Tech
Why would a 4D Write document being displayed properly in a 4D Write Area print blank pages. I discovered the problem while batch printing to pdf and discovered that many of the PDFs were blank. If I print or print preview any of these documents manually from a 4D Write area, they print blank

Best way to share large files with web users

2018-06-28 Thread JOHN BAUGHMAN via 4D_Tech
I have a website with 4D backend that serves architectural drawings in PDF format. Each drawing is part of a larger set of drawings for a specific project. I need to provide a means for the user to download the entire set of drawings in a single PDF. I already have the project PDFs created and

Re: Best way to share large files with web users

2018-06-28 Thread JOHN BAUGHMAN via 4D_Tech
e: > > Just remember that there are file size limits. If you zip first does it get > smaller. You could also use an ftp site as part of your website and send > link to the file that they could download > > Hope this helps > Regards > Chuck > > On Thu, Jun 28,

Re: Best way to share large files with web users

2018-06-28 Thread JOHN BAUGHMAN via 4D_Tech
Hi Bruno, I just finished watching you excellent S3 presentation at 4DMethod.com. This looks like an excellent way for me to go… Thank You! Quick question… you mentioned that for large files one should consider sending the file in chunks. In your view what is a large file, beyon

Re: Best way to share large files with web users

2018-06-28 Thread JOHN BAUGHMAN via 4D_Tech
d AWS is very cost effective for light duty like this. I think > we are paying ~$10 a month for all the stuff we use. It is really > convenient to be able to work with AWS URLs for these things. > > On Thu, Jun 28, 2018 at 1:42 PM JOHN BAUGHMAN via 4D_Tech < > 4d_tech@lists

Re: Best way to share large files with web users

2018-06-28 Thread JOHN BAUGHMAN via 4D_Tech
> On Jun 28, 2018, at 5:55 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > The free tier will give you a chance to see what your actual charges would > be. Basically you are paying a small amount to store the data, basically > zero to upload it and are charged when you download i

Re: Best way to share large files with web users

2018-06-29 Thread JOHN BAUGHMAN via 4D_Tech
> On Jun 29, 2018, at 6:01 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > although you only ever get one year free. I was thinking that if I use my personal account or create a new account in my company name and use it for development, I could then for deployment create a

Re: Best way to share large files with web users

2018-06-29 Thread JOHN BAUGHMAN via 4D_Tech
tate so I prefer to > be able to let my client 'stuff' be separate from my personal 'stuff'. > That's the only real point here. > > Don't let my clumsy comments about a small issue prevent you from delving > into a great tool. > > On Fri, Jun 29, 201

4D Write Pro Undo

2018-07-06 Thread JOHN BAUGHMAN via 4D_Tech
Looks to me like Undo can be a bit tricky with 4D Write Pro. For example if I add an image to a WP area with WP Add Picture and then hit command-Z it dutifully removes the image. If however I change the image using WP SET ATTRIBUTES(imageRef;wk Image;myPicture), a Command-Z will cause the Image

Re: [ANN] Q2Pix 1.0b2 available

2018-07-07 Thread JOHN BAUGHMAN via 4D_Tech
Danis, How backward compatible will an existing deployed QPix installation be with Q2Pix? I am upgrading my QPix using client to R6 this weekend in anticipation of a follow on 64bit upgrade which will require upgrading to Q2Pix. How soon do you expect to be out of beta? Do you think th

<    1   2   3   4   >