Re: Odd Runtime Error in Design

2021-10-18 Thread Pat Bensky via 4D_Tech
Do you have something in the Expression area of the Runtime Explorer that
could be triggering this?

On Mon, 18 Oct 2021 at 12:59, Eric Asadoorian via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> OS X 10.12.6, 4D v17.5.  I am getting the following, sporadically:
>
>
> Error when executing the method "RUNTIME_EXPLORER_HDL (runtime)" at line
> number 239
>
> Array range check error.
>
> Error code: -20001 (4DRT)
> Array range check error.
> component: '4DRT'
> task -15, name: 'Design process'
>
>
> This error message only shows up under the following conditions:
>
> 1. Operating in 4D Developer, Interpreted
> 2. Runtime Explorer window must be open
> 3. Application open for at least an hour, most times more
>
> I am wondering if line number 239 is referring to my code.  I do not have
> many methods with that many lines in them and there is only one that has a
> reference to an array.  In this line of code it is a SORT ARRAY command.  I
> am not sure that this will generate a range check error.
>
> Is it possible that this error is an error within the 4D Runtime Explorer
> itself?  Or is this the manner that Range Check Errors are reported?
>
> Thank you,
> Eric
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Where is the trace/debug command?

2021-10-07 Thread Pat Bensky via 4D_Tech
I have a method called MyTrace. This contains just a TRACE command. If I
need to insert a "hard" trace I call MyTrace. Then the TRACE can be
commented out when not needed.

On Thu, 7 Oct 2021 at 09:58, Arnaud de Montard via 4D_Tech <
4d_tech@lists.4d.com> wrote:

>
> > Le 6 oct. 2021 à 22:43, Keith Goebel via 4D_Tech <4d_tech@lists.4d.com>
> a écrit :
> >
> > Randy, hi there.
> > [...] But that is a problem when you only want to stop and trace the
> first iteration of a loop. Then you have to restart 4D.
>
> Hi Keith,
> you may use assert:
>   for ($i;1;...)
> assert($i#1;"stop on first iteration only")
>   end for
>
> Another cool thing with assert is you can alt+clic on the "Continue"
> button in the dialog; it means "ignore all comming false asserts for this
> process". I tend to use ASSERT much more than TRACE or breakpoints, since a
> while.
>
> --
> Arnaud de Montard
>
>
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: File Excel created from 4D

2021-09-14 Thread Pat Bensky via 4D_Tech
We use
https://www.pluggers.nl/product/xl-plugin/

Pat

On Tue, 14 Sept 2021 at 15:32, Koen Van Hooreweghe via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi Ferdinando,
>
> It depends of what your needs are.
>
> The very basic is a tab delimited txt file or an csv file which you can
> open/import in Excel. No formatting.
>
> Second option is to create a text file containing a html formatted table
> usingtags. Formatting possible using css. Can be easily
> imported in Excel too.
>
> Third possibility is to use 4D View Pro, which has an export to Excel. 4D
> native, but license required.
> Or you can choose from one of the plugins which allow to create native
> Excel files.
>
> HTH,
> Koen
>
> > Op 14 sep. 2021, om 16:20 heeft stardata.info via 4D_Tech <
> 4d_tech@lists.4d.com> het volgende geschreven:
> >
> > I need to create an excel file from 4D application.
> >
> > Someone know how i can do?
>
>
>
> 
> Compass bv
> Koen Van Hooreweghe
> Kloosterstraat 65
> 9910 Aalter
> Belgium
> tel +32 495 511.653
>
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Writing 4D Data into an Excel Template

2020-08-13 Thread Pat Bensky via 4D_Tech
Ronnie,
The go-to Excel creation solution for 4D is Pluggers' XL Plugin:
https://www.pluggers.nl/product/xl-plugin/

On Thu, 13 Aug 2020 at 03:16, Tarawerkz via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hi,
>
> I would like to ask if anyone is aware of a plugin or utility that can
> quickly turnaround an export function where data from a 4Dv17.2 database
> (Windows Server)
> gets written directly into different worksheets inside ONE Excel document
> template?
>
> The 2nd challenge is to identify the row-ID for each record and store it
> on other worksheets in the Excel template every time the same record is
> referenced.
> Say for example, the first worksheet is titled “General” and contains
> customer records and the starting row for the first customer record is row
> 5.  Subsequent worksheets would bear a row-ID column such that reference to
> the same customer record would now be populated with “5” as the row-ID.
> How can we identify this row-ID whilst populating the spreadsheet with a 4D
> data export on the fly?
>
> Any pointers would be greatly appreciated.  Thanks.
>
> Regards,
> Ronnie
> Tarawerkz
>
>
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Running v15 Server as a Service in Windows Server 2016

2020-08-03 Thread Pat Bensky via 4D_Tech
Yes, you will need to access it rhough the client.

Pat

On Mon, 3 Aug 2020 at 13:08, Peter Jakobsson via 4D_Tech <
4d_tech@lists.4d.com> wrote:

>
> > On 3 Aug 2020, at 13:46, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > did you start the app as administrator?
>
> That was it ! It works now, thanks Miyako (also I forgot about the new
> forum - will check it out. Old habits etc…still referring to “Layout
> Procedures").
>
>
> > On 3 Aug 2020, at 13:44, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > Did you restart it?
>
> Yes Pat, but I was missing the “run as admin” bit. Now I just need to
> figure out how to access the server console as it doesn’t display. Do I
> need to access it through the client ?
>
> Regards + thanks for the tips.
>
> Peter
>
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Running v15 Server as a Service in Windows Server 2016

2020-08-03 Thread Pat Bensky via 4D_Tech
Did you restart it?

On Mon, 3 Aug 2020 at 12:32, Peter Jakobsson via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi
>
> Have been running a 4D Server as an application for a long time on this
> platform but need to change to a service so the admin people can set
> Windows updates to “automatic”.
>
> However when I “Register as a Service” (from the File menu in 4D Server)
> it doesn’t seem to appear in the services list in server manager.
>
> Are there any tricks I am missing ?
>
> Regards
>
> Peter
>
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: execute method

2020-07-16 Thread Pat Bensky via 4D_Tech
What version of 4D are you using?
The best way to handle this is to use PROCESS 4D TAGS. You can create a
sort of mini-method and then execute it on the fly. Here is a simple
example:

tMethod:=""

Then to execute it you just call

EXECUTE METHOD(tMethod)

A warning ...

Since the code runs uncompiled, if there are any errors the end user will
see stuff that you probably don't want them to see. You should install an
error handler before running the method, which will catch and quietly deal
with any errors.

HTH
Pat


On Thu, 16 Jul 2020 at 19:34, stardata.info via 4D_Tech <
4d_tech@lists.4d.com> wrote:

>
>
>
>
>
>
>
>
>
>
>
>
> Hi all,
>
> Some one have experience with execute method command?
>
> I've need to insert some rows of 4D commands in one text field of a
> table, and after to execture this rows of code as a method.
>
> Can i create programmatically method and after execute this method using
> EXECUTE METHOD?
>
> EXECUTE FORMULA have a limitated feature.
>
> Thanks for your help
>
> Ferdinando
>
>
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: More values into one field

2020-07-11 Thread Pat Bensky via 4D_Tech
Use an Object field?

https://doc.4d.com/4Dv16/4D/16.6/Structure-of-4D-language-objects.300-830.en.html

On Sat, 11 Jul 2020 at 09:17, stardata.info via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi All,
>
> I use 4D v16.
>
> I've needed to save more values of the same type (more results for one
> test)
>
> The number of values to save, must be variables based on test type, and
> all values must be saved into the same record.
>
> Until now I use one text field and separated from one character so:
> val1;val2;val3
>
> Does someone have a suggestion to improve this solution?
>
> Thanks
>
> Ferdinando
>
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: How to build a standalone app for Windows using Mac

2020-06-29 Thread Pat Bensky via 4D_Tech
I use Virtual Box to run Windows on my Mac. It's free and works really well.

On Mon, 29 Jun 2020 at 01:02, Spencer Hinsdale via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> you need to run Windows. one way is to buy Parallels online and have it
> install Windows 10
>
> > On Jun 28, 2020, at 3:57 PM, James Knight via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Looking for 4D programmer/consultant

2020-06-28 Thread Pat Bensky via 4D_Tech
Steven
This list isn't used quite so much these days ... most of us have moved
over to
https://discuss.4d.com/

HTH
Pat

On Sun, 28 Jun 2020 at 16:02, Steven Karlsrud via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hello,
> I hope this is not a bad thing to post this on this particular list but if
> there is a more appropriate one please tell me and I will take this to that
> list!
> For the past few years Tom Dillon of DataCraft helped me with my database,
> sometimes coding small sections for me and other times teaching me how to
> do new things myself, but he retired (I am envious) and I am having some
> problems with my database and need to find someone new to help me quickly
> now and on an ongoing basis.  If this is of interest please email me
> directly so we can chat via email and see if there is a fit.
> Thank you,
> Steven Karlsrud
> SMK Packaging, Inc.
> st...@smkpackaging.com
>
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Compiled Client server application updates.

2020-05-13 Thread Pat Bensky via 4D_Tech
This definitely works for versions within a main version number (ie,
anything in v18). I haven't tried it for major version number updates (eg
v17 to v18).

Pat

On Wed, 13 May 2020 at 14:39, Eric Naujock via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I have an interesting question that doe snot seem to be clear from the
> documentation.
>
> If I build a Client server application in 4D using v18.1 and then after
> deploying I make a client /server version using V18r2 will the clients
> built under the v18.1 upgrade from the 18.1 base code to the 18R2 code
> automatically? Or will I need to release a new client application for the
> users. I relish it is ideal to release the new 18r2 version for new
> deployments but can you do this with a major jump from 18.1 to 18R2. Or
> even to take it further go from 17r5 to 18R2 using the client server update
> mechanism.
>
> I know the documentation says that if I build the client server app using
> the right components and check for upgrade clients it will do this for a
> minor upgrade like 18.0 to 18.1 but some of the other bigger upgrades it is
> not clear.
>
> **
> 4D Internet Users Group (4D iNUG)
> New Forum: https://discuss.4D.com
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
New Forum: https://discuss.4D.com
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Multple windows within the same process

2020-04-29 Thread Pat Bensky via 4D_Tech
Maybe it was in a dream ... but I'm sure I recall reading something about a
new feature (v17) that allows more than one window to be open within a
process. But now I can't find that info. Did I imagine it?
Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Friday Happy Hour on ZOOM

2020-04-23 Thread Pat Bensky via 4D_Tech
I think that's 11PM for me, so that's fine :) I have a Zoom family bingo
party planned for earlier in the evening (no idea how that's going to work)
so I should be well into the vino by 11 :)
Pat

On Thu, 23 Apr 2020 at 20:53, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I know. It is hard to plan a party in so many time zones.
>
> On Thu, Apr 23, 2020 at 12:41 PM Wayne Stewart via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > 8AM for me.
> >
> > “I exercise strong self control. *I never drink anything stronger than
> > gin* before
> > breakfast.”
> >
> > W. C. Fields
> >
> >
> > On Fri, 24 Apr 2020 at 04:37, Kirk Brooks via 4D_Tech <
> > 4d_tech@lists.4d.com>
> > wrote:
> >
> > > Hey folks,
> > >
> > > I’m hosting a 4D Friday Happy Hour tomorrow on ZOOM:
> > > https://zoom.us/j/91959066132
> > >
> > > Starts at 3PM PDT (7 EDT) and will go until I fall asleep or everyone
> > > leaves.
> > >
> > > It’s not as good as hanging out together at the Summit but let’s share
> > what
> > > we’re drinking, say hello, laugh at some not-very-funny stories and
> enjoy
> > > each other’s company.
> > >
> > > If it works we can figure out how to do it again.
> > >
> > > --
> > > Kirk Brooks
> > > San Francisco, CA
> > > ==
> > > **
> > > 4D Internet Users Group (4D iNUG)
> > > Archive:  http://lists.4d.com/archives.html
> > > Options: https://lists.4d.com/mailman/options/4d_tech
> > > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > > **
> >
> > --
> >
> > Regards,
> >
> > Wayne
> > **
> > 4D Internet Users Group (4D iNUG)
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
>
>
> --
> Kirk Brooks
> San Francisco, CA
> ==
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Summit Videos

2020-04-23 Thread Pat Bensky via 4D_Tech
I'll be looking at them over the weekend. The website looks great.
Pat

On Thu, 23 Apr 2020 at 10:44, Peter Jakobsson via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi
>
> Has anybody seen any of the summit stuff yet ?
>
> I watched Miyako’s and Laurent Esnault’s presentations yesterday. I
> thought it was pretty incredible - looks like in the league of 2004 to v11
> league of technology leap.
>
> I love the way classes have been implemented - it’s exactly how I hoped
> they would be with their own “category” in the design explorer etc. They
> seem dead easy to make & manage. I also watched Miyako’s version control
> presentation. That just looks awsome, specially the way everything is so
> seamless e.g. mixing components in binary mode and VC mode or using 4D
> server with a version control system.
>
> Seems a quiet revolution. I haven’t even seen any of the other
> presentations yet - will be checking some more out today !
>
> Peter
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: New Notarization Issues

2020-04-21 Thread Pat Bensky via 4D_Tech
Peeps,
I ran into this problem also. I replaced the Internet Commands plugin with
the v18 version and that more or less fixed it.

I say "more or less" because after downloading the installer (a .dmg
created with DropDMG) and installing the app, the user gets the message

*“CatBase 8.app” can’t be opened because Apple cannot check it for
malicious software.*

This software needs to be updated. Contact the developer for more
information.


with the options "Show in Finder" and "OK".

This is an improvement on the previous version (pre-IC update), where the
options were "Move to trash" and "Cancel".

So the user has to right-click on the app and choose Open, and then they
get the dialog with the same alert message, but this time it has an *Open*
option. Select that and everything works OK.


So this is not a complete solution, as most users won't know what to do.


Any suggestions?


Thanks!


Pat




On Thu, 13 Feb 2020 at 03:33, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> code signature can easily get invalidated if the app or plugin was not
> packaged and distributed correctly.
> for example, if you simply sign, zip and upload a file to a public server,
> a downloaded copy would most probably be thrown to the bin.
>
> the developer should sign, archive (pkg, zip, dmg), notarise, and staple
> the app or plugin before distribution.
> also a plugin created for v17 R6 or earlier has manifest.json in a
> non-conventional location, which may get rejected by Catalina 10.15.3.
>
> On Feb 12, 2020, at 13:18, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com
> > wrote:
> Slightly related. Any idea why I have a plug-in that is signed but shows
> as damaged on Catalina but not in windows. I am not sure of other Mac OS
> versions.
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4d Write Pro document to pdf?

2020-04-14 Thread Pat Bensky via 4D_Tech
Hilsen,
This works for me (v17r6, Mac):

*SET PRINT OPTION*(Destination option;3;$pathname)

*WP PRINT*(WPdoc)

*SHOW ON DISK*($pathname)


Pat

On Tue, 14 Apr 2020 at 10:30, 4dialog via 4D_Tech <4d_tech@lists.4d.com>
wrote:

>
> - On mac i normaly produce pdf documents via SET PRINT
> OPTION(9;3;$FileName)
> and then some print commands. But SET PRINT OPTION does not work when used
> with WP Print. No error, OK=1 but no pdf is created? Tested with 4d 16.6
> and
> 17.4.
>
> If i use SET PRINT PREVIEW(True) before WP Print, i get the WP document as
> PDF in Preview.
>
> Is it possible to print a 4d Write Pro document to a pdf file?
>
>
>
>
> -
> Hilsen
> --
> Helge Antonsen
> www.4dialog.no
> --
> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: CREATE DOCUMENT erors

