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

2018-01-17 Thread Pat Bensky via 4D_Tech
> use 16.214179 or later... I'm using 16R5.219028 and I have the same problem ... On 17 January 2018 at 23:42, Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > ACI0096985,ACI0097118 > > Opened windows are not saved after 4D is closed (test application mode). > > use 16.214179 or

Library objects - how to know when an object has been dropped?

2018-01-26 Thread Pat Bensky via 4D_Tech
I've created a custom library to use with a user-editable form. Since library objects can't have methods attached to them, I need to be able to know when an object has been dragged from the object library onto the form so that a method can be executed. But none of the drag & drop events seem to

Re: Corrupted form?

2018-01-26 Thread Pat Bensky via 4D_Tech
Which version are you using? I am seeing this in v16r5. It only seems to happen when the *Editable by User* option has been selected of the form. On 26 January 2018 at 23:31, Jim Crate via 4D_Tech <4d_tech@lists.4d.com> wrote: > A form I’ve been working on no longer allows me to edit properties

Re: Corrupted form?

2018-01-26 Thread Pat Bensky via 4D_Tech
Jim, If you are finding that this problem occurs with user-editable forms, you need to click the padlock on the form (top right corner) in the Design environment in order to modify it. Pat On 27 January 2018 at 00:57, Pat Bensky wrote: > Which version are you using? > I am

Re: Styled text to clipboard - v16

2018-02-01 Thread Pat Bensky via 4D_Tech
Jeremy, Maybe *ST Get Text* does what you need? Pat On 1 February 2018 at 10:32, Jeremy Roussak via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I want to put styled text (nothing complex: just some in italic and some > in bold) onto the clipboard so that I can paste it into Word or Mail or > some

Forms created with CREATE USER FORM - form events don't work

2018-01-27 Thread Pat Bensky via 4D_Tech
It seems that in an editable form created with CREATE USER FORM and then displayed with EDIT FORM, NONE of the form Events work.Is there something I need to do to get them to work? The Form Method never seems to run. I tried adding an invisible button on the form and attached some events to it

Re: European Data Protection Reglementation to take effect on May 25 - 4D compliance?

2018-02-14 Thread Pat Bensky via 4D_Tech
Here is a good source of info on GDPR: https://unbounce.com/gdpr/ Pat On 13 February 2018 at 19:26, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com > wrote: > TLDR; the rules :) > > My goto on encryption would be: > File vault on Mac OS X (OS level disk encryption) or something similar on > a

Re: text2picture

2018-02-15 Thread Pat Bensky via 4D_Tech
Hi JPR, Could you please send me that demo db? Thanks! Pat On 14 February 2018 at 20:24, JPR via 4D_Tech <4d_tech@lists.4d.com> wrote: > [JPR] > > Hi Jörg, > > Long time ago (maybe 20 years ago...), I wrote a 4D routine (not a > plug-in) which was building a PICT in a BLOB, with QuickDraw pure

Re: Giving an object the focus

2018-02-17 Thread Pat Bensky via 4D_Tech
Good suggestion Sujit. I will do that. Pat On 17 February 2018 at 08:58, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> wrote: > I would disable the button if the 4D Write Pro is not in focus.. > > > > On Sat, Feb 17, 2018 at 2:43 AM, Pat Bensky via 4D_Tech < >

How to know the result of a spelling check

2018-02-17 Thread Pat Bensky via 4D_Tech
Using v16: How can we know if a spelling check didn't find any spelling mistakes? If you call SPELL CHECKING and it doesn't find any errors, it doesn't give any alerts or anything, and to the user it looks like it simply didn't do anything. Is there a way to know that no errors were found so that

Temporarily changing the system date format

2018-02-23 Thread Pat Bensky via 4D_Tech
Using v16 ... I am in the UK I'm working on a publishing project for a customer in the US. Part of the project requires certain data to be sorted by date. So I need them to be sorted in the US date format (mm/dd/) instead of the UK format (dd/mm/). Is there a way to temporarily override

Re: Temporarily changing the system date format

2018-02-23 Thread Pat Bensky via 4D_Tech
com> wrote: > What is the field type in which the dates are stored? Date or alpha? > > > > On Feb 23, 2018, at 6:51 PM, Pat Bensky via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > Using v16 ... > > > > I am in the UK I'm working on a publishing pro

Giving an object the focus

2018-02-16 Thread Pat Bensky via 4D_Tech
How do I make an object on a form the focus object programmatically? I have a *Check Spelling* button which runs the spelling checker on a Write Pro area. But if another field has the focus, it doesn't work. So I can check which object has the focus and if it isn't the Write Pro area, how do I