2020-04-10 Thread Pat Bensky via 4D_Tech
Hi Lutz,
Thanks for the suggestion ... it seems that GET LAST ERROR STACK only works
when called from within an error handler method. I hadn't realised that.
Previously I was calling it from the method that was trying to create the
file.
Pat

On Thu, 9 Apr 2020 at 11:44, Epperlein, Lutz (agendo) via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Do you use an error handler with ON ERR CALL?
>
> I've just tested it and I get an error -120 Tried to access a file by
> using a pathname that specifies a non-existing directory.
> Or -54 Attempt to open locked file for writing.
>
> Maybe your error from the error stack comes from an older one in this
> process?
>
> Regards
> Lutz
>
>
> -Ursprüngliche Nachricht-
> Betreff: CREATE DOCUMENT erors
>
> Using v17:
>
> How can I find out exactly what the error is when CREATE DOCUMENT fails?
> EG: disk full, pathname invalid, document already exists and can't be
> deleted, etc.
> I tried calling GET LAST ERROR STACK and the error it returned was 39 "The
> set does not exist" which is clearly inappropriate.
>
> Pat
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Backup Settings Not Saving

2020-04-09 Thread Pat Bensky via 4D_Tech
I'm sure I reported this as a bug some time ago, and I'm sure I was
notified that it was fixed :) But I can't find the bug report and it has
not been fixed in the version I'm using (v17r6).
Pat

Pat

On Thu, 9 Apr 2020 at 23:46, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hi Tom,
>
> Thanks for confirming. Yeah, it seems the other settings save correctly.
> Just this one.
>
> Interestingly, I found the following bug fix for v17.3:
>
> ACI0098925: "Backup settings do not save “Repeat after X
> seconds/minutes/hours” option: on Windows it is always 60 mn, on macOS it
> is always 0 mn (wich is worse because the 0 seconds will lead the backup
> log file to be flooded).” (https://bugs.4d.fr/fixedbugslist?Version=17.3)
>
> A little different, since I’m seeing 0 seconds after each save attempt on
> Windows as well. And if it was fixed for v17.3, I would have expected it to
> be working in v17.3 HF3, so that’s confusing. Maybe it wasn’t really fixed.
>
> Thanks for checking.
>
> --
> Cannon Smith
> Synergy Farm Solutions Inc.
> 
> 
>
> > On Apr 9, 2020, at 3:51 PM, Tom Benedict  wrote:
> >
> > I can confirm the same thing in 4D Server 17.3 Build 17.244600.
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CREATE DOCUMENT erors

2020-04-09 Thread Pat Bensky via 4D_Tech
Using v17:

How can I find out exactly what the error is when CREATE DOCUMENT fails?
EG: disk full, pathname invalid, document already exists and can't be
deleted, etc.
I tried calling GET LAST ERROR STACK and the error it returned was 39 "The
set does not exist" which is clearly inappropriate.

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: [OFF-ish] VirtualBox resize

2020-04-02 Thread Pat Bensky via 4D_Tech
Thanks Paul. You're right: it is a dynamic disk and it now shows that the
virtual size is almost 200Gb.

Pat

On Thu, 2 Apr 2020 at 09:31, Paul Dennis via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hello Pat,
>
> I haven't used Virtual box for a while but VBoxManage  is the way you do
> it.
> Is the disc fixed size or dynamic. If it's a dynamic disk the file won't
> get
> larger until you fill it up. If it's a fixed disk it should resize.
>
> Paul
>
>
>
> --
> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

[OFF-ish] VirtualBox resize

2020-04-01 Thread Pat Bensky via 4D_Tech
I use VirtualBox on my Mac with a Windows 10 virtual disk installed on an
external SSD drive. I need to increase the storage space for the VDI from
5 to 20.

Following instructions I found on the web, this is what I do:

In Terminal;
VBoxManage modifyhd --resize 20 "/Volumes/Samsung_T5/Windows 10 SSD.vdi"
Terminal says

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

But the size of the vdi hasn't changed.

Anybody know how to get this to work?

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Google Docs

2020-03-31 Thread Pat Bensky via 4D_Tech
Anybody tried interfacing with Google docs?

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Accessing Google Docs

2020-03-30 Thread Pat Bensky via 4D_Tech
How do we access a folder on Google Docs from within 4D? I need to be able
to download certain image files from there.

Using v17

Thanks!

Pat


-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Why did 4D kill the Solutions Guide?

2020-03-14 Thread Pat Bensky via 4D_Tech
#MeToo

Pat

On Fri, 13 Mar 2020 at 23:59, Robert ListMail via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I would love to see it restored, it was a benefit to the developers
> represented and to decision makers wanting to see what 4D developers were
> in their area. Could it be that this was a conflict with 4D’s own
> professional services? I asked Michael (covering 4D sales) today, “when was
> the Solution’s Guide removed?”, after a brief hold, they did not know when,
> only that it was not recent.
>
> So, what else is missing from the Silver-level partner program…?
>
> Thanks,
>
> Robert
>
> > On Mar 13, 2020, at 6:49 PM, John DeSoi via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > I'm also curious because I previously used the link below to go to the
> partner site and create tech support requests. This seemed like the only
> avenue to report bugs for a non-beta version. Now it just redirects to
> https://us.4d.com .
> >
> > http://partnercentral.4d.com/ 
> >
> > John DeSoi, Ph.D.
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Can't use Zint plugin since upgrading my Mac

2020-03-03 Thread Pat Bensky via 4D_Tech
I am happy to change my code for the object syntax. It's the modern way
... 
Pat

On Tue, 3 Mar 2020 at 01:43, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> v2 syntax is different, parameters are now all passed in a single object.
>
> https://miyako.github.io/2019/11/27/4d-plugin-zint.html
>
> so the question is,
>
> would you prefer a signed & notarised & stapled version of the old plugin,
>
> or will you change you code to adopt the new syntax.
>
> On Mar 3, 2020, at 10:20, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com
> <mailto:4d_tech@lists.4d.com>> wrote:
> That version works! Kinda ... :)
> When I compile it, I get an error on this line of code:
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Can't use Zint plugin since upgrading my Mac

2020-03-03 Thread Pat Bensky via 4D_Tech
Hi Miyako,
Both of those versions work OK. No error messages, compiles OK, seems to
work correctly both compiled and uncompiled.

BR
Pat

On Tue, 3 Mar 2020 at 02:53, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> after some tests, here is what I found:
>
> if I notarise the plugin and staple the dmg,
> only the dmg passes stapler validation.
> as for the bundle inside the dmg, nothing is reported (neither error nor
> success).
>
> if staple the bundle after notarisation,
> create a new dmg from it,
> notarise and staple that dmg (which contains a bundle that itself is
> already stapled),
> the dmg as well as the bundle inside it both passes stapler validation.
>
> I think it would be beneficial to all plugin developers,
> to know whether the second round is really necessary or not.
>
> so here is a test case:
>
> @Pat.
>
> could you please try
>
> https://github.com/miyako/4d-plugin-zint/releases/tag/2.3.1
>
> which is single-stapled,
>
> then compare the results with
>
> https://github.com/miyako/4d-plugin-zint/releases/tag/2.3.2
>
> which is double-stapled?
>
> this is a version of ZINT that takes the old syntax.
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Can't use Zint plugin since upgrading my Mac

2020-03-02 Thread Pat Bensky via 4D_Tech
Hi Miyako,
That version works! Kinda ... :)
When I compile it, I get an error on this line of code:

$bar:=*ZINT* ($inputText;ZINT_Format_SVG;$iType;$optionNames;$optionValues)


The error is:

Changing the type of the variable ZINT_FORMAT_SVG from type Long Integer to
type Object

Too many parameters have been passed to this method

Retyping the result of the function ZINT from type Object to type Picture


Thanks!


Pat




On Tue, 3 Mar 2020 at 00:34, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> @Pat
>
> for comparison,
>
> could you please download and test
>
> https://github.com/miyako/4d-plugin-zint-v2/releases/tag/3.2.v17.s
>
> ?
>
> I took 3.2.v17 and stapled the dmg.
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Can't use Zint plugin since upgrading my Mac

2020-03-02 Thread Pat Bensky via 4D_Tech
Hi Jim,
Yes, I did that and it worked for all the other plugins. But not for ZINT
...
Pat

On Mon, 2 Mar 2020 at 16:15, James Crate via 4D_Tech <4d_tech@lists.4d.com>
wrote:

>
> > On Feb 28, 2020, at 8:35 AM, Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > I just got a new MacBook Pro running Catalina (10.15.3). When I start up
> my
> > 4D app I get a message that "*“ZINT.bundle” is damaged and can’t be
> opened.
> > You should move it to the Bin"*
> > I click Cancel and the app launches.
> > I go into the Plugins folder, right-click on the Zint app, and choose
> Open.
> > This is supposed to add it to the allowable exceptions, but it doesn't.
> It
> > just launches 4D.
>
> Here’s what worked for me, but with different plugins:
>
> Open System Preferences, Security & Privacy settings, General tab:
> Launch 4D, open the database, click cancel for the complaints about the
> plugin(s).
> Go to System Preferences, in the lower half under the “Allow apps
> downloaded from” bit, there should be a warning about a plugin. Click Allow
> (or whatever the button is to allow the plugin to operate).
> Quit 4D.
> Repeat for each plugin that requires this.
>
> Jim Crate
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Can't use Zint plugin since upgrading my Mac

2020-03-02 Thread Pat Bensky via 4D_Tech
Hi Miyako,
OK just to be sure, I re-downloaded and re-installed ZINT 3.2v17.
4D still doesn't recognise the plugin.
Just to recap ...
Mac OS 10.15.3
4D v17r6
ZINT 3.2v17

Thanks!
Pat

On Mon, 2 Mar 2020 at 13:15, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hello,
>
> "3.2" could be either v17 or v18
>
> https://github.com/miyako/4d-plugin-zint-v2/releases
>
> my theory is that 3.2.v17 will work out of the box when downloaded on
> Catalina 10.15.1 or earlier,
> but will not work when downloaded on Catalina 10.15.3 (see previous post)
>
> I have sporadic reports that v17 style plugins are rejected when
> downloaded on a 10.15.3,
> which feels strange since code sign, notarisation as well as stapling all
> succeeds.
>
> so I need more data, which is why I keep insisting on having the exact
> version numbers.
>
> On Mar 1, 2020, at 22:15, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com
> <mailto:4d_tech@lists.4d.com>> wrote:
> I'm using 4D v17r6, Mac OS 10.5.3.
> ZINT plugin version 3.2
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Can't use Zint plugin since upgrading my Mac

2020-03-01 Thread Pat Bensky via 4D_Tech
I'm using 4D v17r6, Mac OS 10.5.3.
ZINT plugin version 3.2

Thanks
PB

On Sun, 1 Mar 2020 at 04:02, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> are you trying to use v18 plugin on v17?
>
> as I posted before, it's really important to specify the version and
> platform.
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Can't use Zint plugin since upgrading my Mac

2020-02-29 Thread Pat Bensky via 4D_Tech
Actually ... it doesn't seem to work.
I don't get an error message when the application starts up, but when I try
to compile it I get an error on:

$bar:=ZINT ($inputText;ZINT_Format_SVG;$iType;$optionNames;$optionValues)

"Cannot find the plugin command ZINT"


And it isn't listed under "Commands for the plugin ..."


Any ideas Miyako?


Thanks!


Pat

On Fri, 28 Feb 2020 at 14:52, Pat Bensky  wrote:

> Aha. Got it.
> Thanks!
>
> On Fri, 28 Feb 2020 at 14:40, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> the URL from which you downloaded is significant.
>>
>> for instance. clicking the green "download" button is a "No No".
>>
>> https://github.com/miyako/4d-plugin-zint-v2
>>
>> you should go to Releases.
>>
>> https://github.com/miyako/4d-plugin-zint-v2/releases
>>
>> the latest Catalina tends to rejects v17 style plugins (manifest.json in
>> Contents),
>> v18 style plugins (manifest.json inside Resources) should be OK.
>>
>> On Feb 28, 2020, at 22:31, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com
>> <mailto:4d_tech@lists.4d.com>> wrote:
>>
>> I did download the latest version from Github.
>> I still cannot use it.
>> What "more specific" information do you need?
>> Thanks!
>> Pat
>>
>> **
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>
>
>
> --
> *
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *
>


-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Can't use Zint plugin since upgrading my Mac

2020-02-28 Thread Pat Bensky via 4D_Tech
Aha. Got it.
Thanks!

On Fri, 28 Feb 2020 at 14:40, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> the URL from which you downloaded is significant.
>
> for instance. clicking the green "download" button is a "No No".
>
> https://github.com/miyako/4d-plugin-zint-v2
>
> you should go to Releases.
>
> https://github.com/miyako/4d-plugin-zint-v2/releases
>
> the latest Catalina tends to rejects v17 style plugins (manifest.json in
> Contents),
> v18 style plugins (manifest.json inside Resources) should be OK.
>
> On Feb 28, 2020, at 22:31, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com
> <mailto:4d_tech@lists.4d.com>> wrote:
>
> I did download the latest version from Github.
> I still cannot use it.
> What "more specific" information do you need?
> Thanks!
> Pat
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Can't use Zint plugin since upgrading my Mac

2020-02-28 Thread Pat Bensky via 4D_Tech
I did download the latest version from Github.
I still cannot use it.
What "more specific" information do you need?
Thanks!
Pat

On Fri, 28 Feb 2020 at 13:56, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> it's probably not an unsolvable problem, but you really need to be more
> specific.
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Can't use Zint plugin since upgrading my Mac

2020-02-28 Thread Pat Bensky via 4D_Tech
I just got a new MacBook Pro running Catalina (10.15.3). When I start up my
4D app I get a message that "*“ZINT.bundle” is damaged and can’t be opened.
You should move it to the Bin"*
I click Cancel and the app launches.
I go into the Plugins folder, right-click on the Zint app, and choose Open.
This is supposed to add it to the allowable exceptions, but it doesn't. It
just launches 4D.

I've downloaded and installed a fresh copy of the plugin from Github to
make sure it isn't actually damaged.

Any ideas how to fix this?

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: An API for my 4D app

2020-02-27 Thread Pat Bensky via 4D_Tech
Thanks Milan - I will look into that.

Pat

On Thu, 27 Feb 2020 at 13:26, Milan Adamov via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> RESTfull API. V18 offers something natively now, I took brief look only,
> but it looks promising.
>
> Milan
>
> Sent from my iPhone
>
> > On 27 Feb 2020, at 12:49, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > I've been asked a few times by prospective customers if we have an API
> for
> > our 4D app. My answer is that it can be accessed via ODBC. But that isn't
> > really what they want.
> >
> > I'd like to ask you guys what solutions you have implemented in this
> regard?
> >
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

An API for my 4D app

2020-02-27 Thread Pat Bensky via 4D_Tech
I've been asked a few times by prospective customers if we have an API for
our 4D app. My answer is that it can be accessed via ODBC. But that isn't
really what they want.

I'd like to ask you guys what solutions you have implemented in this regard?

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: NEED HELP

2020-02-23 Thread Pat Bensky via 4D_Tech
Are you running low on disk space?