Re: Print to MS Word Document

2018-02-23 Thread Pat Bensky via 4D_Tech
Also look at PHPWord: https://phpword.readthedocs.io/en/latest/ On 23 February 2018 at 05:20, rooftop99--- via 4D_Tech <4d_tech@lists.4d.com > wrote: > Thank you Dan and Keisuke! Helpful!! > > > On Feb 22, 2018, at 9:25 AM, Dan Gallagher via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > >

Re: Blank Listbox

2018-02-23 Thread Pat Bensky via 4D_Tech
i don't think this problem makes headers blank. > > i would suggest you try leaving listbox in group4 and showing group4 but > NOT hiding group1. if needed scoot some objects around so they can be > viewed together. does this make any difference? > > > On Feb 23, 2018, at 7:32

Blank Listbox

2018-02-23 Thread Pat Bensky via 4D_Tech
Using v16 ... Mac ... I have a form on which there are lots of objects which have been named in groups - e.g. "group1Text1" "group1label1" etc. The groups of objects are hidden or shown depending on which tab has been selected. eg *OBJECT SET VISIBLE*(*;"Group1@";*True*) *OBJECT SET

Dot notation

2018-06-22 Thread Pat Bensky via 4D_Tech
I'm trying to use the 4DWrite-like toolbar with Write Pro. It uses dot notation to reference the WP object. For example: $fontStyle:=GetSelectionInfo // creates a range object In GetSelectionInfo: *$0*:=*New object*("Range";$wpRange;"Font";$font

Re: Double-click event on a hierarchical listbox not working

2018-08-03 Thread Pat Bensky via 4D_Tech
gt; >> I can’t explain the ‘On drop’ occurring, however…. >> >> >> Rudy Mortier >> Two Way Communications bvba >> >> >> >> > On 2 Aug 2018, at 00:04, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> > >> &g

Re: Double-click event on a hierarchical listbox not working

2018-08-03 Thread Pat Bensky via 4D_Tech
the form? > maybe something turn the option off at one level or the other > > On Fri, 3 Aug 2018 13:36:25 +0100, Pat Bensky via 4D_Tech wrote: > > I'm having this issue with most list boxes. It simply does not register a > > double-click. I can't believe they are all corrupted

Re: v17 PDF-Manuals

2018-07-28 Thread Pat Bensky via 4D_Tech
Perhaps a useful addition to the HTML docs would be a comprehensive index that can be quickly searched. Yes, you can search the entire docs, but it can take quite a while. If all the text was already indexed that would be much more useful. On Sat, 28 Jul 2018 at 12:49, UKVetDerm via 4D_Tech

Re: Downloaded 4D app: structure file in read only mode

2018-07-29 Thread Pat Bensky via 4D_Tech
You're not trying to run it from within the disk image are you? IE instead of copying the app from a disk image into the Applications folder you simply open the disk image and run the app from there. On Sun, 29 Jul 2018 at 12:59, Donald Koffman via 4D_Tech < 4d_tech@lists.4d.com> wrote: > No the

Re: Objects without Stylesheets suddenly displayed as Wingdings!

2018-07-27 Thread Pat Bensky via 4D_Tech
What happened to 4DCodeExchange? I see the domain is now up for sale ... On Thu, 26 Jul 2018 at 22:45, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> wrote: > Chuck: > > That sounds like great code module to have in a developer tool kit. If you > are willing to share, I would appreciate a copy. >

Special characters in ftp filenames

2018-07-27 Thread Pat Bensky via 4D_Tech
using v17r2: I get a list of files in a directory on a remote server with *FTP_GetDirList.* Then I loop through the list and download each file, if I don't already have the latest version of it. A problem occurs when a filename contains a character such as a quote mark, copyright symbol, etc.

Re: Example databases

2018-08-01 Thread Pat Bensky via 4D_Tech
Look on the blog ... https://blog.4d.com On Wed, 1 Aug 2018 at 08:17, Jeremy Roussak via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Are there any examples showing off the new features of v17? I’m thinking > in particular of ORDA. > > Jeremy > >

Re: Double-click event on a hierarchical listbox not working

2018-08-01 Thread Pat Bensky via 4D_Tech
> I can’t explain the ‘On drop’ occurring, however…. > > > Rudy Mortier > Two Way Communications bvba > > > > > On 2 Aug 2018, at 00:04, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > > > Using v17r2 > > All of a sudden I am finding that a

Double-click event on a hierarchical listbox not working

2018-08-01 Thread Pat Bensky via 4D_Tech
Using v17r2 All of a sudden I am finding that a double-click on an element in a hierarchical listbox doesn't work. Well occasionally it does but mostly, not. If I repeatedly double-click, eventually it will work. Bizarrely, if I put a trace on the object method it says that the form event was On

Re: Conversion to WritePro

2018-08-15 Thread Pat Bensky via 4D_Tech
You can set the line spacing in WritePro v17 using an automatic action: lineHeight *Syntax*: lineHeight?value={ | } Paragraph line height. Ex: *lineHeight?value=120%* For example: *INVOKE ACTION*("lineHeight?value=110%") Maybe a bit of experimentation with the settings will provide the

Multipart MIME emails

2018-08-15 Thread Pat Bensky via 4D_Tech
U:sing v15, Mac: I'm trying to send out multipart emails with a plain text and an HTML body. When the emails are received, the body is empty. The source (body section) looks like this: == -mymimeboundary Content-Type: text/plain; charset=3Dutf-8

Google Translate API

2018-08-14 Thread Pat Bensky via 4D_Tech
Anybody used the Google Translate API to dynamically do translations in their 4D db? -- * CatBase - Top Dog in Data Publishing tel: +44 (0) 207 118 7889 w: http://www.catbase.com skype: pat.bensky *

Re: Multipart MIME emails

2018-08-16 Thread Pat Bensky via 4D_Tech
lternative MIME > messages using 4D code. > > https://github.com/miyako/4d-component-email > > there is also a parser > > https://github.com/miyako/4d-plugin-gmime > > and a writer > > https://github.com/miyako/4d-plugin-etpan > > 2018/08/16 5:36、Pat Bensky via 4D_Tech &

Re: Why Does one throw an error and not the other?

2018-08-16 Thread Pat Bensky via 4D_Tech
Chip, What version? I have seen some very bizarre compiler errors with v17r2. PB On Thu, 16 Aug 2018 at 21:54, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> wrote: > : ($Size=6) > SORT > ARRAY(($Handle->{$One})->;($Handle->{$Two})->;($Handle->{$Three})->;\ >

Re: Export text columns containing carriage returns to Excel?

2018-08-07 Thread Pat Bensky via 4D_Tech
What Dougie said :) PB On Mon, 6 Aug 2018 at 17:08, Douglas Cryer via 4D_Tech <4d_tech@lists.4d.com> wrote: > Brad, > > My stock answer to questions like this is. Get yourself a copy of : > http://www.pluggers.nl/product/xl-plugin/ > > If you are doing anything serious with excel files this is

Re: Scheduled ISP Maintenance @ 4D Office (France)

2018-08-07 Thread Pat Bensky via 4D_Tech
I'm still unable to register a licence as of Tuesday 11 AM UK time ... On Mon, 6 Aug 2018 at 15:24, Tai Bui via 4D_Tech <4d_tech@lists.4d.com> wrote: > Hi, > > For some reason it appears that the internet has been down since the ISP > performed their maintenance. > The ISP has been informed and

Re: Query from C#?

2018-08-07 Thread Pat Bensky via 4D_Tech
OK ... but can you log in to the database from c#? On Tue, 7 Aug 2018 at 15:57, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> wrote: > You can control access with SQL views. > > > On Aug 7, 2018, at 10:54 AM, Kirk Brooks via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > I can see why a

Re: Query from C#?

2018-08-07 Thread Pat Bensky via 4D_Tech
Cool, thanks! On Tue, 7 Aug 2018 at 16:36, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> wrote: > Use the 4D ODBC driver. C# has classes for interacting with ODBC data > sources (like 4D Server). > > > On Aug 7, 2018, at 11:31 AM, Pat Bensky via 4D_Tech < >

Query from C#?

2018-08-07 Thread Pat Bensky via 4D_Tech
I've had an enquiry from a customer who wants to know if it is possible to query the database from a C# script and produce a report. Is it? (My knowledge of any version of C is way out of date ...) (Using v17) Pat -- * CatBase - Top Dog in Data

Re: Scheduled ISP Maintenance @ 4D Office (France)

2018-08-10 Thread Pat Bensky via 4D_Tech
writes: > >>I have been trying to get licensing since Friday.... Still no luck. > >> > >>dave > >> > >>On Tue, Aug 7, 2018 at 4:26 AM, Pat Bensky via 4D_Tech > >><4d_tech@lists.4d.com> wrote: > >>> I'm still unable to register a lice

Export/ImportSQL

2018-08-20 Thread Pat Bensky via 4D_Tech
I'm exporting data from a v12 database using EXPORT SQL and importing it into a v16 database. For the most part this works OK, but in some tables, records are missing. I can't see anything consistently different or wrong within the missing records. All text fields are stored within the records.