On Sun, 23 Feb 2020 at 23:34, Tom Dillon via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I am not sure if this is the right forum but I need help on a problem
> that's just cropped up.
>
> I have been successfully  building stand alone apps using V13.3 for years
> now and suddenly each time I try to "Build the app" it starts coping over
> file but just before it finishes 4d crashes. I have tried everything to get
> it to work.
>
> Anybody have any ideas as to what causing this?
>
> Thanks,
>
> Tom Dillon
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Bar code

2020-02-22 Thread Pat Bensky via 4D_Tech
https://github.com/miyako/4d-plugin-zint

On Sat, 22 Feb 2020 at 12:08, Pat Bensky  wrote:

> We use Miyako's Zint plugin.
> Works well - currently using v17; haven't tried it with v18 yet.
> Pat
>
> On Fri, 21 Feb 2020 at 16:47, Chuck Miller via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>>
>> Hi all.
>>
>> I had thought there was a tech note or something on how to draw bar codes
>> in 4D using bag area. Can someone point me the the right direction
>>
>> Thanks and regards
>> Chuck
>> Sent from my iPhone
>> **
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>
>
>
> --
> *
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *
>


-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Bar code

2020-02-22 Thread Pat Bensky via 4D_Tech
We use Miyako's Zint plugin.
Works well - currently using v17; haven't tried it with v18 yet.
Pat

On Fri, 21 Feb 2020 at 16:47, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com>
wrote:

>
> Hi all.
>
> I had thought there was a tech note or something on how to draw bar codes
> in 4D using bag area. Can someone point me the the right direction
>
> Thanks and regards
> Chuck
> Sent from my iPhone
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Old plugin for MySql and 4D Server 2004

2020-02-10 Thread Pat Bensky via 4D_Tech
Jerker
I have a demo version of MyConnect for v2004.
https://www.dropbox.com/s/511kimpphds30yd/MyConnect%20For%204D%202004.zip?dl=0

HTH

Pat

On Mon, 10 Feb 2020 at 17:54, Jerker Stenberg via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi all
>
> I'm going to re-write a 4D system currently running 4D Server 2004 on a MS
> Server 2003.
> It will be updated to 4D Server v17 on a modern MS Server.
> Before I can start the re-write I need to be able to communicate with a
> MySql database on a Linux server (my clients web-server).
> Our network technicians have set up an odbc driver that access the MySql
> database.
> Now I need a 4D plugin to be able to use this odbc connection.
> I found Pluggers MyConnect 2.5.1 plugin, compatible with 4D v11,
> unfortunally that version is to new for me.
> Is there anyone who has and are willing to share a plugin that works with
> 4D 2004?
> Or anyone that can suggest another/better solution.
> I have little/no experience of talking to a MySQL database and no
> experience with the Linux server.
> However, I have a lot of experience talking 4D - MS Sql Server.
>
> Regards,
>
> Jerker Stenberg
>
>
>
> HLL Hyreslandslaget AB Sweden
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Tools v2003, Mac

2020-01-29 Thread Pat Bensky via 4D_Tech
Thank you very much everybody! I now have it.

Pat

On Wed, 29 Jan 2020 at 16:12, Koen Van Hooreweghe via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi Pat,
>
> I also sent you a copy in pm. Did your get it?
>
> Kind regards,
> Koen
>
> > Op 29 jan. 2020, om 17:04 heeft Uist Macdonald via 4D_Tech <
> 4d_tech@lists.4d.com> het volgende geschreven:
> >
> > Tried sending you a copy but it bounced. Send me another email.
> >
> > Regards
> >
> > Uist Macdonald
> >
> >> On 29 Jan 2020, at 15:18, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com
> <mailto:4d_tech@lists.4d.com>> wrote:
> >>
> >> Anybody got a copy?
> >>
> >> Pat
> >>
>
>
>
> 
> Compass bvba
> Koen Van Hooreweghe
> Kloosterstraat 65
> 9910 Aalter
> Belgium
> tel +32 495 511.653
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D Tools v2003, Mac

2020-01-29 Thread Pat Bensky via 4D_Tech
Anybody got a copy?

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: auto upgrade component

2020-01-07 Thread Pat Bensky via 4D_Tech
Where did you find that component?

On Tue, 7 Jan 2020 at 18:14, Charles Miller via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi All,
> I am looking for some assessment of this component form 4D.
>
> Ease of implementation
> Any changes needed
> What version of 4D are you using
> How seamless is it really.
>
> Thanks and regards
>
> Chuck
>
> --
>
> -
>  Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
>  Informed Solutions, Inc.
>  Brookline, MA 02446 USA Registered 4D Developer
>Providers of 4D, Sybase & SQL Server connectivity
>   https://www.informed-solutions.com
>
> -
> This message and any attached documents contain information which may
> be confidential, subject to privilege or exempt from disclosure under
> applicable law.  These materials are intended only for the use of the
> intended recipient. If you are not the intended recipient of this
> transmission, you are hereby notified that any distribution,
> disclosure, printing, copying, storage, modification or the taking of
> any action in reliance upon this transmission is strictly prohibited.
> Delivery of this message to any person other than the intended
> recipient shall not compromise or waive such confidentiality,
> privilege or exemption from disclosure as to this communication.
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

ListBox flickering on Windows

2019-12-18 Thread Pat Bensky via 4D_Tech
Using v17r6
I have a window which contains a large selection-based ListBox.
When the record selection changes - eg after doing a search using the quick
search widget, the listbox flickers annoyingly.
If the listbox is empty, this flickering happens when the mouse pointer is
moved over another object on the window - eg a button.
This happens only on Windows, both interpreted and compiled.

Any ideas?
Thanks!

Pat


-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Button is disabled when compiled - Mac only

2019-12-18 Thread Pat Bensky via 4D_Tech
Using v17r6

I have a small button on a data entry form. Click it and a popup menu lets
you chose from a couple of options.
When the app is compiled, this button is always disabled - on a Mac. On
Windows it is enabled.
There is no code that disables it.
There is no Standard Action selected for it.
The only Event selected is On Clicked

What could cause a button to disable itself? Only when running compiled on
a Mac.

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Check boxes : Boolean or longing ?

2019-11-29 Thread Pat Bensky via 4D_Tech
There is also now a three-state checkbox which can have a value of 0, 1,
or2 (False, True, or Unspecified).

On Fri, 29 Nov 2019 at 19:37, Bernard Escaich via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi all,
>
> If I insert a check box  ‘MyCheckbox’ in a form with a expression
> ‘Form.MyCheckbox’, this expression has a numerical value.
> If I declare on load Form.MyCheckbox:=True, it is a boolean.
>
> I find counter-intuitive to have a boolean represented by a numeric value
> and prefer to write If (MyCheckbox) instead of If (MyChebox = 1).
>
> What is your experience ?
> Is there a risk to declare it as boolean ?
>
> Thanks for your advices.
>
> Bernard Escaich
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: OBECT SET TABBABLE?

2019-11-14 Thread Pat Bensky via 4D_Tech
... although then of course you wouldn't be able to enter anything into it
... ):

On Thu, 14 Nov 2019 at 18:07, Pat Bensky  wrote:

> How about it you just make it non-enterable if it's not populated?
>
> On Thu, 14 Nov 2019 at 17:25, kculotta via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
>> Is there a way to change the tabbable property of an object in an entry
>> form using the language?
>> It seems like "OBECT SET..." addresses almost every other property.
>> I'd like to make a field tabbable if it is empty, and skip it when
>> tabbing if it has a value (the easy way).
>>
>> Thanks,
>>
>> Keith - CDI
>> **
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>
>
>
> --
> *
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *
>


-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: OBECT SET TABBABLE?

2019-11-14 Thread Pat Bensky via 4D_Tech
How about it you just make it non-enterable if it's not populated?

On Thu, 14 Nov 2019 at 17:25, kculotta via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Is there a way to change the tabbable property of an object in an entry
> form using the language?
> It seems like "OBECT SET..." addresses almost every other property.
> I'd like to make a field tabbable if it is empty, and skip it when tabbing
> if it has a value (the easy way).
>
> Thanks,
>
> Keith - CDI
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4d write pro and rich text

2019-11-11 Thread Pat Bensky via 4D_Tech
Yes ... Something to submit a Wish list request to 4D about :)

Pat

On Mon, 11 Nov 2019 at 10:19, Bernd Fröhlich via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Pat Bensky:
>
> > So are you saying that you want users to be able to paste formatted text
> > from Word and have the formatting carry through to the 4D report?
>
> Me too.
> My users also complain that they can no longer paste formatted text into a
> WritePro area (like it was possible with the old 4D Write).
>
> I know that this would not be easy on 4Ds part to implement, because they
> would have to filter out all the (invisible) characters that could mess up
> the WP area, but I can also understand my users. "It worked before, so why
> doesn´t it work anymore?".
> Does not look good if you install an "update" and some basic functionality
> is gone.
>
> Greetings from Germany,
> Bernd Fröhlich
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4d write pro and rich text

2019-11-11 Thread Pat Bensky via 4D_Tech
4DWrite Pro areas allow rich text entry. See:

https://doc.4d.com/4Dv17/4D/17/Using-a-4D-Write-Pro-area.200-3726280.en.html

There's also a more user-friendly toolbar component available ... see
https://blog.4d.com/4d-write-pro-a-new-bar-is-born/

Helpful?

Pat

On Mon, 11 Nov 2019 at 12:08, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Either that or allow for rich text entry
>
> Chuck
>
> Sent from my iPhone
>
> > On Nov 11, 2019, at 12:10 PM, Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > So are you saying that you want users to be able to paste formatted text
> > from Word and have the formatting carry through to the 4D report?
> > Pat
> >
> >> On Sun, 10 Nov 2019 at 23:00, Charles Miller via 4D_Tech <
> >> 4d_tech@lists.4d.com> wrote:
> >>
> >> We create a report now with 4D write and ha e various text areas we
> would
> >> love to allow for formatting in them now users paste in from word
> >>
> >> Regards
> >>
> >> Chuck
> >>
> >> On Thu, Nov 7, 2019 at 6:21 PM Pat Bensky via 4D_Tech <
> >> 4d_tech@lists.4d.com>
> >> wrote:
> >>
> >>> Chuck,
> >>> Can you explain in a bit more detail what you are trying to do? Create
> a
> >>> rich text area on the fly? Add rich text to plain text as part of a
> >> report?
> >>> Pat
> >>>
> >>> On Thu, 7 Nov 2019 at 19:06, Charles Miller via 4D_Tech <
> >>> 4d_tech@lists.4d.com> wrote:
> >>>
> >>>> I see from documentation the following
> >>>>
> >>>> different rich text areas within 4D (text variables/fields and list
> >>> boxes),
> >>>> a 4D Write Pro (or 4D Write) area and a 4D rich text area,
> >>>> an external styled text and a 4D rich text area.
> >>>>
> >>>> What I don't see is ability to do this when creating a report on the
> >>>> fly. I assume it is possible but do not see how. Can anyone shed light
> >>>> on this
> >>>>
> >>>> Regards
> >>>>
> >>>> Chuck
> >>>> --
> >>>>
> >>>>
> >>>
> >>
> -
> >>>> Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
> >>>> Informed Solutions, Inc.
> >>>> Brookline, MA 02446 USA Registered 4D Developer
> >>>>   Providers of 4D, Sybase & SQL Server connectivity
> >>>>  https://www.informed-solutions.com
> >>>>
> >>>>
> >>>
> >>
> -
> >>>> This message and any attached documents contain information which may
> >>>> be confidential, subject to privilege or exempt from disclosure under
> >>>> applicable law.  These materials are intended only for the use of the
> >>>> intended recipient. If you are not the intended recipient of this
> >>>> transmission, you are hereby notified that any distribution,
> >>>> disclosure, printing, copying, storage, modification or the taking of
> >>>> any action in reliance upon this transmission is strictly prohibited.
> >>>> Delivery of this message to any person other than the intended
> >>>> recipient shall not compromise or waive such confidentiality,
> >>>> privilege or exemption from disclosure as to this communication.
> >>>> **
> >>>> 4D Internet Users Group (4D iNUG)
> >>>> Archive:  http://lists.4d.com/archives.html
> >>>> Options: https://lists.4d.com/mailman/options/4d_tech
> >>>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >>>> **
> >>>
> >>>
> >>>
> >>> --
> >>> *
> >>> CatBase - Top Dog in Data Publishing
> >>> tel: +44 (0) 207 118 7889
> >>> w: http://www.catbase.com
> >>> skype: pat.bensky
> >>> *
> >>> **
> >>> 4D Internet Users Group (4D iNUG)
> >>

Re: 4d write pro and rich text

2019-11-11 Thread Pat Bensky via 4D_Tech
So are you saying that you want users to be able to paste formatted text
from Word and have the formatting carry through to the 4D report?
Pat

On Sun, 10 Nov 2019 at 23:00, Charles Miller via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> We create a report now with 4D write and ha e various text areas we would
> love to allow for formatting in them now users paste in from word
>
> Regards
>
> Chuck
>
> On Thu, Nov 7, 2019 at 6:21 PM Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com>
> wrote:
>
> > Chuck,
> > Can you explain in a bit more detail what you are trying to do? Create a
> > rich text area on the fly? Add rich text to plain text as part of a
> report?
> > Pat
> >
> > On Thu, 7 Nov 2019 at 19:06, Charles Miller via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> > > I see from documentation the following
> > >
> > > different rich text areas within 4D (text variables/fields and list
> > boxes),
> > > a 4D Write Pro (or 4D Write) area and a 4D rich text area,
> > > an external styled text and a 4D rich text area.
> > >
> > > What I don't see is ability to do this when creating a report on the
> > > fly. I assume it is possible but do not see how. Can anyone shed light
> > > on this
> > >
> > > Regards
> > >
> > > Chuck
> > > --
> > >
> > >
> >
> -
> > >  Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
> > >  Informed Solutions, Inc.
> > >  Brookline, MA 02446 USA Registered 4D Developer
> > >Providers of 4D, Sybase & SQL Server connectivity
> > >   https://www.informed-solutions.com
> > >
> > >
> >
> -
> > > This message and any attached documents contain information which may
> > > be confidential, subject to privilege or exempt from disclosure under
> > > applicable law.  These materials are intended only for the use of the
> > > intended recipient. If you are not the intended recipient of this
> > > transmission, you are hereby notified that any distribution,
> > > disclosure, printing, copying, storage, modification or the taking of
> > > any action in reliance upon this transmission is strictly prohibited.
> > > Delivery of this message to any person other than the intended
> > > recipient shall not compromise or waive such confidentiality,
> > > privilege or exemption from disclosure as to this communication.
> > > **
> > > 4D Internet Users Group (4D iNUG)
> > > Archive:  http://lists.4d.com/archives.html
> > > Options: https://lists.4d.com/mailman/options/4d_tech
> > > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > > **
> >
> >
> >
> > --
> > *
> > CatBase - Top Dog in Data Publishing
> > tel: +44 (0) 207 118 7889
> > w: http://www.catbase.com
> > skype: pat.bensky
> > *
> > **
> > 4D Internet Users Group (4D iNUG)
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> --
>
> -
>  Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
>  Informed Solutions, Inc.
>  Brookline, MA 02446 USA Registered 4D Developer
>Providers of 4D, Sybase & SQL Server connectivity
>   https://www.informed-solutions.com
>
> -
> This message and any attached documents contain information which may be
> confidential, subject to privilege or exempt from disclosure under
> applicable law.  These materials are intended only for the use of the
> intended recipient. If you are not the intended recipient of this
> transmission, you are hereby notified that any distribution, disclosure,
> printing, copying, storage, modification or the taking of any action in
> reliance upon this transmission is strictly prohibited.  Delivery of this
> 