Re: How to tie 4D to barcode readers?

2018-08-24 Thread Pat Bensky via 4D_Tech
I recall doing this for a client a few years ago. As I recall, the barcode reader is just another input device, so as long as it has a USB connection you can just plug it in and read data into a field. Pat On Fri, 24 Aug 2018 at 14:52, mferguson--- via 4D_Tech <4d_tech@lists.4d.com> wrote: > Hi,

Re: Export/ImportSQL

2018-08-21 Thread Pat Bensky via 4D_Tech
t; I had to make sure I hadn't renamed any tables/fields. > > > > On Mon, Aug 20, 2018 at 11:22 PM Pat Bensky via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > I'm exporting data from a v12 database using EXPORT SQL and importing it > > into a v16 database. > >

Re: New record numbering system and CALL WORKER

2018-08-25 Thread Pat Bensky via 4D_Tech
on completes. But if you've got some other > situations that result in 'returned' numbers it's not big deal. > > This approach let's 4D handle the record locking and request que and as > long as you don't call it within a transaction just blissfully works. > > > > O

New record numbering system and CALL WORKER

2018-08-25 Thread Pat Bensky via 4D_Tech
Using v17 ... I'm looking at ways to update our ancient record numbering system, and I think I should be able to do it efficiently with CALL WORKER, but having a bit of trouble getting my head around it. The record numbers are like invoice numbers: each must be unique, and we don't want to have

Re: New record numbering system and CALL WORKER

2018-08-25 Thread Pat Bensky via 4D_Tech
com> wrote: > > > On Aug 25, 2018, at 9:10 AM, Pat Bensky via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > As I see it, we'll need to call a worker, which calls the worker that > > assigns the record number. > > The first worker has to wait unt

Re: New record numbering system and CALL WORKER

2018-08-28 Thread Pat Bensky via 4D_Tech
Good point, Bernd. I will implement that also. Pat On Tue, 28 Aug 2018 at 07:46, Bernd Fröhlich via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Pat Bensky: > > > The important thing is that all record cancellations go through a > > *CancelRecord* method. > > I created a [SpareRecordNumbers] table

Re: New record numbering system and CALL WORKER

2018-08-28 Thread Pat Bensky via 4D_Tech
Dave, That's fine as long as the id number isn't being used for something else ... in our case, the id numbers are used as the key field for relating data from other tables, so this needs to be assigned when the record is created ): Pat On Tue, 28 Aug 2018 at 15:32, Dave Nasralla via 4D_Tech <

Re: New record numbering system and CALL WORKER

2018-08-27 Thread Pat Bensky via 4D_Tech
Hi guys, Thanks for all your suggestions and helpful info. After considering all these options, I've come up with a simple solution that seems to work perfectly well, although it hasn't yet been tested comprehensively. The important thing is that all record cancellations go through a

Using local variables and set and named selection names in a recursive situation

2018-08-29 Thread Pat Bensky via 4D_Tech
Using v17: I have a method that recursively deletes records from related tables. Something like this (vastly simplified): // recursiveDelete $tablenumber:=$1 $TablePtr:=table(tablenumber) all records(TablePtr->) create named selection(TablePtr->;"$deletes") for($i;1;records in

Anybody know what's going on at Heubach Media?

2018-07-20 Thread Pat Bensky via 4D_Tech
I ordered an upgrade for HMBarcode 3 days ago and despite numerous phone calls and emails I haven't received my licence number. Nobody responds to any emails and the person who answers the phone is becoming increasingly impatient and downright rude! I'm getting desperate as I can't deploy my

Re: Anybody know what's going on at Heubach Media?

2018-07-20 Thread Pat Bensky via 4D_Tech
t; Cheers > > Alex > > > Am 20.07.2018 um 16:22 schrieb Pat Bensky via 4D_Tech < > 4d_tech@lists.4d.com>: > > > > I ordered an upgrade for HMBarcode 3 days ago and despite numerous phone > > calls and emails I haven't received my licence number. Nobody respon

Re: v13 (+?) - Find in design

2018-07-20 Thread Pat Bensky via 4D_Tech
I'd like to have an option to ignore anything that appears in a commented-out line. On Fri, 20 Jul 2018 at 16:59, Epperlein, Lutz (agendo) via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Supporting RegExp could be a way to construct more sophisticated queries. > > Regards > Lutz > > > does anyone

Re: WP SET ATTRIBUTES