Re: 4d write pro and rich text

2019-11-07 Thread Pat Bensky via 4D_Tech
Chuck,
Can you explain in a bit more detail what you are trying to do? Create a
rich text area on the fly? Add rich text to plain text as part of a report?
Pat

On Thu, 7 Nov 2019 at 19:06, Charles Miller via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I see from documentation the following
>
> different rich text areas within 4D (text variables/fields and list boxes),
> a 4D Write Pro (or 4D Write) area and a 4D rich text area,
> an external styled text and a 4D rich text area.
>
> What I don't see is ability to do this when creating a report on the
> fly. I assume it is possible but do not see how. Can anyone shed light
> on this
>
> Regards
>
> Chuck
> --
>
> -
>  Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
>  Informed Solutions, Inc.
>  Brookline, MA 02446 USA Registered 4D Developer
>Providers of 4D, Sybase & SQL Server connectivity
>   https://www.informed-solutions.com
>
> -
> This message and any attached documents contain information which may
> be confidential, subject to privilege or exempt from disclosure under
> applicable law.  These materials are intended only for the use of the
> intended recipient. If you are not the intended recipient of this
> transmission, you are hereby notified that any distribution,
> disclosure, printing, copying, storage, modification or the taking of
> any action in reliance upon this transmission is strictly prohibited.
> Delivery of this message to any person other than the intended
> recipient shall not compromise or waive such confidentiality,
> privilege or exemption from disclosure as to this communication.
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Making a package of a built Mac volume desktop

2019-10-16 Thread Pat Bensky via 4D_Tech
Jeremy,
Absolutely! If you make ANY changes to the package after the code signing
has been done, that will invalidate the signing - the whole point of code
signing is to make sure the app hasn't been interfered with after it was
built by the registered developer.
Pat

On Wed, 16 Oct 2019 at 08:28, Jeremy Roussak via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> On 15 Oct 2019, at 22:25, Paul Ringsmuth via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > One other thing. I notice that there is a _CodeSignature file in the
> app. I think the app gets signed in the build interface. Does adding a data
> folder to the app affect the code signing?
>
> I think so, yes. My understanding (which is superficial, I confess) is
> that codesigning must be the last thing done to a package before
> distribution. It does make sense.
>
> Jeremy
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4Dv17 as a Windows Service

2019-10-16 Thread Pat Bensky via 4D_Tech
Ronnie,
Please see the message "SOLVED: Can't run as a service on Windows 2016 (or
later)" - the info might be helpful to you. I realise you're on 2012, not
2016, but I suspect the same issue may apply.
HTH

Pat

On Wed, 16 Oct 2019 at 09:03, Tarawerkz via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hi Ullst,
>
> Thanks for your mail.
>
> The service is run-in under the administrator   account with full
> privileges.
> You are right that the default Windows service path only lays out the path
> to the 4D Server app and the structure files, NOT the data files that is
> sitting on a separate repository.
>
> Is there any way to modify the path in a Windows Service as such?
>
> Regards,
> Ronnie
> Tarawerkz
>
>
>
>
> > On 16 Oct 2019, at 3:07 PM, Uist Macdonald 
> wrote:
> >
> >
> > The user that the service is running under must have network access
> privileges. It is unlikely the default will have these privileges, so
> cannot see your data files.
> >
> > Uist
> >
> >
> > --
> >
> > Ceres Computer Consultants Ltd
> >
> > Registered Office:
> > South Scotstarvit
> > Chance Inn
> > Cupar
> > Fife KY15 5QJ
> >
> > +44 (0) 1334 828002
> >
> > Registered in Scotland : SC107838
> >
> > An ISO 9001 registered company.
> >
> >> On 16 Oct 2019, at 06:24, Tarawerkz via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >>
> >> Hi All,
> >>
> >> I have a 4Dv17 application that the client’s IT decided has to run on
> Windows Service (under Windows Server 2012r2).
> >> That is fine till a new requirement surfaced.
> >>
> >> They wanted the 4D data files to be stored on separate repository, away
> from the 4D Server application and the 4D structure files, ie. the .4DD,
> .4DR and the log file will be stored on a drive (with a different IP
> address) away from the .4DB and .RSR files and the 4D Server application.
> >>
> >> This works fine when the 4Dv17 Server is run directly as an application.
> >> However the service fails because apparently the service is unable to
> locate the data files on the separate server when the service starts.
> >> The service will start and quit.  Windows Event Log indicated an error
> to the effect that the database cannot be opened.
> >>
> >> Is there any solution for this?
> >>
> >> Regards,
> >> Ronnie
> >>
> >> **
> >> 4D Internet Users Group (4D iNUG)
> >> Archive:  http://lists.4d.com/archives.html
> >> Options: https://lists.4d.com/mailman/options/4d_tech
> >> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >> **
> >
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Capturing barcodes without a 'text' field

2019-10-15 Thread Pat Bensky via 4D_Tech
On Tue, 15 Oct 2019 at 23:22, Peter Jakobsson via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi
>
> Was wondering what technique people used for capturing scans into 4D. At
> the moment I’m using a simple text field and the scanner simply ‘pastes’
> the code into the text field, but something a bit more sophisticated is
> called for ideally where a scan can be “detected” by the 4D form even
> though no text field may be present. (e.g. as one of a number of possible
> form actions or as an alternative to a manual lookup of the product).
>
> Is anybody implementing such an approach ? What capture methods do you use
> ? (The scanner is connected to the USB port, not the RS232 serial port).
>
> Best Regards
>
> Peter
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **


A barcode scanner is simply another input device, like a keyboard, so
you’ll need to have a field or enterable variable selected in order to scan
something. If you start typing on your keyboard when no enterable object is
selected, it won’t capture your input.
HTH
Pat

> --
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: CASE statement = True but it behaves as though it's False

2019-10-04 Thread Pat Bensky via 4D_Tech
And if anybody's interested, the code now works like this:

$t:=""

*Case of*   // 04/10/19

*:* ($hbf="h")