2018-07-14 Thread Pat Bensky via 4D_Tech
Hi Tim, I'm sending 4 Attributes (two pairs) plus the target object, so that seems correct to me ... WP SET ATTRIBUTES ( targetObj ; attribName ; attribValue {; attribName2 ; attribValue2 ; ... ; attribNameN ; attribValueN} ) On Sat, 14 Jul 2018 at 19:51, Tim Nevels via 4D_Tech

Re: WP SET ATTRIBUTES

2018-07-15 Thread Pat Bensky via 4D_Tech
Hi Tim, Yup, you are correct :) I was looking for a way to create one variable that can be used many times to apply styling to a block of text rather than having to run through a whole series of options each time for every paragraph. So at the moment let's say here are 3,000 product names being

Re: Resizing a barcode image using Miyako's Zint plugin

2018-07-22 Thread Pat Bensky via 4D_Tech
Sorry it got sent before I was ready ... Trying again ... After creating a barcode using the Zint plugin (THANK YOU FOR THIS MIYAKO!!!) I need to set it to a certain size. I can resize it with TRANSFORM PICTURE, but I am not sure how to calculate the values for the transformation. For example ...

Resizing a barcode image using Miyako's Zint plugin

2018-07-22 Thread Pat Bensky via 4D_Tech
After creating a barcode using the Zint plugin (THANK YOU FOR THIS MIYAKO!!!) I need to set it to a certain size. I can resize it with TRANSFORM PICTURE, but I am not sure how to calculate the values for the transformation. For example ... *TRANSFORM PICTURE*($bar;Scale;4;4) resizes it by 400%.

Re: v17 ready for prime time?

2018-07-23 Thread Pat Bensky via 4D_Tech
I got this message from a customer on Friday after upgrading to v17 Windows: "I’d say the program isn’t as smooth as it was before – kind of refreshing the screen a lot/going blank for a second and re-appearing. When I drag and drop items the whole list goes blank and I just guess where to drag

Re: Who’s the Gestapo?

2018-07-14 Thread Pat Bensky via 4D_Tech
and ... What did they post that got them blocked? On Sat, 14 Jul 2018 at 05:34, Robert ListMail via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I tried to turn on a few young developers to 4D and suggested they join > the list. They were never able to post. I take it the list is highly > censored

WritePro - how to apply columns to a range?

2018-07-14 Thread Pat Bensky via 4D_Tech
​Using v17 ... A document can be set into columns by calling: *WP SET ATTRIBUTES*( ​wpDoc ;wk column count; ​2​ ) ​ ​But I want to apply columns to a range of text, not the whole document. This doesn't work: *WP SET ATTRIBUTES*(oCurrentRange;wk column count; ​2​ ) ​ ​I get the error:

Re: v17 ready for prime time?

2018-07-17 Thread Pat Bensky via 4D_Tech
I've been working quite extensively with it - haven't run into any issues so far, and I'm loving the improvements to Write Pro. PB On Mon, 16 Jul 2018 at 22:06, steve simpson via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I see that a lot of you are using v17, doing active development with it, >

Sending multipart emails to Yahoo

2018-09-01 Thread Pat Bensky via 4D_Tech
When we send multipart emails to Yahoo addresses, they either bounce or simply disappear into the universe. When they bounce, they have an error Remote host said: 554 Message not allowed - [299] Looking up that error message isn't very helpful; "You'll receive an SMTP error or failed delivery

Sending emails to Bel Canada / Outlook

2018-08-31 Thread Pat Bensky via 4D_Tech
Using v17 I've set up an emailing system for a client, which sends out multipart MIME emails containing graphics and all sorts of content. Mostly, these work well and are received as expected. But one of their customers just gets the raw MIME content displaying in the email. His email client is a

Re: Date entry

2018-07-05 Thread Pat Bensky via 4D_Tech
Jody, I'm using v16 and having the following problem with date formats: On a UK system, dates in fields and list boxes are incorrectly displayed in the US format. But when you click into a date field, it changes to the UK format! How do you manage this? Pat On Sun, 10 Jun 2018 at 15:46, Jody

Re: Date entry

2018-07-05 Thread Pat Bensky via 4D_Tech
D bug regarding dates. > > What version of v16 are you using? The latest nightly builds of v16 dot > releases should be fine. > > If you’re using 16r something, then it’s fixed in v17. > > Wayne > > On Thu, 5 Jul 2018 at 20:50, Pat Bensky via 4D_Tech <4d_tech@lists.4

Re: Date entry

2018-07-05 Thread Pat Bensky via 4D_Tech
ely. > 4D version 17 with it’s more intelligent Listbox will speed this up as it > only deals with the rows > that are visible on screen. > > If that makes sense great - if not let me know where I lost you and I will > try to explain better. > > Jody > > > >

OPEN PRINTING JOB - how to hide the message window?

2018-07-08 Thread Pat Bensky via 4D_Tech
​How do you stop the progress message from being displayed when printing using OPEN PRINTING JOB?​ -- * CatBase - Top Dog in Data Publishing tel: +44 (0) 207 118 7889 w: http://www.catbase.com skype: pat.bensky

Re: OPEN PRINTING JOB - how to hide the message window?

2018-07-08 Thread Pat Bensky via 4D_Tech
ow, or maybe Database > Settings), and then do your printing from a process that you called HIDE > PROCESS on. > > Maybe one or both of those techniques will get you there... > > -- > Jeffrey Kain > jeffrey.k...@gmail.com > > > On Jul 8, 2018, at 5:42 PM, Pat Bens

Re: What Happened to 4D v16 r6?

2018-07-06 Thread Pat Bensky via 4D_Tech
Where can we find the latest build of r6? I looked on the forum but couldn't find any info. Pat On Fri, 6 Jul 2018 at 00:52, Timothy Penner via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Yeah, it is safe to continue using v16R6; the removal from the website was > unintentional. > > -Tim > > > > >

Re: New way to get into Design Mode - v16?

2018-07-09 Thread Pat Bensky via 4D_Tech
i find that *shift-alt-right click->Go to design mode* doesn't work if there are no windows already open in Design. I have to force an interrupt and then click on the Edit button in the debugger. PB On Mon, 9 Jul 2018 at 16:54, Bob Miller via 4D_Tech <4d_tech@lists.4d.com> wrote: > I'm digging

WP SET ATTRIBUTES

2018-07-13 Thread Pat Bensky via 4D_Tech
Using v17 This works: *WP SET ATTRIBUTES*(oCurrentRange;wk font;"Arial";wk font size;14) ​so why doesn't this: $attributes:=wk font+";"+*Char*(34)+"Arial"+*Char*(34)+";"+wk font size +";14" *WP SET ATTRIBUTES*(oCurrentRange;$attributes) or this: $attributes:="wk

Re: Creating .docx files