*If* (ptra2tCellStylesHeader->{$row}{$ElementOrder}#$t)

ptra2tCellStylesHeader->{$row}{$ElementOrder}:=$t

*End if*

*:* ($hbf="b")

*If* (ptra2tCellStylesBody->{$row}{$ElementOrder}#$t)

ptra2tCellStylesBody->{$row}{$ElementOrder}:=$t

*End if*

*:* ($hbf="f")

*If* (ptra2tCellStylesFooter->{$row}{$ElementOrder}#$t)

ptra2tCellStylesFooter->{$row}{$ElementOrder}:=$t

*End if*

*End case*




On Fri, 4 Oct 2019 at 23:22, Pat Bensky  wrote:

> Fixed it!
> This is what was happening ...
> The array ptra2tCellStylesHeader-> has two rows x 7 columns.
> So after the second iteration, the first Case option
> *:* (($hbf="h") & (ptra2tCellStylesHeader->{$row}{$ElementOrder}#$t))
>
> is erroneous because $row>2. So rather than give an error, it just skips
> through the whole Case statement. I've installed an error handler now :)
>
> Pat
>
>
>
> On Fri, 4 Oct 2019 at 23:06, Pat Bensky  wrote:
>
>> Good suggestion Tim. I tried that but I am still getting bizarre results.
>> This is what I'm doing:
>>
>> 225 $t:=""
>>
>> 226 $t2:=ptra2tCellStylesBody->{$row}{$ElementOrder}
>>
>> 227 *Case of*   // 04/10/19
>>
>> 228 *:* (($hbf="h") & (ptra2tCellStylesHeader->{$row}{$ElementOrder}#$t))
>>
>> 229 ptra2tCellStylesHeader->{$row}{$ElementOrder}:=$t
>>
>> 230 //: (($hbf="b") & (ptra2tCellStylesBody->{$row}{$ElementOrder}#$t))
>>
>> 231 *:* (($hbf="b") & ($t2#$t))
>>
>> 232 ptra2tCellStylesBody->{$row}{$ElementOrder}:=$t
>>
>> 233 *:* (($hbf="f") & (ptra2tCellStylesFooter->{$row}{$ElementOrder}#$t))
>>
>> 234 ptra2tCellStylesFooter->{$row}{$ElementOrder}:=$t
>>
>> 235 *End case*
>>
>>
>> The Expression window shows that:
>>
>> $t=""
>>
>> $t2=""
>>
>> ptra2tCellStylesBody->{$row}{$ElementOrder}=""
>>
>> ($hbf="b")=True
>>
>> ($t2#$t)=True
>>
>> (($hbf="b") & ($t2#$t))=True
>>
>>
>> So it should pop into line 232. But it doesn't. It pops out of the Case
>> statement to line 236.
>>
>> Screen shot here:
>>
>> https://www.dropbox.com/s/roryl0rykuohd8k/4D004.png?dl=0
>>
>>
>> Very confusing!
>>
>> And annoying :)
>>
>>
>> Pat
>>
>>
>>
>>
>> On Fri, 4 Oct 2019 at 20:22, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com>
>> wrote:
>>
>>> On Oct 4, 2019, at 2:00 PM, Pat Bensky wrote:
>>>
>>> > So the first 2 times through, when $hbf="b" and
>>> ptra2tCellStylesBody->{$row}{$ElementOrder}#$t, it populates the cell:
>>> > ptra2tCellStylesBody->{$row}{$ElementOrder}:=$t
>>> >
>>> > Subsequently, it just pops through the Case statement and doesn't
>>> populate
>>> > the cell, even though those 2 test are both True.
>>> >
>>> > In all cases the two tests evaluate to True.
>>> > What can't I see?
>>>
>>> Maybe the 4D interpreter is getting confused with the rather complex 2D
>>> array pointer thing "ptra2tCellStylesBody->{$row}{$ElementOrder}#$t”
>>> expression. You might try setting a simple boolean variable before the case
>>> statement and see if that makes it work.
>>>
>>> $theThing_b:=(ptra2tCellStylesBody->{$row}{$ElementOrder}#$t)
>>>
>>> Tim
>>>
>>> *
>>> Tim Nevels
>>> Innovative Solutions
>>> 785-749-3444
>>> timnev...@mac.com
>>> *
>>>
>>> **
>>> 4D Internet Users Group (4D iNUG)
>>> Archive:  http://lists.4d.com/archives.html
>>> Options: https://lists.4d.com/mailman/options/4d_tech
>>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>>> **
>>
>>
>>
>> --
>> *
>> CatBase - Top Dog in Data Publishing
>> tel: +44 (0) 207 118 7889
>> w: http://www.catbase.com
>> skype: pat.bensky
>> *
>>
>
>
> --
> *
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *
>


-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: CASE statement = True but it behaves as though it's False

2019-10-04 Thread Pat Bensky via 4D_Tech
Fixed it!
This is what was happening ...
The array ptra2tCellStylesHeader-> has two rows x 7 columns.
So after the second iteration, the first Case option
*:* (($hbf="h") & (ptra2tCellStylesHeader->{$row}{$ElementOrder}#$t))

is erroneous because $row>2. So rather than give an error, it just skips
through the whole Case statement. I've installed an error handler now :)

Pat



On Fri, 4 Oct 2019 at 23:06, Pat Bensky  wrote:

> Good suggestion Tim. I tried that but I am still getting bizarre results.
> This is what I'm doing:
>
> 225 $t:=""
>
> 226 $t2:=ptra2tCellStylesBody->{$row}{$ElementOrder}
>
> 227 *Case of*   // 04/10/19
>
> 228 *:* (($hbf="h") & (ptra2tCellStylesHeader->{$row}{$ElementOrder}#$t))
>
> 229 ptra2tCellStylesHeader->{$row}{$ElementOrder}:=$t
>
> 230 //: (($hbf="b") & (ptra2tCellStylesBody->{$row}{$ElementOrder}#$t))
>
> 231 *:* (($hbf="b") & ($t2#$t))
>
> 232 ptra2tCellStylesBody->{$row}{$ElementOrder}:=$t
>
> 233 *:* (($hbf="f") & (ptra2tCellStylesFooter->{$row}{$ElementOrder}#$t))
>
> 234 ptra2tCellStylesFooter->{$row}{$ElementOrder}:=$t
>
> 235 *End case*
>
>
> The Expression window shows that:
>
> $t=""
>
> $t2=""
>
> ptra2tCellStylesBody->{$row}{$ElementOrder}=""
>
> ($hbf="b")=True
>
> ($t2#$t)=True
>
> (($hbf="b") & ($t2#$t))=True
>
>
> So it should pop into line 232. But it doesn't. It pops out of the Case
> statement to line 236.
>
> Screen shot here:
>
> https://www.dropbox.com/s/roryl0rykuohd8k/4D004.png?dl=0
>
>
> Very confusing!
>
> And annoying :)
>
>
> Pat
>
>
>
>
> On Fri, 4 Oct 2019 at 20:22, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
>> On Oct 4, 2019, at 2:00 PM, Pat Bensky wrote:
>>
>> > So the first 2 times through, when $hbf="b" and
>> ptra2tCellStylesBody->{$row}{$ElementOrder}#$t, it populates the cell:
>> > ptra2tCellStylesBody->{$row}{$ElementOrder}:=$t
>> >
>> > Subsequently, it just pops through the Case statement and doesn't
>> populate
>> > the cell, even though those 2 test are both True.
>> >
>> > In all cases the two tests evaluate to True.
>> > What can't I see?
>>
>> Maybe the 4D interpreter is getting confused with the rather complex 2D
>> array pointer thing "ptra2tCellStylesBody->{$row}{$ElementOrder}#$t”
>> expression. You might try setting a simple boolean variable before the case
>> statement and see if that makes it work.
>>
>> $theThing_b:=(ptra2tCellStylesBody->{$row}{$ElementOrder}#$t)
>>
>> Tim
>>
>> *
>> Tim Nevels
>> Innovative Solutions
>> 785-749-3444
>> timnev...@mac.com
>> *
>>
>> **
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>
>
>
> --
> *
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *
>


-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: CASE statement = True but it behaves as though it's False

2019-10-04 Thread Pat Bensky via 4D_Tech
Good suggestion Tim. I tried that but I am still getting bizarre results.
This is what I'm doing:

225 $t:=""

226 $t2:=ptra2tCellStylesBody->{$row}{$ElementOrder}

227 *Case of*   // 04/10/19

228 *:* (($hbf="h") & (ptra2tCellStylesHeader->{$row}{$ElementOrder}#$t))

229 ptra2tCellStylesHeader->{$row}{$ElementOrder}:=$t

230 //: (($hbf="b") & (ptra2tCellStylesBody->{$row}{$ElementOrder}#$t))

231 *:* (($hbf="b") & ($t2#$t))

232 ptra2tCellStylesBody->{$row}{$ElementOrder}:=$t

233 *:* (($hbf="f") & (ptra2tCellStylesFooter->{$row}{$ElementOrder}#$t))

234 ptra2tCellStylesFooter->{$row}{$ElementOrder}:=$t

235 *End case*


The Expression window shows that:

$t=""

$t2=""

ptra2tCellStylesBody->{$row}{$ElementOrder}=""

($hbf="b")=True

($t2#$t)=True

(($hbf="b") & ($t2#$t))=True


So it should pop into line 232. But it doesn't. It pops out of the Case
statement to line 236.

Screen shot here:

https://www.dropbox.com/s/roryl0rykuohd8k/4D004.png?dl=0


Very confusing!

And annoying :)


Pat




On Fri, 4 Oct 2019 at 20:22, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> On Oct 4, 2019, at 2:00 PM, Pat Bensky wrote:
>
> > So the first 2 times through, when $hbf="b" and
> ptra2tCellStylesBody->{$row}{$ElementOrder}#$t, it populates the cell:
> > ptra2tCellStylesBody->{$row}{$ElementOrder}:=$t
> >
> > Subsequently, it just pops through the Case statement and doesn't
> populate
> > the cell, even though those 2 test are both True.
> >
> > In all cases the two tests evaluate to True.
> > What can't I see?
>
> Maybe the 4D interpreter is getting confused with the rather complex 2D
> array pointer thing "ptra2tCellStylesBody->{$row}{$ElementOrder}#$t”
> expression. You might try setting a simple boolean variable before the case
> statement and see if that makes it work.
>
> $theThing_b:=(ptra2tCellStylesBody->{$row}{$ElementOrder}#$t)
>
> Tim
>
> *
> Tim Nevels
> Innovative Solutions
> 785-749-3444
> timnev...@mac.com
> *
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

v17 immediately quits on launch

2019-09-27 Thread Pat Bensky via 4D_Tech
Got a client who has just upgraded to v17.
He has installed it on a number of computers and they work OK. But on his
own, it simply quits as soon as he tries to launch it. He's on Mac OS
10.2.6 and the version is 17.3.

Any suggestions on what to look for? He's tried the obvious things (delete
prefs, restart the computer, etc.)

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Help Tips for list boxes?

2019-09-04 Thread Pat Bensky via 4D_Tech
Thanks folks!
OBJECT SET HELP TIP works well but I'll check out AJUL_Tip Lab as well to
see what it offers.
Pat

On Wed, 4 Sep 2019 at 12:18, Maurice Inzirillo - AJAR via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi Pat,
>
> We provide exactly such example with AJUI_Tip Lab.
>
> https://www.evernote.com/l/AAPYpGcG1exNDY7HOq_qwIAgubsNVYzbrSA
>
> AJUI_Tip is free.
>
> To know more about it and download Doc, Component and Lab :
>
> https://ch-fr.4d.com/aj-suite
>
> Don’t hesitate to ask if any questions.
>
> Best regards,
>
> Maurice Inzirillo
> --
> AJAR S.A.
>
> https://ch-fr.4d.com
> twitter: ajar_info
> Tél : +41 (0)323422684
>
>
>
>
> > On 3 Sep 2019, at 16:21, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > There's no Help Tip option for list boxes ... Anybody know of a way to
> roll
> > your own? The On Mouse enter event works, so it could be managed in
> there.
> >
> > Pat
> >
> > --
> > *
> > CatBase - Top Dog in Data Publishing
> > tel: +44 (0) 207 118 7889
> > w: http://www.catbase.com
> > skype: pat.bensky
> > *
> > **
> > 4D Internet Users Group (4D iNUG)
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Help Tips for list boxes?

2019-09-03 Thread Pat Bensky via 4D_Tech
Hi Adam,
yeah ... I was thinking of doing that.
Do you have one window for the help tip which you hide and show was
required, or create a new one each time?

Pat

On Tue, 3 Sep 2019 at 17:50, Adam Bevan via 4D_Tech <4d_tech@lists.4d.com>
wrote:

>  AJUI_Tip looks nice but it requires a picture object on every page on
> every form you want it to work.
> I instead use a window in a new process and call it on mouse enter and
> leave.
> Similar result. as well, my custom help tips don't disappear after 5
> seconds.
>
> Adam Bevan
> Developer & CEO, Argus Productions Inc.
> <https://www.facebook.com/ArgusProductions/>
>
>
> On Tue, 3 Sep 2019 at 08:22, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> > There's no Help Tip option for list boxes ... Anybody know of a way to
> roll
> > your own? The On Mouse enter event works, so it could be managed in
> there.
> >
> > Pat
> >
> > --
> > *
> > CatBase - Top Dog in Data Publishing
> > tel: +44 (0) 207 118 7889
> > w: http://www.catbase.com
> > skype: pat.bensky
> > *
> > **
> > 4D Internet Users Group (4D iNUG)
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Help Tips for list boxes?

2019-09-03 Thread Pat Bensky via 4D_Tech
There's no Help Tip option for list boxes ... Anybody know of a way to roll
your own? The On Mouse enter event works, so it could be managed in there.

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: On Clicked event not firing for Combo Box

2019-09-03 Thread Pat Bensky via 4D_Tech
Ah. Right. Thanks!
PB

On Tue, 3 Sep 2019 at 11:49, Narinder Chandi via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Pat,
>
> From memory, the Combo Box doesn't respond to the "On Clicked" event  (and
> never has done). It took me a while to find confirmation in the docs. But I
> finally found it:
>
> "WARNING: Combo boxes are not considered to be clickable objects. A combo
> box must be treated as an enterable text area whose associated drop-down
> list provides default values. Consequently, you handle data entry within a
> combo box through the On Before Keystroke, On After Keystroke and On Data
> Change events."
>
> It is here:
> https://doc.4d.com/4Dv17/4D/17.2/Form-event.301-4386698.en.html
>
> Regards,
>
> Narinder Chandi,
> ToolBox Systems Ltd.
> --
>
> -Original Message-
> From: 4D_Tech <4d_tech-boun...@lists.4d.com> on behalf of 4D Tech Mailing
> List <4d_tech@lists.4d.com>
> Reply-To: 4D Tech Mailing List <4d_tech@lists.4d.com>
> Date: Tuesday, 3 September 2019 at 11:37
> To: 4D Tech Mailing List <4d_tech@lists.4d.com>
> Cc: Pat Bensky 
> Subject: On Clicked event not firing for Combo Box
>
> Using v17, Mac:
> The On Clicked event doesn't work for a combo box ... other events
> such as
> On Mouse enter  On Data Change, etc. work as expected, but On Clicked
> does
> not. Any ideas why that would (not) happen?
>
> Pat
>
> --
> *
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

On Clicked event not firing for Combo Box

2019-09-03 Thread Pat Bensky via 4D_Tech
Using v17, Mac:
The On Clicked event doesn't work for a combo box ... other events such as
On Mouse enter  On Data Change, etc. work as expected, but On Clicked does
not. Any ideas why that would (not) happen?

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v2003 installer?

2019-08-31 Thread Pat Bensky via 4D_Tech
Thanks Mike - will do that if I haven't got it by then :)
I kinda need to do it this weekend ...

Pat

On Sat, 31 Aug 2019 at 14:14, Mike Kerner via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Email me on Tuesday.  I remember tossing my v2 and v3 installers but I know
> I have 6, so 2k3 might still be in my pile of 4D cd's.
>
> On Sat, Aug 31, 2019 at 09:09 Pat Bensky via 4D_Tech <4d_tech@lists.4d.com
> >
> wrote:
>
> > Anybody know where I can find a 4Dv2003 Mac installer?
> >
> > PB
> >
> > --
> > *
> > CatBase - Top Dog in Data Publishing
> > tel: +44 (0) 207 118 7889
> > w: http://www.catbase.com
> > skype: pat.bensky
> > *
> > **
> > 4D Internet Users Group (4D iNUG)
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

v2003 installer?

2019-08-31 Thread Pat Bensky via 4D_Tech
Anybody know where I can find a 4Dv2003 Mac installer?

PB

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Running v16.6 built application as a service on Windows SBS 2011

2019-08-28 Thread Pat Bensky via 4D_Tech
Mike,
This is how we resolved the issue for a client recently:

Go to Services->4D Server->Properties->Log on
Select *This Account* and enter the user name that you use to log on to the
server
PW is the same as for the logon pw
Make sure Automatic is selected for startup

The thing that made all the difference was getting the username right. EG
in this particular example, it needed to include the Domain and the user
name. Let's say the Domain is "THISONE" and the username is "me". So the
user name to enter in the user name field in the Log On tab would be

THISONE\me

To find out what the domain is, go into User Accounts and look at the list
of users.

HTH!

Pat


On Wed, 28 Aug 2019 at 01:23, Mike Beatty via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> All-
>
> Running into an issue trying to get a v16.6 built application to run as a
> service, wondering if anyone has this in place before we ramp up the
> troubleshooting.
>
> A few notes — this is on a client remote server, which is administered  by
> a third party that will not allow us to have administrative access. The
> machine does have a 2003 app running as a service. We can run the
> application outside of services without an issue. We have switched between
> running as the local account to use interactive desktop, but when we try to
> view the message, we get kicked out of machine — the third party group
> loses connection for roughly 60 seconds, then reports seeing both a power
> shell window and a command prompt. When running as an administrator
> account, as is the 2003 version, the service will start, then inexplicably
> stop. Windows logs don’t shed much light on the issue.
>
> We are going to start trying other means to find cause/resolution, just
> wanted to see if anyone is running this config successfully.
>
> Thanks!
>
> Mike
>
> Mike Beatty
> Objective Systems
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Write Pro Stylesheet Support...

2019-08-28 Thread Pat Bensky via 4D_Tech
Hi Tom,
Currently there are no commands to create or manipulate stylesheets in WP.
This is how I do it:

Save the document as HTML.
Modify the CSS in the HTML.
Recreate the doc from the HTML

For example, to create and add a new stylesheet:

$cssstyle:="p."+tStyleSheetName+",li."+tStyleSheetName+" { "

$cssstyle:=$cssstyle+"text-align:left"

$cssstyle:=$cssstyle+";-d4-font:'"+$tDefaultFont+"'"

$cssstyle:=$cssstyle+";font-size:"+$tDefaultfontSize

// add other attributes as required

$cssstyle:=$cssstyle+"}"

*WP EXPORT VARIABLE*(WPdoc;$tWPtemplate;wk web page html 4D)

$pos:=*Position*("}p.";$tWPtemplate)

$tWPtemplate:=*Insert string*($tWPtemplate;$cssstyle;$pos+1)

WPdoc:=*WP New*($tWPtemplate)

HTH
Pat

On Tue, 27 Aug 2019 at 18:39, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I am converting a massive code base from Write Classic to Write Pro. I’m
> down to the final few dozen methods. A few of them have support for Write
> Classic stylesheets as in WR Create stylesheet, WR SET STYLESHEET FONT, WR
> SET STYLESHEET TEXT PROP etc.
>
> What is the recommended approach to doing this in Write Pro? I’ve poked
> around the documentation, 4D Blog, KnowledgeBase but don’t find much. Do I
> need to build my own system to set groups of style attributes?
>
> Thanks,
>
> Tom Benedict
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: _ as first character in Method Name [was 64 bit...]

2019-08-19 Thread Pat Bensky via 4D_Tech
Hi Chip,
Yes, we've been doing that for years also ... and sometimes a dot, which
also is not allowed any more.
We've changed them all to "aa..."

Pat

On Mon, 19 Aug 2019 at 16:24, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I use an underscore to start the name of methods which I want to
> 'float' to the top of the method list.
> I.E. _Conventions
>
> What allowed character(s) can I use instead?
>
> Thanks
> Chip
>
> On Sat, 17 Aug 2019 06:03:27 +, Keisuke Miyako via 4D_Tech wrote:
> > underscore prefixes are reserved for internal features,
> > for plugins in particular.
> >
> > in the past, they were used to auto-save 4D Write/View/Draw plugin areas.
> > I don't know if there are any other plugins that take advantage of
> > the implicit association,
> > but to avoid unintended consequences, it's better to avoid them if at
> > all possible.
> >
> > 2019/08/17 8:17、Chip Scheide via 4D_Tech
> > <4d_tech@lists.4d.com>のメール:
> > - methods which start with Underscore are not allowed?
> >
> >
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Sequential search of indexed field

2019-08-15 Thread Pat Bensky via 4D_Tech
Using v17.
I need to find out if a certain entry exists in a large table. The search
is conducted on an indexed field (longint).

I've tested with two methods:
a) Query

*SET QUERY DESTINATION*(Into variable;$iCount)

*QUERY*(*Table*($iTableNumber)->;$FieldPtr->=[TableTemplates]RecordNumber)
 - query takes 66 seconds

b) Find in field
*Find in field*($FieldPtr->;[TableTemplates]RecordNumber)
- takes 70 seconds

(no match is found)
It makes very little difference what type of index is selected for the
field.

There are a lot of records in the table (about 1.3 million).

Does this seem right? 70 seconds is a long time :) And why does it say it's
doing a *sequential* search?

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Drag n drop (between processes)

2019-08-12 Thread Pat Bensky via 4D_Tech
Chip,
This is how we manage dragging form a listbox in one process to a listbox
in another process:

1. In the source listbox:

*Case of*

*:* (*Form event*=On Begin Drag Over)

*RESOLVE POINTER*(*Self*;tSourceObjectName;$Table;$field)

*ARRAY LONGINT*($aiItemsSelected;0)

$lElementPos:=*Selected list items*(CategoryList;$aiItemsSelected;*)

*ARRAY TEXT*($atCategoryUUIDs;*Size of array*($aiItemsSelected))

*For* ($i;1;*Size of array*($aiItemsSelected))

*GET LIST ITEM PARAMETER*(CategoryList;$aiItemsSelected{$i};"recordnumber";
$DestCategoryUUID)

$atCategoryUUIDs{$i}:=$DestCategoryUUID

*End for*

$tSource:="CategoryList"

*SET BLOB SIZE*($blob;0)

*VARIABLE TO BLOB*($tSource;$blob;*)

*VARIABLE TO BLOB*($aiItemsSelected;$blob;*)

*VARIABLE TO BLOB*($atCategoryUUIDs;$blob;*)

*CLEAR PASTEBOARD*

* APPEND DATA TO PASTEBOARD*(Text data;$blob)
*End Case*

2. In the destination listbox:

*Case of*

*:* ($event=On Drop)

*GET PASTEBOARD DATA*(Text data;$blob)

$ioffset:=0

*BLOB TO VARIABLE*($blob;$var;$ioffset)
*End Case*

*Then deal with the data according to the content of $var ("CategoryList"
in this case).*
*HTH*
*PB*

On Mon, 12 Aug 2019 at 22:43, Douglas von Roeder via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Chip:
>
> Here’s some ALP code that uses that command - it might give you some ideas…
>
> *Case of*
>
> *:* ($formEvent_L=On Drop)
>
>
> *Case of*
>
> *:* ($currentObjectName_T="Lock_CustomerName”)
>
>
> *C_BLOB*($blob_X)
>
> *GET PASTEBOARD DATA*("net.e-node.alp.object";$blob_X)
>
>
> *If* (OK=1)
>
> *C_LONGINT*($eList)
>
> $eList:=*BLOB to longint*($blob_X;Native byte ordering)
>
>
> *C_LONGINT*($row_L)
>
> $row_L:=*AL_GetAreaLongProperty* ($eList;ALP_Area_DragSrcRow)
>
> $text_T:=*AL_GetAreaTextProperty* ($eList;ALP_Area_Name)
>
>
> *Case of*
>
> *:* ($eList=eLineItem)
>
> *GOTO SELECTED RECORD*([Line Items];$row_L)
>
> *OBJ_GPBN* ($currentObjectName_T)->:=[Line Items]Product Name
>
> *UNLOAD RECORD*([Line Items])
>
>
> *:* ($text_T="theOne_List_eList_01")
>
> *C_TEXT*($id_T)
>
> $id_T:=*AL_GetCellTextProperty* ($eList;$row_L;1;ALP_Cell_Value)
>
>
> *OBJ_GPBN* ($currentObjectName_T)->:=*AL_GetCellTextProperty*
> ($eList;$row_L;2;ALP_Cell_Value)
>
> *PROC_FormEvent_Set* ($h_;On Data Change)
>
> *PROPOSALS_FC* ($h_)
>
>
> *End case*
>
>
> *End if*
>
>
> *End case*
>
>
> *End case*
>
>
> --
> Douglas von Roeder
> 949-910-4084
>
>
> On Mon, Aug 12, 2019 at 2:39 PM Douglas von Roeder 
> wrote:
>
> > Chip:
> >
> > Check out the docs for “Managing Pasteboards”. I’ve used this feature
> only
> > with ALP but ALP uses the same drag and drop events that 4D does so there
> > will be some overlap.
> >
> > 4 bytes could well be a longint representing the process ID where the
> drag
> > was initiated - that’s a WAG. The bigger payload could be a BLOB of a
> fair
> > amount of text or perhaps a record that was put into the clipboard when
> the
> > On drag sequence started.
> >
> > Have you checked the knowlegebase or perhaps looked in the Summit
> > materials?
> >
> > --
> > Douglas von Roeder
> > 949-910-4084
> >
> >
> > On Mon, Aug 12, 2019 at 2:06 PM Chip Scheide via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> >> I am dragging and dropping 1 or more records from 1 process onto a
> >> listbox in a second process.
> >>
> >> I see that I can use the pasteboard to mange the data during this
> >> action.
> >>
> >> However(dragging 1 record)
> >> I am looking at the data types returned by GET PASTEBOARD DATA TYPE
> >> com.4d.private.pid & com.4d.private.Form.Object -- neither of these
> >> makes much sense to me.
> >>
> >> By using GET PASTEBOARD DATA i get a blob which is either
> >> 4 bytes (com.4d.private.pid)
> >> or
> >> 524 bytes (com.4d.private.object.form)
> >>
> >> I do not know what to do with either of these blocks of data... can
> >> someone point me in the right direction.
> >>
> >> The drop area is allowed to accept data from 5 different tables.
> >> I need to be able to differentiate which table the data is from, &
> >> which record(s) were dropped.
> >>
> >> Once I have which ever of the above data types hand, what do I do with
> >> them to extract the needed information.
> >>
> >> Thanks
> >> Chip
> >>
> >> ---
> >> Gas is for washing parts
> >> Alcohol is for drinkin'
> >> Nitromethane is for racing
> >> **
> >> 4D Internet Users Group (4D iNUG)
> >> Archive:  http://lists.4d.com/archives.html
> >> Options: https://lists.4d.com/mailman/options/4d_tech
> >> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >> **
> >
> >
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> 

InnoSetup installer + Windows 7

2019-08-10 Thread Pat Bensky via 4D_Tech
Well folks I have been banging my head against the wall for a whole day and
have not been able to solve this very strange problem ...
I have a need to compile an update to an old version of CatBase. This is
Version 7.3 (we are currently on Version 8). The previous compile was rev.
93; this one is rev. 100.

So I compile  and build a single-user app.
Run it and check to make sure it is the correct version (r100). It is.
Build an installer using InnoSetup.
Check that the installer is the correct one (ie - current date and time).
Run the installer.
Check the installed version: the files (including the .exe) have the
current date and time.
Run the app.
IT RUNS THE WRONG VERSION (rev 93 instead of rev 100)!

I have:
Scoured the machine and deleted ALL previous versions of the app.
Found and deleted out-of-date shortcuts.
Deleted an old version of the installer from the Downloads folder.
Emptied the Recycle bin.
Restarted the machine.
Checked the installer script to make sure it is pointing to the correct
folder. Checked this by removing the compiled app folder; running the
installer script generates an error. Put the folder back and the installer
script runs OK. This confirms that the script is pointing to the correct
folder.
Delete the installer and empty the Recycle Bin
Rebuild the installer.
Same problem every time!

No matter what I do, the newly installed .exe runs the old version, which
doesn't even exist anywhere!

Any suggestions?

Thanks!
Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Mapping Write Classic Attributes to Write Pro. (Was "How to "Get" the State of 4D Write Pro Standard Actions?)

2019-08-06 Thread Pat Bensky via 4D_Tech
Tom,
For the margins, have you tried something like this:
- Create a Section object that contains all the pages whose margins you
want to set
- Apply the wk border width left/right/top/bottom attributes to that object

Pat

On Tue, 6 Aug 2019 at 11:26, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Whoops! I neglected to update the subject prior to posting. I will add
> another post regarding getting Standard Action values and how they are
> connected to attributes at a later date.
>
> Tom
>
> > On Aug 5, 2019, at 20:16, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > I am struggling with the new 4D Write Pro paradigm.
> >
> > One thing our Write Classic app has is a method which collects all the
> “Document Properties” into an array which we can use to manage the whole
> range of property/attributes for any given document or document editor.
> >
> > Given the fundamental changes between Write Classic and Write Pro, the
> process of mapping these properties has proven to be a daunting task. I’ve
> been digging my way through it, piece by piece, discovering bits here and
> there in various parts of the documentation, blogs, sample DBs etc.
> >
> > There are many more, but here’s a few in the “Margins” theme which I’m
> stuck on. Margins are totally different. Write Pro uses the HTML Box Model
> consisting of Margin, Border and Padding boxes around each Element
> (Content) box. (view in a monospaced font for the table to display
> properly):
> >
> >
> +-+--+---+
> > | 4D Write Classic| 4D Write Pro |
>  |
> > |  WR Get doc property()  |  WP GET ATTRIBUTES() |
>  |
> >
> +-+--+---+
> > | wr text inside margin   | wk inside|
>  |
> >
> +-+--+---+
> > | wr text outside margin  | wk outside   |
>  |
> >
> +-+--+---+
> > | wr text left margin | wk page margin left  |
>  |
> >
> +-+--+---+
> > | wr text right margin| wk page margin right |
>  |
> >
> +-+--+---+
> > | wr text top margin  | wk margin top|
>  |
> >
> +-+--+---+
> > | wr text bottom margin   | wk margin bottom |
>  |
> >
> +-+--+---+
> > | wr header top margin| wk margin top| specify header in
> range parameter |
> >
> +-+--+---+
> > | wr header bottom margin | wk margin bottom | specify header in
> range parameter |
> >
> +-+--+---+
> > | wr footer top margin| wk margin top| specify footer in
> range parameter |
> >
> +-+--+---+
> > | wr footer bottom margin | wk margin bottom | specify footer in
> range parameter |
> >
> +-+--+---+
> > | wr paper width  | wk page width|
>  |
> >
> +-+--+---+
> > | wr paper height | wk page height   |
>  |
> >
> +-+--+---+
> > | wr dead left margin |  |
>  |
> >
> +-+--+---+
> > | wr dead top margin  |  |
>  |
> >
> +-+--+---+
> > | wr left margin  |  |
>  |
> >
> +-+--+---+
> > | wr right margin |  |
>  |
> >
> +-+--+---+
> > | wr printable width  |  |
>  |
> >
> +-+--+---+
> > | wr printable height |  |
>  |
> >
> +-+--+---+
> > | wr first indent |  |
>  |
> >
> 

Re: Managing multiple windows in the same process (v17r5)

2019-08-02 Thread Pat Bensky via 4D_Tech
I also have a question about this ...
In our database we require at least one user window to always be open. When
a user closes a window, the close method counts the number of user windows
and if there is only one, it doesn't allow it to be closed.
However ...
If the user has opened another window within the same process (for a
preview, for example), 4D now thinks there are two user windows open, and
it allows the user to close it ... which of course closes both of the
windows.
Other than keeping track of all open windows-within-windows, which is
messy, is there any way to differentiate main windows and their associated
windows within the same process?

PB

On Wed, 26 Jun 2019 at 16:08, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hi Chris,
> Good questions. Here are my thoughts on them based on what I've picked up
> from the World Tour and Summits.
>
> On Wed, Jun 26, 2019 at 12:31 AM Chris Belanger via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > 1) What is the reasonable limit as to how many windows/dialogs should get
> > opened in the same process?
> >
> This is going to be limited by the resources available to 4D. A laptop with
> the minimum RAM and processor is going to have a lower limit than a nice
> new Mac Pro by a long way.
>
> But there's no reason to be opening a huge number of windows. A window is
> really a UI portal as it were. We no longer need to hack certain operations
> with 'offscreen' or 'hidden' windows so a good design should open a window
> for something useful.
>
> On top of that now it's really easy and fast to completely repurpose what a
> window is 'doing' anyway. You could design a window interface to be a lot
> like the OS window interfaces are - you display something and then
> completely change it based on a user action. But now we could revert to any
> previous window content like the back button on a Finder window. You would
> have to retain the displayed form and the Form contents but with that info
> you could reload a past window.
>
> So I think this is a case where the technical limit on the number of
> windows is less important than building a good design for the interface.
>
>
> > 2) do windows that share the same process also share processing time?
> What
> > I mean is: If window A is executing, does window B have to wait until
> > Window A is done before any processing it does would start (think CALL
> FORM
> > ( window ) )?
> >
> > For example: Window A is doing a QUERY that takes a few seconds. Does
> that
> > make Window B (in the same process) unresponsive until Window A has
> > finished the QUERY?
> >
> Prior to preemptive processes each instance of 4D ran on a single core of
> the machine. How the CPU cycles were allocated and prioritized was between
> 4D and OS. To us it looked like multiple processes were running 'parallel'
> but it was all happening on a single core. The only way you could truly
> have parallel processing was by using server side processes or EXECUTE ON
> CLIENT and each of those instances were limited in the same way.
>
> With a preemptive process you can truly have different processes running
> concurrently on different cores. Thomas Maul has some great demos of this.
> If you aren't a Partner (they may be walled off from non-partners) check
> out a presentation he did for 4DMethod . He also
> includes a demo of why pre-emptive processing only matters on actual
> hardware, not virtualized machines. I forget if that's in the 4DMethod
> preso or I saw it at a Summit. Bottom line: preemptive is meaningless on a
> virtual machine because the virtual machine is running virtual cores and
> then entire virtual machine is running on a single instance of the host
> machine. So, if you plan to deploy on AWS or the like don't worry about
> preemptive, just use CALL WORKER.
>
> So all the windows in the UI process will work, essentially, like the
> windows in the separate processes we used to use. 4D has optimized things
> like query a lot, for example. And the speed is improved significantly. I
> hear in v18 ORDA may be as fast as classic 4D queries.
>
>
> > 3) I used separate processes before because it was possible to do
> > ‘parallel processing’ that way. Because windows were in separate
> processes,
> > anything one window was working on would not impact the responsiveness of
> > other windows.
> > Is it still advisable to break out windows under its own process if it
> may
> > need to do substantial processing at times?
> >
> It would be better to break out the heavy operations using CALL WORKER.
> This is really what it's designed for.
>
> Underlying all this is the question of memory management. I have the
> impression 4D is committed to optimizing memory use. New process
> 
> recommends 0 for the stack size, "Pass 0 in stack to use a default stack
> size, suitable for most applications (recommended setting)." The docs go on
> to say 

Re: Old version (2003) export the data

2019-08-02 Thread Pat Bensky via 4D_Tech
Mac or Windows?

On Fri, 2 Aug 2019 at 07:21, Wright, Tony via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hi All
>
> Wonder if you can help
>
> Been given an database from version 2003 and while I can log on as
> designer with no issues I can't drop into the user or designer mode to
> allow me to start to think about exporting the data
>
> The database structure isn't compiled
> Have tried the normal Ctrl + Y, Ctrl + . , Ctrl + U and Ctrl + I ... with
> not joy
>
>
> Any Ideas ?
>
> Regards
>
> Tony
>
> *
> The information contained in this message may be confidential or
> legally privileged and is intended for the addressee only. If you
> have received this message in error or there are any problems
> please notify the originator immediately. The unauthorised use,
> disclosure, copying or alteration of this message is
> strictly forbidden.
> *
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Splitter behaviour

2019-07-12 Thread Pat Bensky via 4D_Tech
Using v17 r5, Mac
I have a form with a splitter on it. To the left of the splitter is a
hierarchical list and two buttons. To the right of the splitter are a
varying number of objects depending on what's being displayed.
The properties of the splitter are
Horizontal sizing: move
Vertical sizing: grow
Pusher: true

So, I want to make the hierarchical list wider as some of its content is
hidden. I move the splitter to the right a bit. That's fine.
Now I expand one of the items in the hierarchical list. The expanded list
it displayed, but the view of the list shifts to the right so that the left
side of it disappears off the edge of the form. Nothing you do can make it
return to normal - the only solution is to close the window and open a new
one.

Additionally, if I try to resize the window by dragging the bottom right
corner, instead of making it smaller it makes it bigger! I'm dragging left
but the window is getting wider! Sometimes it goes really bananas and
instantly makes the window HUGE.

This is the sort of thing that drives users crazy!

Any ideas?

Pat




-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Drag & drop a file - what am I missing?

2019-06-21 Thread Pat Bensky via 4D_Tech
Using v17 -

Until now I've implemented drag & drop between objects, for example list
boxes. No problem.
But now I want to allow the user to drop a file onto a field and save the
file's pathname in the field. I cannot get this to work and indeed the docs
imply that this should only work with variables and objects:

"For example, it is possible to drag and drop a PNG picture file onto a 4D
picture field. It is also possible to select text in a word processing
application and drop it onto a 4D text variable or a list box."

So you can drop a picture onto a picture FIELD but any other type of file
(eg .txt) only onto a variable?

Pat
-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Apple Notarizing (Where is 4D documentation on how to notarize a 4D merged app?)

2019-06-16 Thread Pat Bensky via 4D_Tech
Good point Narinder ... I am not sure!
PB

On Sun, 16 Jun 2019 at 17:33, Narinder Chandi via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Pat,
>
> Interesting link. Will that work for Jeremy as it looks like that
> documentation is in relation to notarizing software built using Xcode only?
>
> Regards,
>
> Narinder Chandi,
> ToolBox Systems Ltd.
> --
>
> Jeremy,
> This should help:
>
> https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution
>
> PB
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Apple Notarizing (Where is 4D documentation on how to notarize a 4D merged app?)

2019-06-16 Thread Pat Bensky via 4D_Tech
Jeremy,
This should help:
https://developer.apple.com/documentation/security/notarizing_your_app_before_distribution

PB

On Sun, 16 Jun 2019 at 16:09, Jeremy French via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Is there a Tech Note or Tip detailing the steps to submit signed 4D merged
> app for notarization?
>
> (Searching the knowledge base didn't find anything for "notarize" or
> "notarizing")
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: issue with invisible button

2019-06-10 Thread Pat Bensky via 4D_Tech
Tim,
Maybe this is what you need to do ...
I believe that if you do not assign the Enter key to something (eg a
button) then it will by default act as the Accept button. If you want to
intercept the Enter key and stop it from having any effect, then you need
to assign it to an invisible button with no action. IE don't disable that
button, it just doesn't do anything.

HTH
Pat

On Mon, 10 Jun 2019 at 20:06, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> On Jun 10, 2019, at 2:00 PM, Chuck M wrote:
>
> > Environment Mac client, 4D version 16.5 built client server and 4D
> standalone
> >
> > I have an invisible button with Enter as a shortcut. If I disable the
> button and even if I make it invisible and then Hit enter key, the button
> code does not run (This is expected), but the validate code in the on
> validate event on form method does run (This is NOT expected). What simply
> stupid thing am I missing here.
> >
> > This is Chuck M sending email from a client email as I have not access
> to email from here
>
> I would check “Shortcuts” in Database Settings -> Structure Settings ->
> Interface -> Shortcuts area. What shortcut does “Accept input form:” have?
> I’ll bet it is “Enter”. Remove that shortcut and that should solve your
> issue.
>
> I remove all 3 of these shortcuts for all my 4D applications. This is
> really a very, very old legacy feature that 4D had. I prefer to control how
> the Enter and Esc keys do when a form is displayed.
>
> Tim
>
> *
> Tim Nevels
> Innovative Solutions
> 785-749-3444
> timnev...@mac.com
> *
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Clients hang on Quit after server problem

2019-05-29 Thread Pat Bensky via 4D_Tech
A customer recently suddenly started to have problems - they were unable to
quit their Clients (both Macs and PCs) - they Client would freeze when they
tried to Quit and they had to force quit. They were unable to stop and
restart the service on their server. I told them to reboot the server and
they were then able to get the service running again. They can connect to
it and everything works OK ... except when they try to quit from a client.

Clearly something is corrupted on the server ... but what? Any ideas where
to look?

Their server is Windows Server 2008 Enterprise Edition - R2, 64-bit
4D version 13.5
Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: I've not seen this before

2019-05-29 Thread Pat Bensky via 4D_Tech
Bob,
I'd suggest that the error message relates to the volume on which the file
is stored rather than the file itself ... did somebody change the volume
name or something like that? Maybe the volume is corrupted?
Pat

On Wed, 29 May 2019 at 00:50, Robert McKeever via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> A client reports that Windows did an update last night.
>
> Today, when importing one of the billing extract files (CSV format), he
> get the following error from 4D:
>
> “The volume for a file has been externally altered so that the opened file
> is no longer valid.”
>
> Sometimes the radiologists like to edit the file before importing it (I
> suggest otherwise, but that’s what they like to do). I think the error
> comes from his having edited the file, and left it open in the editing
> program before importing it.
>
> Any other ideas?
> _
> Bob McKeever  http://www.mswl.com <
> http://www.mswl.com/>
> McKeever's Software Wizardry
> Port Coquitlam, B.C.
> bobmckee...@mac.com
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Write Pro: License or privilege error

2019-05-21 Thread Pat Bensky via 4D_Tech
Maybe try using VirtualBox instead of Parallels ... that's what I use and
have not had any issues like that. And it's free :)

PB

On Tue, 21 May 2019 at 19:13, John J Foster via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi All,
>
> Tim recommended that I contact 4D TS - which I did. It turns out I had two
> issues.
>
> 1. There seems to be some directory issue with Parallels. Apparently even
> though I log in as a particular user (the lonely one I set up) it looks
> like Windows 10 Pro setup a Public user as well. And arrantly this created
> confusion between multiple desktops and … I’m still trying to understand
> these.
>
> 2. We don’t user 4D’s Users/Groups - or so I thought. There are remnants
> of when we did  use them. Anyway, 4D Write Pro was only available to a user
> that is not the user I needed. So we set access to the groups in such a way
> that everyone will have access and voila 4D Wrote Pro commands work.
>
> I have got to learn to call 4D TS after a few hours of banging my head
> around instead of days.
>
> Shout out to 4D TS, Ty and Tim for the excellent and patient work.
>
> Appreciate,
> John…
>
>
>
> > Hi Tim,
> >
> > As I indicated (screen shots in email):
> >
> > Windows-> Help -> About…
> >
> > 4D v17.1 build 17.132790 32-bit.
> >
> >
> >
> > Explorer -> Plug-ins -> 4D Write…
> >
> > Incompatible…
> >
> >
> >
> > See I”m not crazy! 
> >
> > John…
> >
> >
> >
> >> On May 20, 2019, at 1:54 PM, Timothy Penner  tpen...@4d.com>> wrote:
> >>
> >> Hi John,
> >>
> >> I just double checked to make sure it is working as intended in v17.1
> build 232790
> >> https://imgur.com/a/guHinBS 
> >>
> >> Perhaps you are still using the 64 bit version of 4D? Can you double
> check under Help->About?
> >>
> >> -Tim
> >>
> >>
> >>
> >>
> >> 
> >> Timothy Penner
> >> Senior Technical Services Engineer
> >> Email :  tpen...@4d.com 
> >> Web :www.4D.com 
> >> 4D Inc
> >> 95 S. Market Street, Suite #240
> >> CA 95113 San Jose - United States
> >> Standard :   +1-408-557-4600
> >> Fax :+1-408-271-5080
> >>  
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> From: John J Foster  trueg...@isomedia.com>>
> >> Sent: Monday, May 20, 2019 12:50 PM
> >> To: Timothy Penner mailto:tpen...@4d.com>>
> >> Cc: 4D iNug Technical <4d_tech@lists.4d.com  4d_tech@lists.4d.com>>
> >> Subject: Re: 4D Write Pro: License or privilege error
> >>
> >> Hi Tim,
> >>
> >> You do know I downloaded from the 4D site in which the download
> includes the plugins? On this page it says:
> >>
> >> https://us.4d.com/note-about-4d-v17-32-bit-versions <
> https://us.4d.com/note-about-4d-v17-32-bit-versions>
> >>
> >> “The remaining 32-bit releases in the 4D Product line (4D Server on
> Mac, 4D Volume Desktop, and Developer Edition Mac and Windows) can still be
> downloaded here, but have been deprecated and will no longer be available
> with future major releases of 4D.”
> >>
> >> Since the only place I saw 4D Write 32 bit was in this download…
> >>
> >> https://download.4d.com/Products/Current/ <
> https://download.4d.com/Products/Current/>
> >>
> >> So if this is not correct then how do I match the correct 4D Write
> 32bit with the correct 4D 32 bit app (Windows and Macintosh)?
> >>
> >> Note: Since only 4D v17.1 is available with a 32bit I’d like to go with
> that. I don’t think I want my client using R releases.
> >>
> >> This is very very confusing to me!
> >>
> >> John...
> >
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D View - create spans?

2019-05-21 Thread Pat Bensky via 4D_Tech
I can see how to create cell spans via the user interface, when the toolbar
is displayed ("merge and center" button) but does anybody know how to do it
via code?

--Pat

*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Write Pro (where is list of reserved attributes?)

2019-05-17 Thread Pat Bensky via 4D_Tech
Probably what's on this list:
https://doc.4d.com/4Dv17R4/4D/17-R4/4D-Write-Pro-Attributes.300-403.en.html

PB

On Fri, 17 May 2019 at 14:25, Jeremy French via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Can I change a 4D Write Pro table’s id attribute to some custom value?
>
> A recent 4D Tech Tip "Write Pro Object Attributes" says:
>
> "With a 4D Write Pro object custom attributes and values can be assigned
> to the 4D Write Pro object as long as the attribute is not a reserved
> attribute.”
>
> Where do we find a list of the reserved attributes?
>
> Tech Tip: Write Pro Object Attributes
> https://kb.4d.com/assetid=78255
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Write Pro: License or privilege error

2019-05-15 Thread Pat Bensky via 4D_Tech
John,
Do you have the old 4DWrite plugin installed? If so, try removing that,
restart 4D, and see if it makes any difference.

PB

On Wed, 15 May 2019 at 16:20, John J Foster via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi Doug,
>
> The License manager clearly shows 4D Developer Professional v17 - Partner
> Program … which includes 1 (unlimited)4D Write - 4D Write Pro license.
>
> So I’m not sure what I am doing wrong?
>
> In edition to why 4D Write Pro is returning the license error I’m a little
> confused about 4D Write Pro Migration process.
>
> Anyway, that’s in another NUG thread.
>
> I’ll look at it later after I do some other client work.
>
> Appreciate,
> John…
>
>
> > On May 15, 2019, at 7:57 AM, Douglas von Roeder 
> wrote:
> >
> > John:
> >
> > "And "$wpDoc:=WP New” generates the same error.”
> > OK, understood. That’s an error because it should be returning a 4DWP
> object.
> >
> > My question about passing an empty BLOB stems from the docs which
> indicate that you can’t pass a parameter that doesn’t have content. I
> suspect that would give an error other than 9949.
> >
> > --
> > Douglas von Roeder
> > 949-336-2902
> >
> >
> > On Tue, May 14, 2019 at 5:14 PM John J Foster  > wrote:
> > Hi Doug,
> >
> > Yes the BLOB is empty.
> >
> > I upgraded a client from 4D 2012 (windows) to 4D v17. However in the v12
> version the 4D Write docs were still being saved in a picture field. The 4D
> Write Pro migration tools specifically is designed too handle converting
> those Write pictures to Write Pro objects. OT so I thought!
> >
> > But it’s receiving a picture field and returning no BLOB to give to the
> 4D Write Pro doc.
> >
> > So…
> >
> > John...
> >
> >
> >> When I look at the docs for WP New, $1 is a optional parameter. If
> passed as a BLOB, the content of the BLOB should be either a 4D Write Pro
> document or a 4D Write document. It doesn’t appear that an empty BLOB is
> acceptable as a parameter. I might have missed it in the earlier email but
> is your $blob contain a document or is it just an empty BLOB?
> >>
> >> --
> >> Douglas von Roeder
> >> 949-336-2902
> >>
> >>
> >> On Tue, May 14, 2019 at 4:41 PM John J Foster via 4D_Tech <
> 4d_tech@lists.4d.com > wrote:
> >> Hi Pat,
> >>
> >> Yes $blob has been defined in each method.
> >>
> >> And "$wpDoc:=WP New” generates the same error.
> >>
> >> John…
> >>
> >> >
> >> > Has $blob been defined?
> >> > Do you get the error if you call:
> >> >
> >> > $wpDoc:=WP New
> >>
> >> **
> >> 4D Internet Users Group (4D iNUG)
> >> Archive:  http://lists.4d.com/archives.html <
> http://lists.4d.com/archives.html>
> >> Options: https://lists.4d.com/mailman/options/4d_tech <
> https://lists.4d.com/mailman/options/4d_tech>
> >> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com  4d_tech-unsubscr...@lists.4d.com>
> >> **
> >
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v17R4 infelicities

2019-05-15 Thread Pat Bensky via 4D_Tech
The issue with the design windows all closing was fixed in one R version
but it seems to have reappeared. I'm on R5 and it SOMETIMES (randomly) does
this.
I've submitted a bug report (99591).
PB

On Wed, 15 May 2019 at 08:37, Jeremy Roussak via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Miyako,
>
> Yes, the expression is correctly evaluated and displayed; if it wasn’t, I
> would have used a rather stronger word than “infelicity”! Thanks for the
> explanation of what’s happening (wrapping).
>
> > On 14 May 2019, at 20:43, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > the expression is properly evaluated and functional without the
> parentheses.
> >
> > it is a display issue in the WYSIWYG editor,
> > where the formula is too long to fit in the field and wrapped after the
> minus sign.
> >
> > i.e.
> >
> > -Form..a.aa
> >
> > becomes
> >
> > -
> > Form..a.aa
> >
> > you can confirm by extending the height.
> > parentheses won't solve it.
> >
> > by contrast, this does't wrap:
> >
> > Form..a.aa*-1
> >
> > 2 - try: -(Form.lastQ.outputVAT) or (-1 * Form.lastQ.outputVAT)
>
>
> Chip, I agree that exit design means close it - it’s because all the
> design environment windows disappear that the option is so useful. In all
> previous versions of 4D, however, all the design window states were
> preserved and re-opened when dropping back into design, as you would
> expect. It’s a new issue in v17R4, I think. Try it with whichever version
> you’re using and you’ll see what I mean.
>
> Jeremy
>
> > On 14 May 2019, at 20:33, Chip Scheide <4d_o...@pghrepository.org>
> wrote:
> >
> > Not using v17(anything) ... but
> >
> > 1 - exit design when going into application environment
> > to me means close it up. I would try turning this off
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D World Tour ... Way more than your moneysworth

2019-05-14 Thread Pat Bensky via 4D_Tech
My head is buzzing with ideas and information following the World Tour
training day with JPR in sunny London. If you are serious about your work
and it isn't too late for you, you need to go!

OH BUT IT COSTS MONEY

Yes, it does cost a little. Probably somewhat less than you charge for a
day's work.

Find out what is so great about ORDA. And Collections. And Objects. And
other 4D stuff.

In addition to the training you get a USB stick full of excellent,
well-documented demo databases that JPR and other 4D gurus have put a lot
of time and effort into creating. They contain code and forms that you can
use in your own 4D apps - these are well worth the cost of the training.

You also get:

- a bottomless coffee/tea pot
- plenty of snacks
- a decent lunch
- a chance to meet your 4D reps
- a chance to meet some of your fellow developers

JUST DO IT! (if you haven't already missed your local event).

Pat

PS
No, I have not been hired by the 4D PR team :)

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Write Pro: License or privilege error

2019-05-14 Thread Pat Bensky via 4D_Tech
John,
Has $blob been defined?
Do you get the error if you call:

$wpDoc:=WP New

?

PB

On Tue, 14 May 2019 at 22:01, John J Foster via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi All,
>
> Tried: Partner (silver) versions of 4D v17R4, R5 and v17.1 Windows and
> Macintosh Stand alone and 4D Server. (Seem to work for everything else I've
> tried except 4D Write Pro)
>
> I keep getting a ...
>
> -9949 License or privilege error
>
> at this 4D Write Pro command
>
> [Templates]wpTemplate:=WP New($Blob)
>
> I seem to recall something simple to do to make sure these 4D Partner
> licenses work?
>
> Anyone?
>
> Appreciate,
> John…
>
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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

2019-05-07 Thread Pat Bensky via 4D_Tech
Piotr,
I have noticed the same problem. I guess it needs to be reported as a bug :)
Pat

On Tue, 7 May 2019 at 18:21, Piotr Chabot Stadhouders via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi,
>
> Tested on Windows
>
> In 4Dv17R4 32-bit I have some html pages that are shown in a Webarea
> Because I need "Access 4D methods", I use the embedded rendering engine
> Also, I like to use the embedded rendering engine in 64-bit because of
> Blink
>
> However, when using embedded rendering engine, the pages (that work in
> v17R4 32-bit) don't show in 4Dv17R5 64-bit
> When NOT using the embedded rendering engine the pages show up, but I
> can't use the "Access 4D methods"
>
> What could be the problem?
>
> Thanks,
> Piotr
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: WA SET PAGE CONTENT - doesn't work first time

2019-05-04 Thread Pat Bensky via 4D_Tech
> Is the “On Timer” event check-marked for the form?
Yes
>Is the Web Area’s “use embedded Web rendering engine” property
check-marked?
No - it doesn't work at all if I select that. The web are doesn't even
appear on the form.

PB

On Sat, 4 May 2019 at 17:39, Jeremy French via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Is the “On Timer” event check-marked for the form?
>
> Is the Web Area’s “use embedded Web rendering engine” property
> check-marked?
>
>
> > On May 4, 2019, at 10:20 AM, Jeremy French via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Hi Pat,
> >
> > Try this (in the form’s form method) to initialize the web area:
> >
> > -
> > Case of
> >: (Form event=On Load)
> >
> >WA OPEN URL(*;$objName_webArea_t;"about:blank")
> >WA SET PAGE CONTENT(*;$objName_webArea_t;"";"file:///")
> >SET TIMER(-1)
> >
> >: (Form event=On Timer)
> >
> >SET TIMER(0)
> >WA OPEN URL(*;$objName_webArea_t;"about:blank")
> >WA SET PAGE CONTENT(*;$objName_webArea_t;"";"file:///")
> >
> >  // now the web area has been initialized
> >
> > End case
> > -
> >
> > Best regards,
> > Jeremy
> >
> >
> >
> >> On May 4, 2019, at 8:05 AM, Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >>
> >> WA SET PAGE CONTENT(WebAreaHelp;$HTML;"file:/// ")
> >>
> >> After a new window has been opened, this does not work the first time
> it is
> >> called: you just get an empty web area.
> >> Any subsequent calls - it works.
> >>
> >> …I guess the area gets initialised in some way when the page is
> displayed
> >> for the first time.
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

WA SET PAGE CONTENT - doesn't work first time

2019-05-04 Thread Pat Bensky via 4D_Tech
On Page 7 of a form there is a web area which displays information and help
about the selected table. When this page is selected, a text variable is
filled with html and displayed in the web area with:

WA SET PAGE CONTENT(WebAreaHelp;$HTML;"file:///")

After a new window has been opened, this does not work the first time it is
called: you just get an empty web area.
Any subsequent calls - it works.
The process is exactly the same. The html variable is exactly the same.
I guess the area gets initialised in some way when the page is displayed
for the first time. But what, and how do I force this to happen before the
page is displayed?

(using v17r5)

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: How to set the font colour for rows in an array-based listbox?

2019-05-01 Thread Pat Bensky via 4D_Tech
That applies to the background colour, not the text colour ):

On Wed, 1 May 2019 at 11:32, Jeremy Roussak via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Pat,
>
> LISTBOX SET ROW COLOR?
>
> Jeremy
>
>
> > On 1 May 2019, at 09:58, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > I can find plenty of info about setting the row font colour for a
> > selection-based listbox, but how do we do it for an array-based listbox?
> >
> > Pat
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

How to set the font colour for rows in an array-based listbox?

2019-05-01 Thread Pat Bensky via 4D_Tech
I can find plenty of info about setting the row font colour for a
selection-based listbox, but how do we do it for an array-based listbox?

Pat

-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Code signing works on one app but fails on another

2019-04-24 Thread Pat Bensky via 4D_Tech
Hi Jim,
I ran the following in Terminal to check it:
codesign -dv /Users/patbensky/CatBase\ dev/CatBase\ v8/Final\
Application/CatBase\ 8.app

and this is the result:

Executable=/Users/patbensky/CatBase dev/CatBase v8/Final
Application/CatBase 8.app/Contents/MacOS/CatBase 8

Identifier=4d.com.CatBase 8.app

Format=app bundle with Mach-O thin (x86_64)

CodeDirectory v=20200 size=133812 flags=0x0(none) hashes=4176+3
location=embedded

Signature size=9042

Timestamp=24 Apr 2019 at 23:18:30

Info.plist entries=41

TeamIdentifier=8W63XCXWRA

Sealed Resources version=2 rules=13 files=2018

Internal requirements count=1 size=180

When I ran your suggested code
codesign --verify -v /Users/patbensky/CatBase\ dev/CatBase\ v8/Final\
Application/CatBase\ 8.app

I got:

a sealed resource is missing or invalid

file modified: /Users/patbensky/CatBase dev/CatBase v8/Final
Application/CatBase 8.app/Contents/Database/CatBase 8.4DIndy

file modified: /Users/patbensky/CatBase dev/CatBase v8/Final
Application/CatBase 8.app/Contents/Database/CatBase 8.4DC


So that's a bit more informative ... Any idea what "sealed resource" is
missing or invalid?

On Wed, 24 Apr 2019 at 23:30, Jim Crate via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Are you sure the app is signed correctly? Sometimes an app with invalid
> signature will launch until it is downloaded from the internet (downloading
> sets the quarantine flag). I use these commands after signing to
> double-check that signing worked properly:
>
>   spctl -av "$appPath"
>   codesign --verify -v "$appPath"
>
> Also, I launch the app before signing to choose the datafile and update
> the Info.plist with a more descriptive version string.
>
> Jim Crate
>
> > On Apr 24, 2019, at 9:42 AM, Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Actually it doesn't seem to be working ... it seems to corrupt the app in
> > some way.
> > It's quite bizarre ... I compile the app, sign it using Miyako's code,
> and
> > create a disk image using DropDMG. I check it by mounting the disk image
> > and installing the app. It runs OK.
> > Then I upload it to DropBox.
> > Download it from Dropbox, open it, install it, and it will not run. The
> app
> > starts to open and then I get the message "CatBase 8 is damaged and can't
> > be opened."
> >
> > Any ideas?
> >
> > On Thu, 4 Apr 2019 at 11:52, Pat Bensky  wrote:
> >
> >> Brilliant, thank you Miyako!
> >> Note that I needed to make one change to the code, in the method "code
> >> sign":
> >>
> >> Change
> >>
> >> $infoPlistPath:=$applicationPath+Folder separator+\
> >>
> >> "Contents"+Folder separator+"Info.plist"
> >>
> >>
> >> to
> >>
> >>
> >> $infoPlistPath:=$applicationPath+\
> >>
> >> "Contents"+Folder separator+"Info.plist"
> >>
> >> Pat
> >>
> >> On Thu, 4 Apr 2019 at 01:32, Keisuke Miyako via 4D_Tech <
> >> 4d_tech@lists.4d.com> wrote:
> >>
> >>> the text edit setting "smart dashes" may convert double hyphens to
> dash,
> >>> which is not what you want in this context.
> >>>
> >>> https://support.apple.com/kb/PH23628?locale=ja_JP=en_US
> >>>
> >>> a single hyphen must be used with a short option name (-f)
> >>> a double hyphen must be used with a short option name (--force)
> >>>
> >>> -force is therefore an invalid instruction (single hyphen+long option
> >>> name).
> >>>
> >>> I've posted a utility to ease the process of signing
> >>>
> >>> https://github.com/miyako/4d-utility-build-application
> >>>
> >>> it is written in v17 but the target app path can be any path.
> >>>
> >>> 2019/04/03 8:05、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com >>> 4d_tech@lists.4d.com>>のメール:
> >>> —force: No such file or directory
> >>>
> >>>
> >>> **
> >>> 4D Internet Users Group (4D iNUG)
> >>> Archive:  http://lists.4d.com/archives.html
> >>> Options: https://lists.4d.com/mailman/options/4d_tech
> >>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >>> **
> >>
> >>
> >>
> >> --
> >> *
> >> CatBase - Top D

Re: Code signing works on one app but fails on another

2019-04-24 Thread Pat Bensky via 4D_Tech
Actually it doesn't seem to be working ... it seems to corrupt the app in
some way.
It's quite bizarre ... I compile the app, sign it using Miyako's code, and
create a disk image using DropDMG. I check it by mounting the disk image
and installing the app. It runs OK.
Then I upload it to DropBox.
Download it from Dropbox, open it, install it, and it will not run. The app
starts to open and then I get the message "CatBase 8 is damaged and can't
be opened."

Any ideas?

On Thu, 4 Apr 2019 at 11:52, Pat Bensky  wrote:

> Brilliant, thank you Miyako!
> Note that I needed to make one change to the code, in the method "code
> sign":
>
> Change
>
> $infoPlistPath:=$applicationPath+Folder separator+\
>
> "Contents"+Folder separator+"Info.plist"
>
>
> to
>
>
> $infoPlistPath:=$applicationPath+\
>
> "Contents"+Folder separator+"Info.plist"
>
> Pat
>
> On Thu, 4 Apr 2019 at 01:32, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> the text edit setting "smart dashes" may convert double hyphens to dash,
>> which is not what you want in this context.
>>
>> https://support.apple.com/kb/PH23628?locale=ja_JP=en_US
>>
>> a single hyphen must be used with a short option name (-f)
>> a double hyphen must be used with a short option name (--force)
>>
>> -force is therefore an invalid instruction (single hyphen+long option
>> name).
>>
>> I've posted a utility to ease the process of signing
>>
>> https://github.com/miyako/4d-utility-build-application
>>
>> it is written in v17 but the target app path can be any path.
>>
>> 2019/04/03 8:05、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 4d_tech@lists.4d.com>>のメール:
>> —force: No such file or directory
>>
>>
>> **
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>
>
>
> --
> *
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *
>


-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Double Clickable app where should plugins be?

2019-04-18 Thread Pat Bensky via 4D_Tech
Yes - inside the Contents folder.  BTW you can get a list of all installed
plugins:

*ARRAY LONGINT*(lPluginNumbers;0)

*ARRAY TEXT*(atPlugInNames;0)

*PLUGIN LIST*(lPluginNumbers;atPlugInNames)

Pat

On Thu, 18 Apr 2019 at 19:25, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I have just created my first 2xclickable app.
> It starts (yeah)!
>
> In my startup routine I check for needed plugins & components.
> The system uses a plugin.
>
> Where should the 'Plugins' folder be (on Mac):
> - inside the app package, inside the 'contents' folder
> - inside the app package, inside the 'contents' inside the database
> folder
>
> somewhere else?
>
> Thanks
> Chip
>
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: trying to Build double clickable app

2019-04-17 Thread Pat Bensky via 4D_Tech
Chip,
You should have two licences selected in the Licences tab:
- 4D Developer Porofessional
- 4D Unlimited Desktop

PB

On Wed, 17 Apr 2019 at 20:21, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> yes I located the Volume desktop app.
>
> and Chcuck,
> getting the license installed is the problem.
>
> Chip
> On Wed, 17 Apr 2019 15:18:30 -0400, Jeremy French wrote:
> > Hi Chip,
> >
> > As Chuck points out, did you specify the location of Unlimited Desktop?
> >
> > That is,
> > Choose DESIGN -> BUILD APPLICATION.
> > Select the “Application” tab.
> > Check-mark “Build stand-alone application”.
> > Click the ellipsis button (ie, “…”) and select 4D Volume Desktop.
> > Click BUILD.
> >
> > - Jeremy
> >
> >> On Apr 17, 2019, at 2:24 PM, Chip Scheide via 4D_Tech
> >> <4d_tech@lists.4d.com> wrote:
> >>
> >> am I missing something?
> >
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: I really recommend the 4D World Tour

2019-04-10 Thread Pat Bensky via 4D_Tech
Thanks for that Kirk. I found your ORDA comments interesting.
I'll be at the London event.
Pat

On Wed, 10 Apr 2019 at 15:00, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Heading home from the WT in Atlanta. For me this was the best WT so far and
> I've been to them all. I think anyone using 4D benefits from attending. The
> first day is free. In previous WTs day one was more of a sales pitch and
> feature overview. Not so this time. There are 17 demo databases in day one.
> They highlight and present many of the new capabilities involving ORDA,
> Form, dynamic forms and a more refined preview of 4D for iOS. There are a
> number of useful elements you can pull right into a project - assuming you
> are working v17+.
>
> And this is really a critical point - the World Tour is focused on the
> future of 4D and that future is ORDA. Actually it is more than just ORDA.
> ORDA is the new, modern direction of programming 4D is taking. It's not
> everything, though. The change in the way we can work with forms isn't
> connected with ORDA per se but it's no less a profound change. And a
> welcome one form me. I really like the form editor but the ability to
> create forms dynamically and store their definitions externally in JSON
> files is a good thing. The ability to store an entire 4D database (it will
> be known as a Project) will be available soon (though not committed to).
>
> The first day exposes you to many of the new features in 4D and clearly
> lays out the thinking behind the changes made and to come. This alone makes
> it worth the time and expense to travel to it.
>
> The second day is for those of us using 4D professionally. JPR and Add have
> spent time putting together excellent demos and presentations. These demo
> the nuts and bolts of effectively working with ORDA and forms. This is
> information you will need to effectively apply these new techniques in real
> world projects. And once more there are bits and pieces you can pull right
> out of a demo and use yourself which do useful things.
>
> I was chatting with someone yesterday morning and he asked me what my 3 big
> take-aways were up to then. Here's what I wrote back:
>
> #1 - all the time I’ve spent learning to use ORDA has been spot on and well
> spent. (I finished yesterday for the first time feeling like I kept up with
> JPR.)
> #2 - this is truly the way forward for 4D.
> #3 - because it’s the way forward it is where all the resources are being
> focused. And they are moving fast.
> #4 - it’s super important to grasp the concept of references vs. the way we
> have thought about variables in the past.
>
> (get the reference to my off-by-one joke?)
>
> I have been actively working on educating myself on ORDA and object
> oriented programming for the past few months. And I really did feel like I
> was keeping up with JPR right up to the end of day 1. Not so much on day 2
> but at least my eyes didn't glaze over. The point, though, is how much
> programming in 4D is changing. 4D classic and backward compatibility is not
> in danger. I mean - they've been threatening to remove subtables for how
> many years and 4D still deals with them if it needs too. Mostly. So old
> school programming done with 4D classic is going to run on new versions of
> 4D for probably longer than any of us will be able to write intelligible
> code. (Assuming you can write intelligible code now...) But all the new
> work is being focused on ORDA and its associated technology.
>
> Why? Because Laurant believes it's the direction to go. It's a modern
> approach to programming. You can (and will) argue with that but it's where
> this train is headed.
>
> Do you need to get on board?
>
> I mean that seriously. The fact is you may not. There are a lot of us who
> have used 4D for a long, long time. We've written bunches of apps, have
> them deployed and running just fine. It's like a retired neighbor said to
> me when we were talking about repairing a fence on our common lot line: "it
> only has to last as long as I do."  Personally I don't think there is any
> compelling reason to take old code that's running fine and try to inject
> ORDA into it. There is no advantage. As I understand it the database engine
> in 4D is the same engine that Wakanda used. Wakanda exposed more
> capabilities of that engine but at the core it's the same engine. ORDA is
> rolling out so fast because the engine is already there and tested. ORDA is
> a programming layer, if you will. 4D classic is different layer. ORDA is
> faster to develop with and requires less code to accomplish the same
> results. It's also more comprehensible to folks already accustomed to OOP
> languages or javaScript. I think there are some cases where classic 4D may
> be faster on basic operations but I don't think those will stand because
> ORDA is where the focus is.
>
> If you are planning on retiring in the next few years, or selling your
> vertical market app there's no real reason for you to worry 

Re: LEP - hide console?

2019-04-09 Thread Pat Bensky via 4D_Tech
So simple!
thanks guys.

On Tue, 9 Apr 2019 at 11:39, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hi Pat,
>
> Did you try calling SET ENVIRONMENT VARIABLE with the
> _4D_OPTION_HIDE_CONSOLE option?  It works with normal batch windows... not
> sure about PowerShell windows.
>
>
> https://doc.4d.com/4Dv15/4D/15.6/SET-ENVIRONMENT-VARIABLE.301-3817570.en.html
>
> Jeff
>
>
> > On Apr 9, 2019, at 5:34 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > So I now have a Powershell script which converts a Word document to PDF.
> > Unfortunately it briefly shows the Powershell console window when it
> starts
> > the script, which is rather ugly and I would prefer not to inflict it
> upon
> > my users.
> > Is there any way to prevent it from appearing?
> >
> > Here's my LEP code:
> >
> > $tExecute:="powershell -windowstyle hidden -ExecutionPolicy ByPass -File
> > "+Char(34)+$ScriptPath+Char(34)+" "+Char(34)+tDocnameWord+Char(34)
> > LAUNCH EXTERNAL PROCESS($tExecute)
> >
> > "-windowstyle hidden" stops the console from being displayed the whole
> time
> > the script is running, but it still appears for a couple of seconds.
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
*
CatBase - Top Dog in Data Publishing
tel: +44 (0) 207 118 7889
w: http://www.catbase.com
skype: pat.bensky
*
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

  1   2   3   4   >