2018-01-24 Thread Pat Bensky via 4D_Tech
That's excellent, thanks Patrick! A couple of questions ... $script_t:=$script_t+"$section->addText(htmlspecialchars('"+Export_ Echappement($Texte)+"'));\r" What's "Export_Echappement"? (echappement means "escape", right? Does this method add escape characters? *SET DATABASE PARAMETER*(PHP use

Miyako's Zip plugin for 4D v16 - ZIP_Without_enclosing_folder option

2018-01-17 Thread Pat Bensky via 4D_Tech
using 4D v16, Mac: I can successfully Zip a folder using the Zip plugin. However ... I'm building docx files, which consist of a zipped folder of xml files. I need to create the Zip archive by adding just the actual files without their enclosing folder. I believe the ZIP_Without_enclosing_folder

Creating .docx files

2018-01-18 Thread Pat Bensky via 4D_Tech
I think I am slowly losing my sanity. Trying to create DOCX files from 4D. My code creates the requisite XML files, then zips them up and produces a .docx document. My test document is very simple: it contains one word, "Brownies". If I unzip that .docx I can see all the files and they all appear

Re: Creating .docx files

2018-01-22 Thread Pat Bensky via 4D_Tech
Oh wow ... I'm going to give phpword a try. thanks for the suggestion. On 21 January 2018 at 20:47, Dani Beaubien via 4D_Tech <4d_tech@lists.4d.com > wrote: > +1 for phpword. I have been using for the last few months and it is fast > and works very well. > > Dani > > >

User Custom Forms

2018-01-23 Thread Pat Bensky via 4D_Tech
(Using v16) I'm experimenting with allowing users to create their own forms with editable forms. I have one or two questions ... *1. Displaying/deleting objects such as fields* I need to allow the user to choose which fields to display on the form. The only way I can see to manage that is to

Re: User Custom Forms

2018-01-23 Thread Pat Bensky via 4D_Tech
's > changes. > > Also, could OBJECT DUPLICATE be used during On Load to give a new object a > name like "[Table1]Field1"? > > Keith - CDI > > > On Jan 23, 2018, at 8:41 AM, Pat Bensky via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > (Using

Re: Creating .docx files

2018-01-23 Thread Pat Bensky via 4D_Tech
Patrick and/or Dani ... I wonder if you would be willing to share some basic code to create a Word document with phpword? I am having trouble getting it to work. If you could share just a snippet that creates a very simple document, that would be very much appreciated! Thanks Pat On 22 January

Re: Import from Excel

2018-03-07 Thread Pat Bensky via 4D_Tech
We use Pluggers Excel plugin - works really well for both importing and creating Excel documents: https://www.pluggers.nl/product/xl-plugin/ The problem with exporting form Excel to a text file is if any of the cells contain return or line feed characters, that will mess everything up as 4D will

Re: MailJet

2018-03-07 Thread Pat Bensky via 4D_Tech
One reason to use a mailing service instead of 4D is - as I recently discovered - if you send a large number of emails in a batch (let's say more than 500) your service provider is likely to block them, as it may appear that your account has been hijacked by a spammer. I'm not familiar with

Re: 4D Summit 2018 Comments - Import XML Structure

2018-04-10 Thread Pat Bensky via 4D_Tech
I suggest you mention JPR in this message so that JPR will see it and perhaps pass your comments along :) Pat On 10 April 2018 at 22:33, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> wrote: > On Apr 10, 2018, at 12:40 PM, Randy Engle wrote: > > > I tried this from several different angles

Re: Downloading files via FTP

2018-04-21 Thread Pat Bensky via 4D_Tech
In my project this now works just fine (so far ... limited testing ...) - I get the timestamps, which I need so that the files in the folder can be compared against files previously downloaded. In this particular project, the files are all images. I wonder if that makes a difference? Pat On 21

Re: Downloading files via FTP

2018-04-20 Thread Pat Bensky via 4D_Tech
some > details I’m willing to share, but let’s see first if it is the same issue. > > HTH > Koen > > > Op 20 apr. 2018, om 14:39 heeft Pat Bensky via 4D_Tech < > 4d_tech@lists.4d.com> het volgende geschreven: > > > > $error:=*FTP_GetDirList *(vFTP_ID;$ho

Downloading files via FTP

2018-04-20 Thread Pat Bensky via 4D_Tech
Using v16.3 32-bit and 64-bit I'm trying to download some files via FTP. I get a list of the files in the specified directory: $error:=*FTP_GetDirList *(vFTP_ID;$hostpath;$atDldFileNames;$aiDldFileSizes; $aiDldFileKinds;$adDldFileDates;$aiDldFileTimes) (all arrays have been previously declared).

Room available at the Grand Hyatt Washington

2018-03-28 Thread Pat Bensky via 4D_Tech
Unfortunately I am not going to be able to get to the Summit due to an unexpected illness ): Actually I'm not really all that ill but I have been told by the doc that I must not fly for at least two weeks (I have an ear infection). BOO HOO! So the room I booked at the Hyatt is available if

Re: Write Pro setting print options

2018-03-24 Thread Pat Bensky via 4D_Tech
s, the following call sequence works: >> >> INVOKE ACTION >> WP USE PAGE SETUP >> WP PRINT >> >> Also remember that the 4D Write Pro area must have the focus when INVOKE >> ACTION is called. >> >> Best regards, >> Jeremy >> >> >

Write Pro setting print options

2018-03-21 Thread Pat Bensky via 4D_Tech
I use SET PRINT OPTION(Paper option;"A4") to set the page size to A4. But this doesn't seem to work. If I view the document that was created, go to Document->Page size No page size is selected. I choose A4 and the page size changes accordingly. BTW if I go again to Document->Page size, it

Re: Write Pro setting print options

2018-03-22 Thread Pat Bensky via 4D_Tech
printing command, > to change the document size of the Write Pro doc itself, > I think you need to INVOKE ACTION > > http://doc.4d.com/4Dv16R5/4D/16-R5/Using-4D-Write-Pro- > standard-actions.200-3494557.en.html > > e.g. > > INVOKE ACTION("pageSize?index=1";ak c

Re: Write Pro setting print options

2018-03-22 Thread Pat Bensky via 4D_Tech
> > http://download.4d.com/Demos/4D_v16/ > > HDI_4DWP_Print.zip > > > 2018/03/22 13:25、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> のメール: > > Is there something additional I need to do? > > > > >

Re: Write Pro setting print options

2018-03-23 Thread Pat Bensky via 4D_Tech
INVOKE ACTION > WP USE PAGE SETUP > WP PRINT > > Also remember that the 4D Write Pro area must have the focus when INVOKE > ACTION is called. > > Best regards, > Jeremy > > > On Mar 22, 2018, at 8:25 AM, Pat Bensky via 4D_Tech < > 4d_tech@lists.4d.co

Re: Custom Tags in Multi-style text areas

2018-02-26 Thread Pat Bensky via 4D_Tech
Tim, I do this by adding MIME parts to the email and BinHexing it ... It's a bit of a faff but it works :) Except ... if an email is sent to a Gmail account it doesn't work - you still get the embedded image link. I haven't figured out a solution for that yet. Let me know if you want to see the

Re: Creating Tables by running a method

2018-06-24 Thread Pat Bensky via 4D_Tech
on't > believe there is any performance penalty unless the trigger method is > defined for the table. > > John DeSoi, Ph.D. > > > > > > On Jun 23, 2018, at 3:14 PM, Pat Bensky via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > >

Write Pro: Creating headers/footers

2018-10-05 Thread Pat Bensky via 4D_Tech
If I create a new WP document from scratch, is there any way to add a header or footer to the document? Or do I have to start with a template that has a header/footer and modify it? Pat -- * CatBase - Top Dog in Data Publishing tel: +44 (0) 207 118

EAN8 barcode with Zint plugin

2018-10-15 Thread Pat Bensky via 4D_Tech
Using Miyako's Zint plugin, I need to create a barcode in EAN8 format. There's a list of supported formats on the Github page: https://github.com/miyako/4d-plugin-zint But EAN8 isn't listed. On the ZInt website it says that EAN8 is supported. I need to know what the id number for EAN8 is. Can't

Re: how do I turn it into a component or a database

2018-10-16 Thread Pat Bensky via 4D_Tech
Axel, See: http://doc.4d.com/4Dv17R3/4D/17-R3/Compiled-structure-page.300-3961299.en.html On Tue, 16 Oct 2018 at 00:06, Axel Kohlepp via 4D_Tech <4d_tech@lists.4d.com> wrote: > Hello, > > I found the following things: > > https://github.com/ThomasMaul/UserMode_Component > >

Re: v13 - Why would a query fail to change current reocrd?

2018-10-16 Thread Pat Bensky via 4D_Tech
Chip, You haven't got a SET QUERY DESTINATION somewhere have you? Pat On Mon, 15 Oct 2018 at 23:24, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> wrote: > Background > - I use 2 tables to manage listboxes. > - I am on an entry form, which includes a selection listbox. > - I am trying to

Shared Object - NOT!

2018-10-20 Thread Pat Bensky via 4D_Tech
Well I guess I must be doing something wrong :) Using v17r3: In the Startup method I create a new Shared Object: *C_OBJECT*($objTriggerState) // 20/10/18 $objTriggerState:=*New shared object*() Subsequently I want to add something to that object. $State:="on" *Use* ($objTriggerState)

Re: Elementary question

2018-10-13 Thread Pat Bensky via 4D_Tech
Is it an in-house solution or deployed? PB On Sat, 13 Oct 2018 at 12:01, Jeremy Roussak via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I usually work on a Mac. I have to develop one application in 4D on a > Windows machine. It’s already up and working on the Mac. > > On my Mac, I can put aliases

Re: EAN8 barcode with Zint plugin

2018-10-15 Thread Pat Bensky via 4D_Tech
Seems to be the same. On Mon, 15 Oct 2018 at 15:56, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> wrote: > Does this list of IDs and codes look like it matches Miyako's plug-in? > > http://www.zint.org.uk/Manual.aspx?type=p=4 > >

Re: EAN8 barcode with Zint plugin

2018-10-15 Thread Pat Bensky via 4D_Tech
udes EAN8 but I am not sure. > > technically there should be no need to differentiate 8 from 13. > > https://en.wikipedia.org/wiki/International_Article_Number > > 2018/10/15 23:52、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com 4d_tech@lists.4d.

Resetting the table sequence number

2018-10-15 Thread Pat Bensky via 4D_Tech
I have a method that creates record numbers using the Sequence number. I'm running into a situation where I am getting duplicate record numbers for some reason. So I added some code to check and - supposedly - fix it by resetting the table sequence number, but it doesn't seem to work. This is

Re: 4d write pro

2018-10-30 Thread Pat Bensky via 4D_Tech
Chuck, Try this ... First create a Range object that contains the whole document. Then save it as a BLoB with VARIABLE TO BLOB I did a quick test and it seems to work: *C_BLOB*($blob) *C_OBJECT*($range;$range2) $range:=*WP Create range*(PtrWriteProArea->;wk start text;wk end text) *VARIABLE

Re: Shared Object - NOT!

2018-10-20 Thread Pat Bensky via 4D_Tech
gt; > On 20 Oct 2018, at 15:50, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > > > Well I guess I must be doing something wrong :) > > Using v17r3: > > > > In the Startup method I create a new Shared Object: > > > > *C_OB

<    1   2   3   4   >