Re: Where is the trace/debug command?

2021-10-07 Thread Wayne Stewart via 4D_Tech
Keith,

What I do is create a method that includes the following code:

If (Caps Lock Down)
TRACE
End if

Then I just put the method wherever I need it.

You could also add another flag to trigger the trace via an IP variable as
well for example.


Wayne

On Fri, 8 Oct 2021 at 11:36, Keith Goebel via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Thanks everyone for your replies.
> Yes, there are ways to force a trace using code, but I’m referring to
> those occasions where you simply want to check a piece of code without
> having to make code additions and then deletions.
> Very surprised it hasn’t been addressed by 4D yet as it’s a *very*
> annoying bug.
> Perhaps it’s being addressed in v19 (I have not even seen that one yet).
> Cheers, Keith
> **
> 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
> **

-- 

Regards,

Wayne
**
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-04 Thread Wayne Stewart via 4D_Tech
Kirk,

iLB is from listbox magic (Barclay Berry) distributed by Walt Nelson a few
years back.
It’s a hook method for the component.

Wayne

On Tue, 5 Oct 2021 at 08:16, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> It's probably not a trace but an error. What's iLB_Hook? Sounds like
> something there.
>
> On Mon, Oct 4, 2021 at 10:59 AM Paul Chernoff via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > I am porting some 4D databases from v18.5 to v19.2. What is odd is that
> > some iLB_Hook procedures are triggering tracing. But I look at the
> > procedures and I do not see the Trace command nor the red circuit. And
> this
> > never happened in version 18 or earlier. Is there now some invisible
> trace
> > command?
> >
> > —Paul Chernoff
> > **
> > 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
> > **
>
>
>
> --
> Kirk Brooks
> San Francisco, CA
> ==
> **
> 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
> **

-- 

Regards,

Wayne
**
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: Import from an Excell files

2021-09-26 Thread Wayne Stewart via 4D_Tech
It’s pretty good for export and import.

On Mon, 27 Sep 2021 at 09:38, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> does view pro really support xls?
>
> I thought it only accepted xlsx.
> **
> 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
> **

-- 

Regards,

Wayne
**
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: SuperReport printer choice not respected by Windows 10

2021-06-09 Thread Wayne Stewart via 4D_Tech
Peter,

Why not specify the printer immediately before the print job?

https://doc.4d.com/4Dv18/4D/18.4/SET-CURRENT-PRINTER.301-5233936.en.html

I have no experience with SuperReports.

Wayne

On Wed, 9 Jun 2021 at 17:30, Peter Adam via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I am finding that the choice of printer that I specify in my superReports
> is not being respected by Windows 10. Instead the “Default” printer is
> being used.
>
> I am looking for a way around this.
>
> I am using 4D v17R6 and SuperReports 4.2.1
>
>
>
>
> Cheers,
>
> Peter Adam
> Adam, Zievert & Associates P/L
>
> e: peter.a...@me.com
> Skype Phone: +61 3 9016 379
> t:  +61 3 9836 3539
> m: 0419 552 462
> www.adamzievert.com.au
>
>
>
> **
> 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
> **

-- 

Regards,

Wayne
**
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: [4D v18.3; Mac {10.13.6} + {10.15.7}] LEP-voodoo

2021-03-20 Thread Wayne Stewart via 4D_Tech
Jörg,

You don’t need to as far as I know.

A .4db is just a document.

It’s only the application that needs to be signed. Maybe plug-ins as well
I’m not sure, but not the .4db

Wayne

On Sat, 20 Mar 2021 at 23:30, Jörg Knebel via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hey Champion,
>
> > On 07 /03 /2021, at 13:59, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > yes, it does not matter if you are in development or production,
> compiled or interpreted.
> > access to the camera requires entitlements, code signature,
> notarisation, and not of the plugin, but of the app (4D) itself.
>
> I successfully signed the compiled application Standalone.app with
> "Developer ID Application: Jorg Knebel (**)” with the build in function
> of 4D and verified the signature.
>
> BUT, how in the fu hell do I sign the interpreted/development (*.4DB)
> version of my creation?
>
> Do I have to sign the “*.4DB” and/or the “*.4dbase” thing??
>
> I’ll use the terminal to sign what ever has to be signed that enables me
> to continue developing:
>
> codesign --deep --force --verbose --sign " Knebel (**)>” $Path/To/My/Development
>
> I would appreciate a definite “How to...” answer, but will accept “this is
> a total Apple-Fu**-Up”.
>
> Thanks
>
> Cheers
> Jörg
>
> **
> 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
> **

-- 

Regards,

Wayne
**
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: Drag and drop replacement command(s)?

2020-09-13 Thread Wayne Stewart via 4D_Tech
Keith,

A better place to ask this sort of question is on the new forum:
https://discuss.4d.com

Alternatively, you can always ask 4D Australasia tech support.

Quoting from the docs:
Since version 11 of 4D, it is recommended to manage drag and drop
operations using the On Begin Drag Over event and the commands of the
Pasteboard theme.
This command is deprecated starting with 4D v17 R4 and should no longer be used.

I used it a lot as well, so it required a bit of reconfiguring.

The best documentation is in the introduction to the topic:
https://doc.4d.com/4Dv18/4D/18/Drag-and-Drop.300-4505037.en.html

Regards,

Wayne



On Sun, 13 Sep 2020 at 14:06, Keith Goebel via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> Hi all.
> I’m upgrading a structure to v18 (Win) and am trying to replace the obsolete 
> command
> _O_DRAG AND DROP PROPERTIES($Source_Object_p;$Source_Element_l;$Process_ID_l)
> with the v18 equivalent for the purposes of handling drag and drop between 
> two array based list boxes.
>
> An element in either listbox can be dragged to the other listbox and, upon 
> dropping, have the source listbox and dragged element number checked for 
> correctness and processed relevantly.
>
> I have checked the documentation for Language Ref, Deprecated or Removed 
> Features, Pasteboard theme, and KnowledgeBase but can find no explanations or 
> examples anywhere that tell me how to identify the dragged source listbox and 
> element.
> I can’t find any v18 demo db that mentions drag and drop in its name.
> I’m sure must be an easy way to do it but I just can’t find it.
>
> Can anyone point me in the direction of the info I need to accomplish the 
> equivalent of the old command?
> TIA, Keith
>
> PS: I know about the new 4D NUG list but it doesn’t work well on my old Mac 
> and I still see some activity on this one.
> **
> 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
> **
**
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: 4D Friday Happy Hour on ZOOM

2020-04-24 Thread Wayne Stewart via 4D_Tech
Good attendance, thanks Kirk.

For all those that didn't attend, you should have.

Regards,

Wayne




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
> **
**
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 Wayne Stewart via 4D_Tech
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
**

Re: Where Are All The Steppers And Spinners?

2020-04-01 Thread Wayne Stewart via 4D_Tech
Hi,

I just ran up a test database it's definitely in project but not in old mode

Regards,

Wayne




On Thu, 2 Apr 2020 at 08:56, Tom Benedict  wrote:

> >you need to be in project mode for that.
>
> Is that documented? I’m looking at
> https://developer.4d.com/docs/en/FormObjects/stepper.html  and I don’t
> see any mention of Project Mode dependency.
>
> What other new features require Project Mode?
>
> Tom Benedict
>
> On Apr 1, 2020, at 14:46, Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> G'Day Allan,
>
> I you need to be in project mode for that.
>
> Regards,
>
> Wayne
>
> On Thu, 2 Apr 2020 at 08:41, Allan Udy via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> Hi All,
>
> A bit gutted that we're not in Chicago right now meeting some of you,
> but hey what can you do -- it's a changing world!
>
> Anyway, here's a question for you to ponder regarding the new Stepper
> and Spinner objects (https://kb.4d.com/assetid=78429)...
>
> Any ideas why I cannot see either the Spinner or Stepper in my copy of
> 4D v18.1?  All I'm seeing is Progress Indicator, Dial and Ruler
>
> I looked for the Spinner a while back in 18.0, and couldn't find it, but
> at the time just ignored the fact that it was missing.
>
> I would like to use a Stepper though, if I can find it.  ;-)
>
> Hope you're all staying well.
>
> Cheers,
> Allan Udy
>
> Golden Micro Solutions Ltd, Blenheim, New Zealand
> http://www.golden.co.nz<http://www.golden.co.nz>
>
>
>
>
**
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: Where Are All The Steppers And Spinners?

2020-04-01 Thread Wayne Stewart via 4D_Tech
G'Day Allan,

I you need to be in project mode for that.

Regards,

Wayne




On Thu, 2 Apr 2020 at 08:41, Allan Udy via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hi All,
>
> A bit gutted that we're not in Chicago right now meeting some of you,
> but hey what can you do -- it's a changing world!
>
> Anyway, here's a question for you to ponder regarding the new Stepper
> and Spinner objects (https://kb.4d.com/assetid=78429)...
>
> Any ideas why I cannot see either the Spinner or Stepper in my copy of
> 4D v18.1?  All I'm seeing is Progress Indicator, Dial and Ruler
>
> I looked for the Spinner a while back in 18.0, and couldn't find it, but
> at the time just ignored the fact that it was missing.
>
> I would like to use a Stepper though, if I can find it.  ;-)
>
> Hope you're all staying well.
>
> Cheers,
> Allan Udy
>
> Golden Micro Solutions Ltd, Blenheim, New Zealand
> http://www.golden.co.nz
>
> **
> 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
**

Re: 4D Summit Virtual?

2020-03-11 Thread Wayne Stewart via 4D_Tech
Hi,

Of course the French won’t be there now.

Wayne

On Thu, 12 Mar 2020 at 14:48, Neil Dennis via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> > We’re fine here in Chicago.  I’m still going.
>
> If they have it, I will come…
>
> Neil
>
> --
> **
> 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
**

Re: auto upgrade component

2020-01-07 Thread Wayne Stewart via 4D_Tech
Chuck,

I wouldn't use the component as is, if it's the one I'm thinking of I
used it for ideas to write my own version, with some extra
customisation.

Regards,

Wayne



On Wed, 8 Jan 2020 at 05:43, Charles Miller via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> My mistake not a component it comes from summit 77598-AutoAppUpdates.
> I am thinking of implementing and wondering how well it really works
> and was customization needed
>
> Chuck
>
> On Tue, Jan 7, 2020 at 1:38 PM Pat Bensky via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
> >
> > 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
> > **
>
>
>
> --
> -
>  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
> **
**
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: Mac OS Catalina, V16.6, permissions, etc.

2019-11-10 Thread Wayne Stewart via 4D_Tech
Walt,

I'm doing the same but with Parallels.

I'm running MacOS 10.12.6 Sierra

Regards,

Wayne




On Mon, 11 Nov 2019 at 09:08, Walt Nelson via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Bob,
>
> Have you thought of creating a VMWare (or equivalent) boot to run Mojave?
>
> I will be doing that as so many apps I use are still not 64-bit to say
> nothing of running legacy versions of 4D?
>
> I know this doesn’t help with your permissions w/Catalina…
>
> Thanks,
> Walt
>
>
> > On Oct 31, 2019, at 10:27 PM, Robert McKeever via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Anyone else having permission problems with Catalina?
>
> **
> 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
**

Re: 4d v16.6 and OS X 10.11.6

2019-11-01 Thread Wayne Stewart via 4D_Tech
Chip,

It works but crashes frequently, especially in development.

I created a background process that brought process #1 to the front every
five minutes.  That way at most I'll lose 5minutes of work.

Regards,

Wayne




On Sat, 2 Nov 2019 at 07:31, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> does anyone have any experience with this combination?
>
> Both from a development (stand alone) and Client/server installation.
> I know the matrix says - not supported, but v16 starts on OS X
> 10.11.6...
>
> Thanks
> Chip
> We have done so much, with so little, for so long;
> We are now qualified to anything with nothing 
>   - unknown
> **
> 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
**

Re: [v17.3] - Clear 4D-Oject

2019-09-23 Thread Wayne Stewart via 4D_Tech
Jörg,

I would suggest you use New Object again, assuming you want the object
to still exist but just be empty.

C_OBJECT($MyObject_o;$MyOtherObject_o)
$MyObject_o:=New object("Wombats";"Are Cute")
$MyOtherObject_o:=New object("Echidnas";"Are NOT cuddly")

$MyObject_o:=New object
//  $MyObject_o is {}

CLEAR VARIABLE($MyOtherObject_o)
//  $MyOtherObject_o is Null

$MyOtherObject_o.Platypodes:="Are also egg laying monotremes"
//  This will give an error Undefined Object

$MyObject_o.Koalas:="Are the Wombats of the trees."
//  This won't give an error

Regards,

Wayne



On Tue, 24 Sep 2019 at 10:27, Jörg Knebel via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
>
>
> > On 24 Sep 2019, at 10:21 AEST, Randy Engle via 4D_Tech 
> > <4d_tech@lists.4d.com> wrote:
> >
> > Clear Variable (object)
>
> Arrrgh, that’s it - Thanks
> **
> 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
**

Re: 4D Volume Desktop has stopped working

2019-09-17 Thread Wayne Stewart via 4D_Tech
Allan,

Are you running SDI mode?  Check if 4D is still running in the
background with nothing visible (which should cause it to quit but you
never can tell).

Regards,

Wayne




Regards,

Wayne




On Wed, 18 Sep 2019 at 08:27, Allan Udy via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> Hi all,
>
> Starting to get a bit desperate here, so wondering if anyone else has
> come across this issue .  one of our customers is running a built
> server, v17R4. The Server is running on Windows Server 2019, upwards of
> 15 clients running on Windows 10.
>
> The bulk of the clients are fine, but there's a couple who are regularly
> having issues with the 64-bit client crashing with the standard error
> message '4D Volume Desktop has stopped working', and so they revert to
> using a 32-bit client which works perfectly fine for them.  Quite often
> the client user will attempt to restart 64-bit several times (after
> having used it OK for an hour or so), and it simply will not start at
> all (hence the reversion to 32-bit client).
>
> Customer is very reluctant to move to v17R5 (64-bit only) until this
> issue is resolved, and I can understand why!
>
> Anyone have any suggestions as to what I could look at to solve this?
>
>
> Cheers,
> Allan Udy
>
> Golden Micro Solutions Ltd, Blenheim, New Zealand
> http://www.golden.co.nz
>
> **
> 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
**

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

2019-08-02 Thread Wayne Stewart via 4D_Tech
Hi,

One disadvantage is that there is only one execution stream with multiple
windows in the one process.

If something is taking time in one window (a sequential search or sort or a
even just a long method) execution will stop in all other windows, the UI
will freeze etc



On Sat, 3 Aug 2019 at 02:29, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hi Pat,
> For something like that I would think about using a palette or toolbar-ish
> window as the 'root', if you will, for the UI process.
> That could actually simplify things - if the user attempts to close it you
> confirm they want to quit. And then you don't have to fuss around with
> counting windows opened and closed.
>
> On Fri, Aug 2, 2019 at 9:19 AM Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com>
> wrote:
>
> > 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
> > > 

Re: Macs slow down generating PDFs

2019-07-02 Thread Wayne Stewart via 4D_Tech
What's memory consumption look like?

Regards,

Wayne



On Wed, 3 Jul 2019 at 05:44, ADeeg via 4D_Tech <4d_tech@lists.4d.com> wrote:
>
> 4D Tech mailing list wrote
> > Anyone notice that generating a large batch of PDFs on MacOS slows down?
> > I'm trying to generate several thousand PDFs, and it starts out (on my
> > Mac) at a clip of over 1 per second... after an hour it's down one every
> > few seconds... after a few hours its a couple of PDFs per minute.
> >
> > Same code on Windows doesn't have this gradual slowdown.
>
> maybe spotlight ? exclude the pdf destination folder from indexing.
>
> Armin
>
>
>
>
> --
> 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
> **
**
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: Filter MSC Log File?

2019-06-18 Thread Wayne Stewart via 4D_Tech
What you need to do is go to the logs folder and open with bbedit or
notepad++ and then search within the xml file

Regards,

Wayne



On Wed, 19 Jun 2019 at 08:11, Wayne Stewart  wrote:
>
> Tim,
>
> That doesn't work because it's a just a visual element rendered in the
> web browser.
>
> Here's an example from verify structure.
>
> MS Edge: http://cthulhu.casa/images/4d/edge.png
>
> Safari:  http://cthulhu.casa/images/4d/safari.png
>
> Here's the XML:
>
> 
> 
>   Attach_Drop : 10 lines
>   
> 
>   Attach_Drop.Page1.List Box : 59 lines
>   
> Referenced style sheet
> not found for this object: Attach_Drop.Page1.File Names ()
> Referenced style sheet
> not found for this object: Attach_Drop.Page1.Listbox Header
> ()
> 
>   Attach_Drop.Page1.Drop Zone () : 60 lines
>   
> 
>   Attach_Drop.Page1.Delete () : 49 lines
>   
> 
>   Attach_Drop.Page1.Import () : 52 lines
>   
> 
>
>
>
>
> Regards,
>
> Wayne
>
>
>
>
> Regards,
>
> Wayne
>
>
>
>
> On Wed, 19 Jun 2019 at 07:57, Timothy Penner via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
> >
> > Have you tried Ctrl+F (find in page)?
> >
> > -Tim
> >
> >
> >
> >
> > **
> > 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
**

Re: Filter MSC Log File?

2019-06-18 Thread Wayne Stewart via 4D_Tech
Tim,

That doesn't work because it's a just a visual element rendered in the
web browser.

Here's an example from verify structure.

MS Edge: http://cthulhu.casa/images/4d/edge.png

Safari:  http://cthulhu.casa/images/4d/safari.png

Here's the XML:



  Attach_Drop : 10 lines
  

  Attach_Drop.Page1.List Box : 59 lines
  
Referenced style sheet
not found for this object: Attach_Drop.Page1.File Names ()
Referenced style sheet
not found for this object: Attach_Drop.Page1.Listbox Header
()

  Attach_Drop.Page1.Drop Zone () : 60 lines
  

  Attach_Drop.Page1.Delete () : 49 lines
  

  Attach_Drop.Page1.Import () : 52 lines
  





Regards,

Wayne




Regards,

Wayne




On Wed, 19 Jun 2019 at 07:57, Timothy Penner via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> Have you tried Ctrl+F (find in page)?
>
> -Tim
>
>
>
>
> **
> 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
**

Re: Filter MSC Log File?

2019-06-18 Thread Wayne Stewart via 4D_Tech
I always open the files with BBEdit and search the text.

I can’t recall the tag but you need to look for the HTML tag.

On Wed, 19 Jun 2019 at 07:11, Keith Goebel via 4D_Tech <4d_tech@lists.4d.com>
wrote:

>
> > On 19/06/2019, at 7:00 am, Tom Benedict wrote:
> > Is there a way to filter the log file that is generated by MSC? I want
> to only see the warnings or errors and filter out the rest. The log is
> hundreds of pages and scrolling through it looking for warnings is tedious.
>
> Tom, I have encountered this also - it makes checking the MSC results a
> real pain.
> Anyone know why 4D decided to do that?
> Cheers, Keith
>
> **
> 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
**

Re: Split Screen Support with 4D and MacOS?

2019-04-30 Thread Wayne Stewart via 4D_Tech
Hi,

Like Chip said - two copies of 4D

This is also a really useful app from the App Store if you want
something splitscreenie (is there such a thing?)

https://itunes.apple.com/au/app/bettersnaptool/id417375580?mt=12

Regards,

Wayne



On Wed, 1 May 2019 at 08:25, Chip Scheide via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> Tom,
> don't copy/paste
> drag n drop
>
> - open 2 copies of 4D with what ever systems you want
> - display the explorer in both
> - adjust the windows so you can see the column (list of methods/forms
> whatever) in the destination.
> - drag from the source to destination.
>   -- release when the cursor is a green +
>
> example
> source  -- moving 5 methods
> - select the 5 methods
> - click and hold any of the selected ones, drag
> - drag to explorer window in destination
> - drop
>
> depending on your setting you may see a dialog to click through
> regarding what to do with duplicated resources (style sheets, methods
> etc)
>
> Chip
>
> On Tue, 30 Apr 2019 15:05:00 -0700, Tom Benedict via 4D_Tech wrote:
> > After 25 years of using 4D on Windows I have started using 4D on Mac.
> > I am rather surprised at how many useful productivity features in
> > Windows are extremely hard to accomplish on MacOS. I suspect it’s
> > mostly a newbie thing.
> >
> > Right now I’m trying to copy/paste a lot of code edit from one 4D
> > structure to another. I have read that it is possible to set up ‘
> > split screen’ views of applications on MacOS, which would make it a
> > lot easier to keep track of my changes. To assign and application to
> > a split portion of a screen you’re supposed to click-hold on the “
> > full screen” (green) button in any window’s titlebar, then drag the
> > resulting small window image to the side of the screen you want the
> > app to be limited to. That works for non-4D apps, but click-hold on
> > the “full screen” button on a 4D window doesn’t appear to do
> > anything on a 4D window (no small windows image appears). I’ve tried
> > this with 4D v15 and v16.
> >
> > Am I missing something? If not, how do others work with two 4D
> > structures on MacOS?
> >
> > 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
> > **
> ---
> 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
**

Re: Checking If Methods Are Preemptive Ready

2019-04-11 Thread Wayne Stewart via 4D_Tech
Cannon,

I can't find the db I did this in but what I did was this:

METHOD GET PATHS(Path project method;$MethodNames_at)
METHOD GET ATTRIBUTES($MethodNames_at;$Attributes_ao)

Create a new array with those that area already marked as preemptive
safe.  Save it somewhere
Then use METHOD SET ATTRIBUTES to set them all to preemptive safe.
Compile and enjoy all the errors coming in.

You should be able to work through the list (slowly).
If you run out of time reapply the original set of attributes from the
initial call.

Then repeat until you've got everything that is safe labelled that way.

Regards,

Wayne



On Fri, 12 Apr 2019 at 07:05, Keisuke Miyako via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> that's right, method attributes only inform you of their preferences.
>
> you could enable symbol file generation, compile, and look at the bottom of 
> the generated symbol file.
>
> > 2019/04/12 3:33、Cannon Smith via 4D_Tech <4d_tech@lists.4d.com>のメール:
> >
> > I believe that preemptive capable in that context just means that you’ve 
> > set the method properties that way. I don’t think it means that if you 
> > tried to compile the code would actually work in a preemptive context. I’d 
> > be happy to be corrected if I’m wrong?
>
>
>
>
> **
> 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
**

Re: Comparing two structures...

2019-02-26 Thread Wayne Stewart via 4D_Tech
Here's routine which I've had for the last quarter century.  I just
tweaked it today to get rid of dependencies.

  // 
  // Project Method: Structure Description {(Include Relations)}

  // Creates a text description of the structure
  // by default this includes relation data
  // pass False in $1 to just report on fields

  // Parameters:
  //   $1 : Boolean : Include elationship data (optional)

  // Created by somebody on the iNUG
  //--  Date   Prog   Change Made
  //--     -  --
  //--  10/09/92WPFProgram Written.
  //--  24/02/94WBSModification by Wayne Stewart
  //--  2019-02-26  WBSTidied it up so not dependent on any
other methods
  // 

If (False)


End if

C_BOOLEAN($1)

C_BOOLEAN($IncludeRelations_b;$indexed_b;$invisible_b;$unique_b)
C_LONGINT($CurrentField_i;$CurrentTable_i;$element_i;$fieldLength_i;$fieldType_i;$NumberOfFields_i;$NumberOfTables_i;$oneField_i;$oneTable_i;$Position_i)
C_TIME($DocumentReference_h)
C_POINTER($field_ptr)
C_TEXT($CR_t;$fieldLength_t;$fieldType_t;$file_line_t;$indexDescription_t;$invisibleDescription_t;$isIndexed_t;$isInvisible_t;$isUnique_t;$ReportText_t)
C_TEXT($StructureName_t;$Tab_t;$uniqueDescription_t)

If (False)
C_BOOLEAN(Util_StructureDescription;$1)
End if



If (Count parameters=1)
$IncludeRelations_b:=$1
Else
$IncludeRelations_b:=True
End if

$CR_t:=Char(13)
$Tab_t:=Char(9)
$file_line_t:=(8*"=")+$Tab_t+(15*"=")+$CR_t
$indexDescription_t:="Indexed"
$uniqueDescription_t:="Unique"
$invisibleDescription_t:="Invisible"

  //-- determine the number of files in the database
$NumberOfTables_i:=Get last table number

If (True)  //  Get the database name
$StructureName_t:=Structure file
$Position_i:=Position(Folder separator;$StructureName_t)

While ($Position_i>0)
$StructureName_t:=Substring($StructureName_t;$Position_i+1)
$Position_i:=Position(Folder separator;$StructureName_t)
End while

$StructureName_t:=Replace string($StructureName_t;".4DB";"")
$StructureName_t:=Replace string($StructureName_t;".4DC";"")
End if

If (True)  //   Build a type array
ARRAY TEXT($Types_at;255)

For ($element_i;1;255)  // set them all to a default value
$Types_at{$element_i}:="Unknown Type"
End for

$Types_at{0}:="Is alpha field"
$Types_at{1}:="Is real"
$Types_at{2}:="Is text"
$Types_at{3}:="Is picture"
$Types_at{4}:="Is date"
$Types_at{5}:="Is undefined"
$Types_at{6}:="Is boolean"
$Types_at{7}:="Is subtable"
$Types_at{8}:="Is integer"
$Types_at{9}:="Is longint"
$Types_at{11}:="Is time"
$Types_at{13}:="Array 2D"
$Types_at{14}:="Real array"
$Types_at{15}:="Integer Array"
$Types_at{16}:="LongInt Array"
$Types_at{17}:="Date Array"
$Types_at{18}:="Text Array"
$Types_at{19}:="Picture Array"
$Types_at{20}:="Pointer Array"
$Types_at{21}:="String Array"
$Types_at{22}:="Boolean Array"
$Types_at{23}:="Pointer"
$Types_at{24}:="Is string var"
$Types_at{25}:="Is integer 64 bits"
$Types_at{30}:="Blob"
$Types_at{31}:="Blob array"
$Types_at{32}:="Time array"
$Types_at{35}:="Is float"
$Types_at{38}:="Is object"
$Types_at{39}:="Object array"
$Types_at{42}:="Is collection"
$Types_at{255}:="Is null"

End if

  // Start building the report
$ReportText_t:="Structure Description for "+$StructureName_t+(2*$CR_t)

For ($CurrentTable_i;1;$NumberOfTables_i)  //-- For each file…

If (Is table number valid($CurrentTable_i))

  //-- determine the number of fields in this file
$NumberOfFields_i:=Get last field number($CurrentTable_i)

  //-- create a new "header" for this file
$ReportText_t:=$ReportText_t+"Table:
"+String($CurrentTable_i)+$Tab_t+Table
name($CurrentTable_i)+$CR_t+$file_line_t

For ($CurrentField_i;1;$NumberOfFields_i)  //-- For each field…

If (Is field number valid($CurrentTable_i;$CurrentField_i))

  //-- get a pointer to the field
$field_ptr:=Field($CurrentTable_i;$CurrentField_i)

  //-- determine the field’s attributes
GET FIELD 
PROPERTIES($field_ptr;$fieldType_i;$fieldLength_i;$indexed_b;$unique_b;$invisible_b)

  //-- get a text-description of the data type
$fieldType_t:=$Types_at{$fieldType_i}

  //-- the length is meaningful only if the field is alphanumeric
Case of
: ($fieldType_i=Is Alpha Field) & ($fieldLength_i=0)
$fieldLength_t:=""
$fieldType_t:="UUID"

: ($fieldType_i=Is Alpha Field)
$fieldLength_t:=String($fieldLength_i)

Else
$fieldLength_t:=""

End case

  //  Field properties
$isIndexed_t:=Choose($indexed_b;$indexDescription_t;"")
$isUnique_t:=Choose($unique_b;$uniqueDescription_t;"")
$isInvisible_t:=Choose($invisible_b;$invisibleDescription_t;"")

$ReportText_t:=$ReportText_t+"Field: "+String($CurrentField_i)+$Tab_t\
+Field name($field_ptr)+$Tab_t\
+$fieldType_t+$Tab_t\
+$fieldLength_t+$Tab_t\
+$isIndexed_t+$Tab_t\
+$isUnique_t+$Tab_t\
+$isInvisible_t+$Tab_t\
+$CR_t

If ($IncludeRelations_b)
GET RELATION PROPERTIES($field_ptr;$oneTable_i;$oneField_i)

Re: Command Symbol as part of Title of Button

2019-01-16 Thread Wayne Stewart via 4D_Tech
John,

What I've done in the past (using Greek characters) was create an xliff
file (which is in UTF-8) with the text in it.  I'm pretty certain that
worked in v13+

Regards,

Wayne




On Thu, 17 Jan 2019 at 10:26, John J Foster via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi Tai,
>
> Thanks that works well in v17 (which I will keep around and use) but not
> in v15.2 (that’s the clients current working version).
>
> John…
>
>
> > On Jan 16, 2019, at 3:15 PM, Tai Bui  wrote:
> >
> > Hi,
> >
> > Hmm, not sure if it's just my machines or possibly caused by the emoji &
> symbol editor. But copying and pasting the character as a text character
> and not as an emoji/symbol allows me to paste the command symbol into the
> properties list Title section, the form editor and running the form seem to
> display the text properly.
> >
> > You can use
> > SET TEXT TO PASTEBOARD(Char(8984))
> > which generates the following character when pasting, ⌘
> >
> > Best Regards,
> > -Tai B.
> >
> >
> >
> > Tai Bui
> > Technical Services Engineer
> >
> > 4D Inc
> > 95 S. Market Street, Suite #240
> > San Jose,CA 95113
> > United States
> >
> > Telephone: +1-408-557-4600
> > Fax:   +1-408-271-5080
> > Email: t...@4d.com
> > Web:   www.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
> **
**
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
**

Strike through via unicode

2018-12-11 Thread Wayne Stewart via 4D_Tech
Hi,

I want to create some characters with a strikethrough via unicode.

On the Mac, the styled text area doesn't support this (from Language
Reference):

Strikethrough
...
Note : The "strikethrough" style is not supported under Mac OS,

However on wikipedia it says:

The “combining long stroke overlay” (U+0336) results in an unbroken stroke
across the text:
A̶B̶C̶D̶ ̶e̶f̶g̶h̶i̶
while the “combining short stroke overlay” (U+0335) results in individually
struck out characters:
A̵B̵C̵D̵ ̵e̵f̵g̵h̵i̵

I tried something like this:

For ($Char_i;1;Length($Code_t))
  $CharCode_i:=Character code($Code_t[[$Char_i]])
  $CharCode_i:=$CharCode_i+0x0335
  $Code_t[[$Char_i]]:=char($CharCode_i)
End for

But that didn't work :(

I'm sure it's just a simple logic problem, maybe someone can point it out?

Thanks,

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
**

Re: Form Scaling & Optimal Fonts...

2018-11-10 Thread Wayne Stewart via 4D_Tech
I really like to use “automatic” style sheet for all my forms.

There’s also automatic (additional) which is great for smaller text 11

On Sun, 11 Nov 2018 at 09:43, Robert ListMail via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> For many projects, I’m working with a larger team where the precise size
> of fonts and other stylesheet details are already decided. In this case,
> I’m designing new forms and optimizing some old ones via Windows 10 (for a
> legacy application that looks like it ran on a Mac Plus) and I wanted to
> make a wise choice about an approach with respect to: stylesheets; optimal
> fonts and sizes for each platform and what to do about form scaling, if
> anything. I’ve never thought much about the form scaling feature of 4D but
> it seems like scaling is always in effect with a default of  "Windows to
> Mac (75%)”.
>
> Form Scaling... Is this still a thing? :)
>
> While converting a v11-based structure to v17 that started life on a Mac
> many years before, I noticed that most forms seemed rather small on Windows
> (currently the only destination platform but I don’t want to exclude Mac
> clients). At first, the 133% increase in form size seemed seemed to fit the
> bill (if not slightly large). One issue I noticed is that the glass button
> graphics are obviously scaled beyond the bitmap (meaning that these buttons
> only look sharp at 48X48 and all standard 4D buttons are this size). I’ve
> never noticed scaling artifacts on other projects.
>
> V17 Default Stylesheet
> Windows 7 & 8 (Segoe UI, 12 point)
> Windows Classic (MS Sans Serif, 12 point)
> OS X (Lucida Grande, 13 point)
>
> Regarding the default stylesheet, what is “Windows Classic” and what
> stylesheet would Windows 10 use?
>
> Which Windows fonts and sizes do you find optimal for your 4D
> applications? Do you use explicit stylesheets? Do you use automatic
> stylesheets too?  Scaling other than 133%? I saw recently where 125% was
> considered optimal. I appreciate your thoughts on modern, high-quality form
> design.
>
> Thanks,
>
> Robert
>
>
>
>
>
> **
> 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
**

Re: 4D v17 pause when printing to Canon ImageRunner printer

2018-09-19 Thread Wayne Stewart via 4D_Tech
You can also set up a pool of clients, to share the workload or to
make certain at least one is available.

Regards,

Wayne



On Thu, 20 Sep 2018 at 11:24, Kirk Brooks via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> James,
>
> On Wed, Sep 19, 2018 at 5:26 PM James Brown via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > The reason we have the server do the printing is because we have people
> > pick orders using iPads with barcode scanners. When they have finished
> > picking, the server processes the order and prints out the invoice and
> > packing slip.
> >
> If it happens to be the case that printer is accessible from a machine
> running 4D client you could pass the printing jobs to it easily. If you
> don't already use it check out Register Client.
>
> http://doc.4d.com/4Dv15/4D/15.6/REGISTER-CLIENT.301-3818306.en.html
>
> When registered any other client or the server can run methods on it. This
> would eliminate the issues of attempting to print on the server.
>
> The only downside is the need for that machine to be on and logged in.
>
>
>
> --
> Kirk Brooks
> San Francisco, CA
> ===
>
> *We go vote - they go home*
> **
> 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
**

Re: Signing a MacOS Standalone Application - XCode version 9.2

2018-09-18 Thread Wayne Stewart via 4D_Tech
Jim,

Your explanation shows greater understanding of the issue than mine does!

Regards,

Wayne



On Wed, 19 Sep 2018 at 09:54, Jim Crate via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> Here’s the script I built to sign a built 4D app.  The xattr command will 
> strip all resource forks, so if your app depends on those it won’t run after 
> being signed. And you can’t sign the app if it contains resource forks. It 
> also runs a couple code signing verification commands after signing, and then 
> zips the signed app with the versioned app name specified in 
> CFBundleShortVersionString.
>
> You just have to set your built app name and the developer ID info in the 
> variables at the top (appPath, devID).  If you aren’t setting 
> CFBundleShortVersionString you’ll need to change the file zipping portion.
>
> If you create this script as something like sign_myapp.command, then you can 
> just double-click the file and it will open Terminal and run the script.
>
>
> #!/bin/bash
>
> cd "${BASH_SOURCE%/*}" || exit
> echo "current directory: `pwd`"
>
> devID="Developer ID Application: James Crate (ABCDEFGH)"
> appPath="./MyApp.app" # path to built application
>
> if [[ -d $appPath ]]
> then
>   echo "signing $appPath"
>   # clean up by removing file system extended attributes
>   xattr -cr "$appPath"
>
>   # sign application with developer signature
>   codesign --force --deep --verbose --sign "$devID" "$appPath"
>
>   # check code-signing
>   echo "checking signing"
>   spctl -av "$appPath"
>   codesign --verify -v "$appPath"
>
>   # zip with versioned name
>   versionedName=$(/usr/libexec/PlistBuddy "${appPath}/Contents/Info.plist" -c 
> 'Print CFBundleShortVersionString')
>   zipName="./${versionedName}.app.zip"
>   echo "zipping to ${zipName}"
>   rm "$zipName"
>   ditto -c -k --sequesterRsrc --keepParent "$appPath" "$zipName"
>   # ditto is what Finder uses for "Compress "
> fi
>
>
>
>
> > On Sep 18, 2018, at 4:28 PM, Wayne Stewart via 4D_Tech 
> > <4d_tech@lists.4d.com> wrote:
> >
> > Jody,
> >
> > This is stolen from someone else (but I don't recall who)
> >
> > In Xcode go to prefs
> > choose accounts and add your developer account
> > click manage certificates
> > add a Mac development certificate
> >
> > Go to Keychain access
> > Look for the certificate named Mac Developer:
> >
> > Build your app with 4D (ignore their signing option on the last tab).
> >
> > Open the terminal and paste the following in:
> >
> > xattr -cr /Users/waynestewart/Documents/4D/4Vet/v17/4vet_Build/Final\
> > Application/4vet.app
> > codesign -s "Mac Developer: Wayne Stewart (JCGW7WMCVG)" -f
> > /Users/waynestewart/Documents/4D/4Vet/v17/4vet_Build/Final\
> > Application/4vet.app --deep
> >
> > It might work better if you put your own directory structure,
> > application name, and certificate details though.
> >
> > If you have three apps to sign you can just copy and paste all six
> > lines in at on go.  The terminal will run them sequentially.
> >
> > Regards,
> >
> > Wayne
> >
> >
> > On Wed, 19 Sep 2018 at 09:10, Jody Bevan via 4D_Tech
> > <4d_tech@lists.4d.com> wrote:
> >>
> >> I found out a new client upgraded their Macs to a later version of the OS 
> >> (High Sierra).
> >>
> >> Of course the MacOS app I sent them needs to get signed with an Apple 
> >> Certificate.
> >>
> >> I researched the 4D KnowledgeBase, read the tech note on doing it and it 
> >> seemed easy to use.
> >> I downloaded XCode from Apple.
> >> Built my Standalone application.
> >>
> >> Launched XCode - yike! the interface is very much different. So no 
> >> following the step by step instructions like I thought I would be able to 
> >> do.
> >>
> >> Does anyone have step by step instructions for signing a built app with 
> >> this version of XCode, or one similar to it they are willing to share?
> >>
> >> Otherwise I will be digging into the XCode documentation (where ever that 
> >> is) and trying to make sense of what I need to do.
> >>
> >> Thanks for your time…
> >>
> >> Jody
> >> **
> >> 4D Internet Users Group (4D iNUG)
> >>

Re: Signing a MacOS Standalone Application - XCode version 9.2

2018-09-18 Thread Wayne Stewart via 4D_Tech
Jody,

This is stolen from someone else (but I don't recall who)

In Xcode go to prefs
choose accounts and add your developer account
click manage certificates
add a Mac development certificate

Go to Keychain access
Look for the certificate named Mac Developer:

Build your app with 4D (ignore their signing option on the last tab).

Open the terminal and paste the following in:

xattr -cr /Users/waynestewart/Documents/4D/4Vet/v17/4vet_Build/Final\
Application/4vet.app
codesign -s "Mac Developer: Wayne Stewart (JCGW7WMCVG)" -f
/Users/waynestewart/Documents/4D/4Vet/v17/4vet_Build/Final\
Application/4vet.app --deep

It might work better if you put your own directory structure,
application name, and certificate details though.

If you have three apps to sign you can just copy and paste all six
lines in at on go.  The terminal will run them sequentially.

Regards,

Wayne


On Wed, 19 Sep 2018 at 09:10, Jody Bevan via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> I found out a new client upgraded their Macs to a later version of the OS 
> (High Sierra).
>
> Of course the MacOS app I sent them needs to get signed with an Apple 
> Certificate.
>
> I researched the 4D KnowledgeBase, read the tech note on doing it and it 
> seemed easy to use.
> I downloaded XCode from Apple.
> Built my Standalone application.
>
> Launched XCode - yike! the interface is very much different. So no following 
> the step by step instructions like I thought I would be able to do.
>
> Does anyone have step by step instructions for signing a built app with this 
> version of XCode, or one similar to it they are willing to share?
>
> Otherwise I will be digging into the XCode documentation (where ever that is) 
> and trying to make sense of what I need to do.
>
> Thanks for your time…
>
> Jody
> **
> 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
**

Roy (Suzi) McGregor Paterson R.I.P

2018-08-28 Thread Wayne Stewart via 4D_Tech
Hi,

This was submitted to 4D Today (which I rarely update anymore) a few
days ago.  I've decided to post it here.  As far as I can tell
Roy/Suzi last posted in 2007 to the iNUG.

Sad news to report from the UK   Roy McGregor Paterson

Roy (a.k.a. Suzi) who worked with 4D from the early days passed away
on August 5th 2018.

Often present at the London 4D user group and attended many of the
Summits particularly in the U.S.A  ? always energetic, enthusiastic
and fun. An ardent Mac user originally working in 4D on complex
banking systems developed for JP Morgan.  Founder of -McGregor Tech,
very popular at the 4D conferences always up for a chat, techie debate
and of course a good laugh.

Suzi MacGregor Paterson died on 5th August 2018.

The funeral is on Monday 3rd September 2018 at Mortlake Crematorium
TW9 4EN London U.K. at 11.20 am.

A Tribute website is at:
suzi-paterson.muchloved.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
**

Re: Sending Text Messages From 4D

2018-08-22 Thread Wayne Stewart via 4D_Tech
I used clickatell for a 4D summit presentation a few years back.  It
allowed two way communication.

Regards,

Wayne



On Thu, 23 Aug 2018 at 00:04, Tim Nevels via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> I have a client that has asked me to add the option to send text messages to 
> cell phones from 4D. I know this is possible via some websites or web 
> services for a fee. Has anyone done this and can recommend a web service that 
> you were able to use from 4D to do this?
>
> 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
> **
**
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: v13+ - injecting code into a host.

2018-08-21 Thread Wayne Stewart via 4D_Tech
Foundation stores the method text within another method.

I actually made a component to make this easier.  I'll send it to you off list.

Regards,

Wayne



On Wed, 22 Aug 2018 at 04:21, Chip Scheide via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> good idea! thanks
>
> On Tue, 21 Aug 2018 10:27:27 -0700 (MST), Patrick Emanuel via 4D_Tech
> wrote:
> > Hi,
> >
> > If you don't want that user have access to your code, in this case, save it
> > in a crypted blob.
> > Your component will have the key to read it and by the way, just your
> > component.
> >
> > In my case, I do like Dani.
> >
> > Patrick
> >
> >
> >
> > -
> > Patrick EMANUEL
> > 
> > Administrator
> > www.association-qualisoft.eu
> > (Soft1002, Simply Asso & QS_Toolbox)
> > --
> > 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
> > **
> ---
> 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
**

Re: Scroll in Picture form object

2018-08-15 Thread Wayne Stewart via 4D_Tech
Also object property Truncated not centred

As soon as I ask the question (and make a fool of myself) I discover
the answer!!


Regards,

Wayne



On Wed, 15 Aug 2018 at 19:13, Wayne Stewart  wrote:
>
> OBJECT SET SCROLLBAR(*;"JPEG_Preview_pic";true;true)
>
> RTFM
>
> Regards,
>
> Wayne
>
>
> On Wed, 15 Aug 2018 at 19:08, Wayne Stewart  wrote:
> >
> > Hi,
> >
> > This is probably a really dumb question but is it possible to have
> > scroll bars on a picture (variable) object in 4D?
> >
> > I can't see the option in the object properties .
> >
> > I'm displaying a jpeg of an X-ray and the users want to be able to zoom in.
> >
> > That's easy I use: TRANSFORM PICTURE
> >
> > However, they  then need to scroll to the  bit they want to study.
> >
> > 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
**

Re: Scroll in Picture form object

2018-08-15 Thread Wayne Stewart via 4D_Tech
OBJECT SET SCROLLBAR(*;"JPEG_Preview_pic";true;true)

RTFM

Regards,

Wayne


On Wed, 15 Aug 2018 at 19:08, Wayne Stewart  wrote:
>
> Hi,
>
> This is probably a really dumb question but is it possible to have
> scroll bars on a picture (variable) object in 4D?
>
> I can't see the option in the object properties .
>
> I'm displaying a jpeg of an X-ray and the users want to be able to zoom in.
>
> That's easy I use: TRANSFORM PICTURE
>
> However, they  then need to scroll to the  bit they want to study.
>
> 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
**

Scroll in Picture form object

2018-08-15 Thread Wayne Stewart via 4D_Tech
Hi,

This is probably a really dumb question but is it possible to have
scroll bars on a picture (variable) object in 4D?

I can't see the option in the object properties .

I'm displaying a jpeg of an X-ray and the users want to be able to zoom in.

That's easy I use: TRANSFORM PICTURE

However, they  then need to scroll to the  bit they want to study.

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
**

Re: v17 PDF-Manuals

2018-08-10 Thread Wayne Stewart via 4D_Tech
Sorry that may not have translated:

This is what you need:

ftp://livedoc.4d.com/DOC_4Dv17_fr_en_de_es_fe_ja_pt.zip

html docs

Regards,

Wayne



Regards,

Wayne




On Sat, 11 Aug 2018 at 12:43, Wayne Stewart  wrote:
>
> DOC_4Dv17_fr_en_de_es_fe_ja_pt.zip
>
> Regards,
>
> Wayne
>
>
>
>
> On Sat, 11 Aug 2018 at 12:31, David Adams via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
>>
>> I was just at the 4D site looking for PDF manualsand didn't find them.
>> So I searched here and found this thread.
>>
>> I'm going to be away from the Internet and want to take documentation with
>> me. I expect that I'll have some down time, and figured it might be a nice
>> time to look at recoding some things as collections. (I'm coming from R3
>> where object access is still through the OB SET/OB GET...which make me not
>> use C_OBJECT all that much.)
>>
>> To be clear, I won't have the Internet. At all. So, is there any way to get
>> an off-line version of the V17? I don't see a way to download the HTML
>> versions and don't see any PDF versions. If not, I'll just skip what I was
>> planning and do something else with the time.
>>
>> Thanks!
>> **
>> 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
**

Re: v17 PDF-Manuals

2018-08-10 Thread Wayne Stewart via 4D_Tech
DOC_4Dv17_fr_en_de_es_fe_ja_pt.zip


Regards,

Wayne




On Sat, 11 Aug 2018 at 12:31, David Adams via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I was just at the 4D site looking for PDF manualsand didn't find them.
> So I searched here and found this thread.
>
> I'm going to be away from the Internet and want to take documentation with
> me. I expect that I'll have some down time, and figured it might be a nice
> time to look at recoding some things as collections. (I'm coming from R3
> where object access is still through the OB SET/OB GET...which make me not
> use C_OBJECT all that much.)
>
> To be clear, I won't have the Internet. At all. So, is there any way to get
> an off-line version of the V17? I don't see a way to download the HTML
> versions and don't see any PDF versions. If not, I'll just skip what I was
> planning and do something else with the time.
>
> Thanks!
> **
> 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
**

Re: Who’s the Gestapo?

2018-07-15 Thread Wayne Stewart via 4D_Tech
I know I got bounced for swearing once!!

Regards,

Wayne




On 16 July 2018 at 12:08, Robert ListMail via 4D_Tech
<4d_tech@lists.4d.com> wrote:
> Hi David,
>
> Yes, I thought 4D was running the list too. Yes, I’m quite sure it’s not a 
> technical glitch since I heard it from multiple users. Anyway, it doesn’t 
> bother me but I thought 4D would want new developers to join in on the fun. 
> Thanks for your contribution and yes all points duly noted.
>
> Thanks,
>
> Robert
>
> Sent from my iPhone
>
>> On Jul 15, 2018, at 4:44 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>>
>> * This list is run by 4D.
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: What do you use to monitor your offsite servers?

2018-07-15 Thread Wayne Stewart via 4D_Tech
Splashtop looks really good, I might have to swap from Teamviewer

Regards,

Wayne




On 16 July 2018 at 08:41, Guy Algot via 4D_Tech <4d_tech@lists.4d.com> wrote:
> +1 for Splashtop. Much more economical than either LogMeIn or TeamViewer. 
> Works better too IMO.
>
>> On Jul 15, 2018, at 2:27 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>>
>> I've been using LogMeIn for a few years. It was great at $100/year. It was
>> OK at $200/year but now it's going up to $350/year and it's time to loo for
>> something else.
>>
>> Suggestions?
>>
>> --
>> Kirk Brooks
>> San Francisco, CA
>> ===
>>
>
>
> Later,
> Guy
>
> --
> Guy Algot, Solutions Specialist
> Edmonton, Alberta
> (780) 974-8538
>
> hardware, installation, training, support, programming, internet
> specializing in 4th Dimension
> =-= =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> "Microsoft is a cross between the Borg and the Ferengi. Unfortunately,
> they use Borg to do their marketing and Ferengi to do their programming."
> -- Simon Slavin
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: What do you use to monitor your offsite servers?

2018-07-15 Thread Wayne Stewart via 4D_Tech
Teamviewer, I cheated for a long time and said i was not using it in a
commercial environment but then guilt got the better of me!

Regards,

Wayne




On 16 July 2018 at 07:14, Ed Glassgow via 4D_Tech <4d_tech@lists.4d.com> wrote:
> Splashtop (mac/pc)..  or if on Windows and you can do port forwarding, 
> UltraVNC.
>
> Sent from my iPad
>
>> On Jul 15, 2018, at 2:27 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>>
>> I've been using LogMeIn for a few years. It was great at $100/year. It was
>> OK at $200/year but now it's going up to $350/year and it's time to loo for
>> something else.
>>
>> Suggestions?
>>
>> --
>> Kirk Brooks
>> San Francisco, CA
>> ===
>>
>> *We go vote - they go home*
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: V17 - No Glass Buttons

2018-07-11 Thread Wayne Stewart via 4D_Tech
I’d create a project form with the glass buttons and then either copy and
paste them in or better still Inherit the form.


On Wed, 11 Jul 2018 at 17:39, Robert McKeever via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Created a test database. New Table. Added 1 field.
>
> Go to create a form via the wizard. Move the field and the uuid to the
> form. Go to Advanced. No Glass buttons. I quit V17.
>
> I copied the Button Images ‘Glass’ folder into the Resources folder —>
> Images —> Buttons —> Glass just like a v15 database has.
>
> Reopened the v17 database. No Glass buttons.
>
> Created test database in V15, created forms with Glass buttons. Closed it.
> Converted it to V17. Glass buttons are shown on the forms. But the Wizard
> still does not know about them.
>
> So, how do I create templates with Glass Buttons, my fonts, etc.?
>
> _
> 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)
> FAQ:  http://lists.4d.com/faqnug.html
> 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)
FAQ:  http://lists.4d.com/faqnug.html
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: Macro question - using project methods in a macro

2018-07-05 Thread Wayne Stewart via 4D_Tech
Kirk,

Download the 4D Pop source code and look at the macros component for
some examples.

Regards,

Wayne




On 6 July 2018 at 10:47, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> wrote:
> Kirk,
>
> I think you are looking for GET MACRO PARAMETER and SET MACRO PARAMETER. In 
> the method called by your macro, that allows you to get/set the selection or 
> the entire method.
>
> John DeSoi, Ph.D.
>
>
>
>> On Jul 5, 2018, at 5:08 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>>
>> I haven't tinkered with my macros in quite a while. Today I was trying to
>> write a project method that returns some text. The idea being to run the
>> method from a macro and plug the result directly into the method being
>> edited. Here's the what I was working with:
>> > version="2"
>> in_menu="true"
>> type_ahead="true"
>> type_ahead_text="rd1">
>> resdoc_macro()
>> 
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Alternating Background Colors in a List form

2018-07-05 Thread Wayne Stewart via 4D_Tech
Jim,

Did you mean an output form (or included form) and not a list box?

Place a rectangle behind the detail area of the form and run the
following code in the on display detail event:

: (Form event=On Display Detail)

If (Displayed line number%2=0)
OBJECT SET RGB COLORS(*;"RowBackground";-1;0x00FF)
Else
OBJECT SET RGB COLORS(*;"RowBackground";-1;0x00EDF3FE )
End if



Regards,

Wayne




On 6 July 2018 at 07:05, Charles Miller via 4D_Tech
<4d_tech@lists.4d.com> wrote:
> Yes, Do you want to know how? Not what you asked, but read down a few blank
> lines
>
>
>
>
>
>
>
>
>
>
>
>
>
> Select list box goto backgound and border in properties
>
>
> Regards
>
> Chuck
> OK here is how
>
> On Thu, Jul 5, 2018 at 4:52 PM, Jim Medlen via 4D_Tech <4d_tech@lists.4d.com
>> wrote:
>
>>
>> Is there a way to have alternating background colors for a List Form ?
>>
>> Thanks,
>>
>> Jim Medlen
>> Computer & Information Systems
>> Functional Devices, Inc.
>> j.med...@functionaldevices.com
>> phone (765) 883-5538 x 428
>> fax (765) 883-4262
>> http://www.functionaldevices.com
>>
>> This email was transmitted on 100 percent recycled electrons
>>
>>
>>
>>
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/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
>   http://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)
> FAQ:  http://lists.4d.com/faqnug.html
> 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)
FAQ:  http://lists.4d.com/faqnug.html
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: Date entry

2018-07-05 Thread Wayne Stewart via 4D_Tech
Pat,

There’s a 4D bug regarding dates.

What version of v16 are you using?  The latest nightly builds of v16 dot
releases should be fine.

If you’re using 16r something, then it’s fixed in v17.

Wayne

On Thu, 5 Jul 2018 at 20:50, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Jody,
> I'm using v16 and having the following problem with date formats:
> On a UK system, dates in fields and list boxes are incorrectly displayed in
> the US format. But when you click into a date field, it changes to the UK
> format!
>
> How do you manage this?
>
> Pat
>
> On Sun, 10 Jun 2018 at 15:46, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com
> >
> wrote:
>
> > Bob:
> >
> > Nasty date formats. About 15 years ago we created our own tool for the
> > date entry, and display in 4D. The dates are always stored in date
> fields,
> > but we let the user define the way the dates get displayed. This way it
> > does not matter what the computer’s region or date settings are. The
> format
> > set in the application controls the display of the date. It also resulted
> > in some great tools for quick entry of dates. Still loving that way of
> > doing thing in v16.
> >
> > Jody
> >
> >
> > > On Jun 9, 2018, at 5:49 PM, Robert McKeever via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> > >
> > > 4D V15.4, Mac OS 10.13.4
> > >
> > > A site that uses 4D Server. Mostly mini’s as clients. Has been working
> > fine for years. Then growth, so someone brought in some PC’s. Then they
> > scrounged around and now all minis. But, since we are in Canada,
> sometimes
> > when the OS is loaded anew, this select Canadian English keyboard instead
> > of US. So, date entry gets set to -MM-DD instead of MM-DD-.
> > >
> > > Dates display fine, regardless of format. But, on a couple of machines,
> > you can not enter dates. I take my record, place the cursor in the field,
> > and type - it moves the cursor along the character string, but nothing
> > changes. So, they just go to another machine that ‘works’ and does the
> > entry there. Started a couple of weeks ago.
> > >
> > > So, why, and how to fix it?
> > >
> > > Changing the date format in the system preferences changes the way it
> is
> > displayed, but still no entry.
> > >
> > > _
> > > 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)
> > FAQ:  http://lists.4d.com/faqnug.html
> > 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)
> FAQ:  http://lists.4d.com/faqnug.html
> 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)
FAQ:  http://lists.4d.com/faqnug.html
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: Command name but what about Keywords?

2018-07-02 Thread Wayne Stewart via 4D_Tech
> #4DCODE which is always English (If, End if) regardless of the method 
> language and easier to maintain?

Yes, I wondered about that. I'm not certain how well it work in the
METHOD SET CODE context.

Ideally I would like something like the new syntax:
Count parameters:C259

or with a constant:
Carriage return:K15:38



Regards,

Wayne




On 2 July 2018 at 16:52, Keisuke Miyako via 4D_Tech
<4d_tech@lists.4d.com> wrote:
> As Patrick pointed out,
> the idea is to test the current language (use something like "True", which to 
> know to have different tokens)
> once you run METHOD SET CODE (well actually, you should run twice to tokenise 
> forward-referenced project methods)
> then keywords such as "If" will automatically reconvert when the method 
> language flips.
>
> ---
>
> another option is to set the %meta line in the code to inject in order to 
> explicitly declare the method language.
>
> ---
>
> but why not use #4DCODE which is always English (If, End if) regardless of 
> the method language and easier to maintain?
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Command name but what about Keywords?

2018-07-01 Thread Wayne Stewart via 4D_Tech
Hi,

I want to create a method programmatically.  However, if the developer
is not using english it won't work properly.

If (Nil($table_ptr))
FORM GET PROPERTIES($formName_t;$width_ptr->;$height_ptr->)
Else
FORM GET PROPERTIES($table_ptr->;$formName_t;$width_ptr->;$height_ptr->)
End if

Si (Nil($table_ptr))
FORM LIRE PROPRIÉTÉS($formName_t;$width_ptr->;$height_ptr->)
Sinon
FORM LIRE PROPRIÉTÉS($table_ptr->;$formName_t;$width_ptr->;$height_ptr->)
Fin de si

I can use Command Name to do this:

Command name(674) is FORM GET PROPERTIES and FORM LIRE PROPRIÉTÉS
Command name(315) is Nil

How do I account for
If vs Si
Else vs Sinon
End if vs Fin de si

etc

I was hoping to use Get indexed string (utilising the numbers found
here - 4D_LangEditKeyWordsEN.xlf from the application
resource/en.lproj:

$If_t:=Get indexed string(34;1)
$Else_t:=Get indexed string(34;2)

Unfortunately that doesn't appear to work.

In Foundation currently the code does a lookup based on lists that
have been pre-populated, I was hoping for something more
generic/automatic than that.


Regards,

Wayne
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v13+ open multiple methods windows stacked

2018-06-22 Thread Wayne Stewart via 4D_Tech
  // 
  // Project Method: Util_ResizeWindows

  // Resizes and stacks all design mode windows

  // Created by Wayne Stewart (2018-06-22)
  // wa...@4dsupport.guru
  // 


C_LONGINT($element_i;$height_i;$left_i;$screenHeight_i;$screenWidth_i;$stackOffSet_i;$top_i;$width_i;$winRef_i)
C_TEXT($title_t)

ARRAY LONGINT($windowRefs_ai;0)

$left_i:=80
$top_i:=100
$width_i:=800
$height_i:=600
$stackOffSet_i:=20
$screenHeight_i:=Screen height
$screenWidth_i:=Screen width


$winRef_i:=Frontmost window

While ($winRef_i>0)
$title_t:=Get window title($winRef_i)
If (($title_t="Structure for @")\
 | ($title_t="Explorer")\
 | ($title_t="Method:@")\
 | ($title_t="Form Method:@")\
 | ($title_t="Form:@")\
 | ($title_t="Trigger:@")\
 | ($title_t="Object Method:@"))
APPEND TO ARRAY($windowRefs_ai;$winRef_i)
End if
$winRef_i:=Next window($winRef_i)
End while


For ($element_i;1;Size of array($windowRefs_ai))
SET WINDOW 
RECT($left_i;$top_i;$left_i+$width_i;$top_i+$height_i;$windowRefs_ai{$element_i})
$left_i:=$left_i+$stackOffSet_i
$top_i:=$top_i+$stackOffSet_i
If (($top_i+$height_i)>$screenHeight_i)
$top_i:=100  // Reset to top of screen
End if
If (($left_i+$width_i)>$screenWidth_i)
$left_i:=80  //  Just start again (you really shouldn't have this many
windows open).
End if

End for

Regards,

Wayne


Wayne Stewart
about.me/waynestewart




On 23 June 2018 at 10:01, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> wrote:
> Thanks
> all for the ideas.
>
> Chip
>
>> Chip:
>>
>> The command Window list fills an array of window references.
>>
>> The command Window process returns the process for a given window reference.
>>
>> You could iterate through the window references that belong to the design
>> process and move them, as desired.
>>
>> To determine which windows are method windows, you might be able to get the
>> window type and see if the Explorer is a different type from a method
>> window which is different from a window that contains a form (dunno - never
>> tried it).
>>
>> Another idea would be to rummage through the source code for 4D Pop and see
>> how it differentiates between the various windows. The window palette in 4D
>> Popup separates windows into different categories - perhaps that code would
>> be of use.
>>
>> --
>> Douglas von Roeder
>> 949-336-2902
>>
>>
>> On Fri, Jun 22, 2018 at 2:27 PM Jody Bevan via 4D_Tech
>> <4d_tech@lists.4d.com>
>> wrote:
>>
>>> Chip:
>>>
>>> I do not know of a way to do this automatically. I have done it a long
>>> time ago using code - code I don’t have anymore.
>>>
>>> We control the opening position of every window so writing this is not
>>> that hard (likely you know that already - sorry).
>>>
>>> Jody
>>>
>>>
 On Jun 22, 2018, at 3:19 PM, Chip Scheide via 4D_Tech <
>>> 4d_tech@lists.4d.com> wrote:

 is there a way to open multiple method windows, and have them stack,
 one over the over (plus a small offset)
 Mac version if it matters

 Thanks
 Chip
 ---
>>>
>>> **
>>> 4D Internet Users Group (4D iNUG)
>>> FAQ:  http://lists.4d.com/faqnug.html
>>> Archive:  http://lists.4d.com/archives.html
>>> Options: https://lists.4d.com/mailman/options/4d_tech
>>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>>> **
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> 
> Hell is other people
>  Jean-Paul Sartre
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RIP Sujit Shah

2018-06-22 Thread Wayne Stewart via 4D_Tech
Hi,

I just heard today that Sujit Shah has just died. Probably only known to
Australasian developers although he did post to the iNug.

He was a lovely man and one of nature’s true gentlemen.

———-

From Mrs Darshana Shah and Rhea Shah

It is with much regret that I wish to inform friends and family that our
beloved Sujit Shah passed away peacefully in his sleep on Wed 20th June.

Always remembered, for the undying courage in the face of challenges

Always in our hearts, for the warmth he brought to others

Always in our thoughts, for his positive attitude

An amazingly strong and independent, a great life; well lived

A loving father/husband who can never be forgotten

A special person, a special someone we cannot replace.

A chapter completed, a life well lived, a rest well earned

Finally at Rest, in eternal sleep...

REST IN PEACE - SUJIT SHAH

FUNERAL
Date:  26th June 2018
Time:   12.00 PM
Castlebrook Memorial Park
712-746 Windsor Rd
Rouse Hill, NSW -2155
-- 

Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Default Font ? 4D 15.4 & Windows 10

2018-06-14 Thread Wayne Stewart via 4D_Tech
Hi,

I wouldn't hard code Segoe UI necessarily.

What I do is on startup I launch a small window with a text variable
set to automatic (probably static text would work as well).

I then run OBJECT Get font(*;"My Text") etc to retrieve the font name
and store that in an IP variable.  I guess you could use storage
nowadays.

<>Dlg_FontName_t:=OBJECT Get font(*;"Dlg_Text1_t")
<>Dlg_FontSize_i:=OBJECT Get font size(*;"Dlg_Text1_t")
<>Dlg_FontStyle_i:=OBJECT Get font style(*;"Dlg_Text1_t")
OBJECT GET COORDINATES(*;"Dlg_Text1_t";$Left_i;$Top_i;$Right_i;$Bottom_i)
<>Dlg_FontHeight_i:=$Bottom_i-$Top_i

Then you could call

OBJECT SET FONT(*;"@";"<>Dlg_FontName_t")

This way you will get the correct font on startup for different systems.


Regards,

Wayne


Wayne Stewart
about.me/waynestewart




On 15 June 2018 at 03:29, Jim Hays via 4D_Tech <4d_tech@lists.4d.com> wrote:
> How about:
>
> OBJECT SET FONT(*;"@";"Segoe UI")
>
>
>
> On Thu, Jun 14, 2018 at 10:28 AM David Rose via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> Has anyone found a solution? (BTW, I just received a report of this problem
>> from a Windows 7 user.)
>>
>>
>>
>> --
>> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Is there any reason to not use Windows 64bit for v16R6 clients (Mac 64bit Server)?

2018-06-14 Thread Wayne Stewart via 4D_Tech
I’d run 64 bit if I could (plugins permitting etc).

On Fri, 15 Jun 2018 at 00:54, Dave Nasralla via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hey All,
>
> We recently moved all our 4D apps to v16R6, partly to get ready for
> the Macs going 64bit only. (I thought High Sierra was the last OS to
> support 32bit, but Apple announced that the next OS, Mojave will still
> support it - and be the last).
>
> Our 4D server is Mac as well, and now everything Mac is 64bit for us.
>
> We also have Windows clients. Is there any reason to not run 64bit
> Windows on the client side (assuming my Windows clients have 64 bit
> OS's)? Right now I deployed v16r6 on 32bit windows machines.
>
> Any thoughts or insights are welcome.
>
> dave
>
> --
> David Nasralla
> Clean Air Engineering
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Build with code signing

2018-06-11 Thread Wayne Stewart via 4D_Tech
> Nothing inside the application package should be changed after this point.

That's pretty much going to stop 4D then, it writes to the structure
all the time even in a built application

Regards,

Wayne


Wayne Stewart
about.me/waynestewart




On 12 June 2018 at 03:45, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> wrote:
> Hi Jeff,
>
> I can’t give you a step by step guide, especially including getting the 
> signing certificate. But here is a code snippet which I use for signing my 
> apps which works. The takeaways will be in the comments as well as the two 
> commands that are run using LEP.
>
> Hopefully that is enough to get you pointed in the right direction.
>
> P.S. Apple just introduced the idea of notarizing apps at WWDC last week. 
> That will be additional steps and required in the future, but I haven’t tried 
> it yet. Sigh.
>
>
>   //If on Mac and a certificate is provided, we now code sign the app. 
> Nothing inside the
>   //application package should be changed after this point.
>   //Use "codesign --verify --verbose /pathtoapp.app" to see if the 
> application signing is still valid.
>   //Use "codesign -dv /pathtoapp.app" to get the code signing information.
>   //See http://kb.4d.com/assetid=77078 if we need to skip signing certain 
> folders in the future.
>   //Also, see 
> http://stackoverflow.com/questions/39652867/code-sign-error-in-macos-sierra-xcode-8-resource-fork-finder-information-or
>   //which explains that code signing no longer works with extended attributes 
> on files in the app. It seems easiest to simply
>   //use a command to strip all extended attributes before signing. We don't 
> seem to need them anyway.
> If (OS_IsMac =True)
> $tCertificate:=BuildApp_Hook_MacCodeSign
> If ($tCertificate#"")
> BuildAppP_Log_Action ("Stripping files of extended 
> attributes.")
> $tCommand:="xattr -cr "+FilePath_ConvertTo (OBJ_Get_Text 
> (voBuildInfo;"PathToBuiltStandaloneApp");kFilePath_LEP)
> LAUNCH EXTERNAL PROCESS($tCommand;$tIn;$tOut;$tError)  //If 
> error, $tOut will be filled
>
> BuildAppP_Log_Action ("Code signing standalone.")
> $tCommand:="codesign -s \""+$tCertificate+"\" -fv --deep "+\
> FilePath_ConvertTo (OBJ_Get_Text 
> (voBuildInfo;"PathToBuiltStandaloneApp");kFilePath_LEP)
> LAUNCH EXTERNAL PROCESS($tCommand;$tIn;$tOut;$tError)  //If 
> error, $tOut will be filled
> If ($tOut#"")
> BuildAppP_Log_Action ("Code signing error: 
> "+$tOut;True)
> End if
> End if
> End if
>
>
> --
> Cannon.Smith
> Synergy Farm Solutions Inc.
> Hill Spring, AB Canada
> 403-626-3236
> 
> 
>
>
>> Can someone please direct me to documentation on how to code sign apps for
>> MacOS with 4D.  I need the entire process in a step-by-step guide from
>> explaining how to obtain the code signing certificate from Apple through
>> adding it to the 4D XML build files and building.
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SOAP Parameter Limit (Sujit Shah)

2018-05-18 Thread Wayne Stewart via 4D_Tech
If I needed to pass that many parameters I'd pass them as a JSON string.

One text parameter containing as many as you want.

Regards,

Wayne


Wayne Stewart
about.me/waynestewart




On 18 May 2018 at 19:10, Bruno LEGAY via 4D_Tech <4d_tech@lists.4d.com> wrote:
> Hi,
>
> I don't think I have tried to send soap call with that many parameters.
>
> Anyway it is not that complicated to create your own soap calls (it is xml 
> over http).
>
> Let me know if you want more infos on how to do this.
>
> HTH
> Bruno
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Failed To Create A Listening Socket ?

2018-05-10 Thread Wayne Stewart via 4D_Tech
Allan,

On any 4D port is what I meant (the db engine port, the sql port, the
web port etc etc etc)

Regards,

Wayne


Wayne Stewart
about.me/waynestewart




On 11 May 2018 at 14:49, Wayne Stewart  wrote:
> Allan,
>
> Nothing else running on that port?
>
> Regards,
>
> Wayne
>
>
> Wayne Stewart
> about.me/waynestewart
>
>
>
>
> On 11 May 2018 at 12:56, Allan Udy via 4D_Tech <4d_tech@lists.4d.com> wrote:
>> Hi All,
>>
>> We have a Windows Server 2012 setup as a test machine.  It was used for
>> testing last weekend - Web Server started and behaved perfectly fine.
>>
>> This afternoon I started the 4D server for more testing and got a Runtime
>> error (it's a Compiled and Merged Server app):
>>
>>  Failed to create a listening socket
>>
>> and then the message that the database cannot be published.
>>
>> Anyone have any ideas or suggestions why/how this happened?
>>
>> Absolutely no changes made to the server, or the 4D database or datafile
>> between testing sessions  (we're testing a remote app's access into the
>> system, not the 4D database itself).  I've checked the firewall on the
>> machine, have turned SSL on and off, tried different Ports for the web
>> server, checked the machine has internet access and that it can be pinged
>> across the network etc, with no luck...
>>
>> Using v16R4.About to move to R6 next week.
>>
>> I don't understand what I'm missing.  so any suggestions are welcome.
>>
>> Cheers,
>> Allan Udy
>>
>> Golden Micro Solutions Ltd, Blenheim, New Zealand
>> http://www.golden.co.nz
>>
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Failed To Create A Listening Socket ?

2018-05-10 Thread Wayne Stewart via 4D_Tech
Allan,

Nothing else running on that port?

Regards,

Wayne


Wayne Stewart
about.me/waynestewart




On 11 May 2018 at 12:56, Allan Udy via 4D_Tech <4d_tech@lists.4d.com> wrote:
> Hi All,
>
> We have a Windows Server 2012 setup as a test machine.  It was used for
> testing last weekend - Web Server started and behaved perfectly fine.
>
> This afternoon I started the 4D server for more testing and got a Runtime
> error (it's a Compiled and Merged Server app):
>
>  Failed to create a listening socket
>
> and then the message that the database cannot be published.
>
> Anyone have any ideas or suggestions why/how this happened?
>
> Absolutely no changes made to the server, or the 4D database or datafile
> between testing sessions  (we're testing a remote app's access into the
> system, not the 4D database itself).  I've checked the firewall on the
> machine, have turned SSL on and off, tried different Ports for the web
> server, checked the machine has internet access and that it can be pinged
> across the network etc, with no luck...
>
> Using v16R4.About to move to R6 next week.
>
> I don't understand what I'm missing.  so any suggestions are welcome.
>
> Cheers,
> Allan Udy
>
> Golden Micro Solutions Ltd, Blenheim, New Zealand
> http://www.golden.co.nz
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Standalone application connection to 4D Server

2018-05-09 Thread Wayne Stewart via 4D_Tech
Hi​
,

​Just some more clarification on licensing.
Not many people read the fine print of the license.

A
​ 4D Application Single User (or what many people call ​
engined
​or
 sponsored version
​)​
can’t
​ connect more than twice per day to write to a data source.  It can
connect as many times as you like to read from it:

​
LICENSEE recognizes and agrees that the access to one or several remote
server(s) through 4D Application Single User is authorized, provided that
this 4D Application does not modify this/those server(s) and its/their
data. Notwithstanding the above provision, 4D Application Single User may
permit the reading and/or occasional “batch” update of the above mentioned
server(s), and this, within the limit of twice (2) every twenty four (24)
hours.

As a standalone you need to be using 4D SQL DESKTOP in order to connect
more than twice a day to a data source for writing.

A SQL Desktop can connect using web, web services, SQL, anything at all as
often as you like.

As Tim points out what it connects to needs be licensed appropriately.

I'm not certain how remote datastore connections will work in v17 but I'm
sure a lot of people had a lightbulb moment thinking I could use that for a
remote standalone (*and it will be great for that*).

However, unless 4D changes the license you won't be allowed to do that from
something using only the 4D interpreted or unlimited desktop licenses.

​I hope that's clearer (but I think I've just muddied the waters rather
than anything else).

Cheers,

Wayne


On Thu, 10 May 2018 at 06:13, Timothy Penner via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> > If you use SQL there is no additional licensing needed.
>
> This is incorrect; or at least it is misleading...
>
> If using SQL, and you do not have an "Unlimited SQL License", then each
> SQL connection will consume a Client License on the 4D Server.
> Therefore, if there is no more 4D Client licenses available on the 4D
> Server then the SQL connection would fail.
>
> The best approach if your 4D Server is serving SQL Connections is to
> purchase an Unlimited SQL License:
> http://www.4d.com/products/4dv16/4dsqlexpansion.html
>
> -Tim
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Options To Put Data Into Existing Excel Spreadsheets?

2018-05-08 Thread Wayne Stewart via 4D_Tech
2cv is faster than a Ferrari:

https://goo.gl/images/2yZ2L9

On Wed, 9 May 2018 at 01:16, Randy Engle via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Another "plug" for Pluggers XCEL plugin.
> We use it exclusively.
> Full control of the spreadsheet.
>
> Randy Engle, Director
> XC2 Software LLC – XC2LIVE!
>
> -Original Message-
> From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Douglas Cryer
> via 4D_Tech
> Sent: Tuesday, May 8, 2018 12:15 AM
> To: 4d_tech@lists.4d.com
> Cc: Douglas Cryer 
> Subject: Re: Options To Put Data Into Existing Excel Spreadsheets?
>
> Allan,
>
> Until recently we were using Keisuke's component.  Clients were asking for
> more, in particular images so we looked around and found the Pluggers
> Plugin.  Yes it does mean going from a free option to a paid option but
> equally it is like going from a 2CV to a Ferrari.  It does much more, far
> faster and far more efficiently.  Keisuke himself said that the component
> was written as an example and he never expected it to be used in production
> systems.
>
> Since adopting the Excel Plugin we have converted many outputs and our
> clients love it.  They have commissioned more reports and we have been able
> to recoup the cost of the plugin easily within months of purchase.
>
> If you still need the component I am sure I can dig you out a copy but I
> would urge you to either fund the cost of the plugin yourself or get your
> client to do so.  You will not be sorry.
>
> Regards,  Dougie
> 
>
> telekinetix Limited- J. Douglas Cryer
> Phone : 01234 761759  Mobile : 07973 675 218 2nd Floor Broadway House, 4-6
> The Broadway, Bedford MK40 2TE
> 
> Email : jdcr...@telekinetix.com  Web : http://www.telekinetix.com <
> http://www.telekinetix.com/>
> 
>
>
> 
>
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Standalone application connection to 4D Server

2018-05-08 Thread Wayne Stewart via 4D_Tech
Hi,

Chipping in on the licensing question.

What is the standalone?

If it’s a sponsored 4D engine app then you are limited to two connections
per day.

If it’s SQL desktop app then you can connect whenever you want. I assume
the same for the developer editions too.

The oem desktop product could be covered depending on your agreement with
4D.

Just making life difficult,

Wayne



On Wed, 9 May 2018 at 02:52, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Chuck,
> Good point. I assumed he already has a web license but if that's not the
> case you are correct.
>
> On Tue, May 8, 2018 at 9:25 AM Charles Miller via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > If you use SQL there is no additional licensing needed. The other SOAP or
> > HTTPS means another license either for soap server or web server on the
> 4d
> > server
> >
> > Regards
> >
> > Chuck
> >
> > On Tue, May 8, 2018 at 11:53 AM, Kirk Brooks via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> > > David,
> > > What version of 4D are you using? If it's v15+, with respect to Chuck's
> > > suggestion, I'd use HTTPS for the data transfers and JSON/c-objects.
> It's
> > > pretty easy to write an API on the server side to manage such a request
> > and
> > > shuffle the data between the two endpoints. JSON is a lot easier to
> work
> > > with than XML, I find.
> > >
> > > If you are a SQL pro (I am not) then that's a perfectly viable option,
> > but
> > > it's not required.
> > >
> > > On Tue, May 8, 2018 at 7:49 AM David Loeppky via 4D_Tech <
> > > 4d_tech@lists.4d.com> wrote:
> > >
> > > > I have a standalone 4D application that needs to occasionally connect
> > to
> > > > our 4D Server to exchange some data.  Realizing there are a few
> > different
> > > > architecture approaches to take, I'd appreciate some advice as to the
> > > > easiest way to approach this.  Thanks.
> > > >
> > > > --
> > > >
> > > > Regards,
> > > >
> > > > David Loeppky
> > > >
> > > > Co-Owner
> > > >
> > > > T: 360.380.1908 x11
> > > >
> > > > M: 360.319.9141
> > > >
> > > > F: 360.384.3673
> > > >
> > > > *dav...@chuckanutbay.com *
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > 
> > > >
> **
> > > > 4D Internet Users Group (4D iNUG)
> > > > FAQ:  http://lists.4d.com/faqnug.html
> > > > Archive:  http://lists.4d.com/archives.html
> > > > Options: https://lists.4d.com/mailman/options/4d_tech
> > > > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > > >
> **
> > >
> > >
> > >
> > > --
> > > Kirk Brooks
> > > San Francisco, CA
> > > ===
> > >
> > > *We go vote - they go home*
> > > **
> > > 4D Internet Users Group (4D iNUG)
> > > FAQ:  http://lists.4d.com/faqnug.html
> > > Archive:  http://lists.4d.com/archives.html
> > > Options: https://lists.4d.com/mailman/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
> >   http://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)
> > FAQ:  http://lists.4d.com/faqnug.html
> > 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
> ===
>
> *We go vote - they go home*
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  

Re: v13+ - method comments (the Explorer Pane)

2018-05-07 Thread Wayne Stewart via 4D_Tech
Chip,

I wrote some code to do that for Foundation it relies on some discipline in
creating your header comments of course.


// 
// Project Method:  --> ReturnType
// Description
// Access: Shared
// Parameters:
//   $1 : Type : Description
//   $x : Type : Description (optional)

// Returns:
//   $0 : Type : Description

// Created by Wayne Stewart ()
// wa...@4dsupport.guru
// 



   // 
   // Project Method: Fnd_Shell_WriteComments {(Method Name; Do not use)}

   // This method will create documentation comments
   //   it is based on the assumption that you format your
   //method header comments in the same manner as Foundation
   //  The second paramater is just used to trigger the method
   //   starting in a new process, you should not pass anything in this
parameter

   // Access: Shared

   // Parameters:
   //   $1 : Text : Either pass
   //   (a) "" - All methods (or don't pass any parameters)
   //   (b) "Prefix" - Only methods which match a prefix (Eg. Fnd_Art)
   //   (c) "Specific method name" - write comments for that method
   //   $2 : Longint : Do not use this

   // Created by Wayne Stewart
   // 

C_TEXT($1)
C_LONGINT($2)

C_LONGINT($CurrentMethod_i;$NumberOfMethods_i;$Position_i;$ProcessID_i;$StackSize_i)
C_TEXT($FirstChars_t;$MethodCode_t;$MethodName_t;$ThreadSafe_t;$ThreadSafeSection_t)
C_OBJECT($Attributes_o)

ARRAY TEXT($MethodCode_at;0)
ARRAY TEXT($MethodNames_at;0)

If (False)
   C_TEXT(Fnd_Shell_WriteComments ;$1)
   C_LONGINT(Fnd_Shell_WriteComments ;$2)
End if


$StackSize_i:=0

If (Count parameters=2)

   METHOD GET PATHS(Path project method;$MethodNames_at)

   $MethodName_t:=$1

   If (Length($MethodName_t)>0)  //  A method name or prefix has been
specified

 $NumberOfMethods_i:=Count in array($MethodNames_at;$MethodName_t)

 If ($NumberOfMethods_i=1)  // exactly one match (use this specific
method)
   APPEND TO ARRAY($MethodNames_at;$MethodName_t)
 Else

   $NumberOfMethods_i:=Size of array($MethodNames_at)
   For ($CurrentMethod_i;$NumberOfMethods_i;1;-1)  // Go Backwards
 If ($MethodNames_at{$CurrentMethod_i}=($MethodName_t+"@"))
 Else
   DELETE FROM ARRAY($MethodNames_at;$CurrentMethod_i)
 End if

   End for

 End if

   End if

   $NumberOfMethods_i:=Size of array($MethodNames_at)

   METHOD GET CODE($MethodNames_at;$MethodCode_at)

   ARRAY TEXT($MethodComments_at;$NumberOfMethods_i)

   For ($CurrentMethod_i;1;$NumberOfMethods_i)
 $MethodCode_t:=$MethodCode_at{$CurrentMethod_i}

 $Position_i:=Position("comment added and reserved by
4D.\r";$MethodCode_t)

 $MethodCode_t:=Substring($MethodCode_t;$Position_i+Length("comment
added and reserved by 4D.\r"))

   //  Threadsafe?
 METHOD GET ATTRIBUTES($MethodNames_at{$CurrentMethod_i};$Attributes_o)
 $ThreadSafe_t:=OB Get($Attributes_o;"preemptive")

 Case of
   : ($ThreadSafe_t="capable")
 $ThreadSafeSection_t:="\rPreemptive\r"

   : ($ThreadSafe_t="incapable")
 $ThreadSafeSection_t:="\rCooperative\r"

   : ($ThreadSafe_t="indifferent")
 $ThreadSafeSection_t:="\rPreemptive capable\r"

 End case

 $MethodCode_t:=Replace string($MethodCode_t;"\r  // Access:
Shared\r";"\r  // Access: Shared\r"+$ThreadSafeSection_t)
 $MethodCode_t:=Replace string($MethodCode_t;"\r  // Access:
Private\r";"\r  // Access: Shared\r"+$ThreadSafeSection_t)

   //  End Threadsafe section

 $MethodCode_t:=Replace string($MethodCode_t;"  //
\r";"")
 $MethodCode_t:=Replace string($MethodCode_t;"//
\r";"")

 $MethodCode_t:=Replace string($MethodCode_t;"  // Project Method: ";"")
 $MethodCode_t:=Replace string($MethodCode_t;"// Project Method: ";"")

 $MethodCode_t:=Replace string($MethodCode_t;"  // ";"")
 $MethodCode_t:=Replace string($MethodCode_t;"// ";"")

 $Position_i:=Position("Created by";$MethodCode_t)

 $MethodCode_t:=Substring($MethodCode_t;1;($Position_i-3))

 $FirstChars_t:=Substring($MethodCode_t;1;2)
 While ($FirstChars_t="\r\r")
   $MethodCode_t:=Substring($MethodCode_t;2)
   $FirstChars_t:=Substring($MethodCode_t;1;2)
 End while

 $MethodComments_at{$CurrentMethod_i}:=$MethodCode_t

   End for

   METHOD SET COMMENTS($MethodNames_at;$MethodComments_at)

Else

   If (Count parameters=1)
 $MethodName_t:=$1
   Else
 $MethodName_t:=""
   End if

 // This version allows for any number of processes
 // $ProcessID_i:=New Process(Current method name;$StackSize_i;Current
method name;0)

 // On the other hand, this version allows for one unique process
   $ProcessID_i:=New process(Current method 

Re: A thought on re-indexing of a large database after repairs, compacting etc

2018-04-23 Thread Wayne Stewart via 4D_Tech
> I don’t have the luxury of installing an SSD RAID.

A 512GB SSD is less than $200
https://www.amazon.com/Samsung-500GB-Internal-MZ-76E500B-AM/dp/B0781Z7Y3S/

or just over if you go for the pro version with the 5 year warranty
https://www.amazon.com/Samsung-512GB-Inch-Internal-MZ-76P512BW/dp/B07836C6YV/







Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 23 April 2018 at 15:51, Paul Lovejoy via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Chuck,
>
> You know the old saying: “A watched pot never boils.”
> Watching 4D reload the same table with 7 million records 8 times to
> generate 8 indexes is kind of like that.
>
> I don’t have the luxury of installing an SSD RAID. I’m sure better
> hardware would help.
>
>
>
> Paul
>
>
> > Le 23 avr. 2018 à 04:20, Chuck Miller via 4D_Tech <4d_tech@lists.4d.com>
> a écrit :
> >
> > OK I don;t get it. We have a data base of over 200 Gig with many
> millions of records. We run using SSD,s in an Areca RAID. 1 Terabyte SSDs.
> I can tell you that when we restored from a backup up and rebuilt indices
> it took not more than 20 minutes to so. It does not matter if it is by
> table or not. Yes I agree it would be faster by table but with a database
> of this size, you really need to be running on an SSD RAID.
> >
> > Regards
> >
> > Chuck
> > 
> 
> > Chuck Miller Voice: (617) 739-0306
> > Informed Solutions, Inc. Fax: (617) 232-1064
> > mailto:cjmillerinformed-solutions.com
> > Brookline, MA 02446 USA Registered 4D Developer
> >   Providers of 4D and Sybase connectivity
> >  http://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.
> >
> >> On Apr 22, 2018, at 6:40 AM, Arnaud de Montard via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >>
> >>>
> >>> I guess our database of 120gb, running on a 32 bit machine doesn’t
> benefit from this. We were working on the most recent R release and
> yesterday we went to 15.5.
> >>> When reindexing the entire database, 4D Server/4D are still going
> index by index instead of table by table.
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 7-Zip Unpacker?

2018-04-21 Thread Wayne Stewart via 4D_Tech
Bob,

This is outside 4D?

If you use a Mac look at keka - http://www.kekaosx.com/en/

If you use Windows, it serves you right!


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 22 April 2018 at 12:43, Bob Miller via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hi Everyone,
>
> I am being sent some files that are "deep" inside a 7-ZIP archive.  That
> means when you open them with the 7-ZIP GUI tool (7-ZIP is kind of like
> WinZip), you see a folder, then you open the folder, then another folder,
> then...then..and about 6 levels deep there's a couple of text files I wish
> to extract so I can then import them into 4D.
>
> I'm having a devil of a time figuring out the command line interface,
> because I have a lot of these files and the folder paths within each one
> isn't the same.  Basically I want to just open each folder and keep going
> until I get to a file, then I know I'm done.  Thankfully, there are no
> branches - in no case are there more than one folder within another folder
> - so I just need to figure out how to keep on drilling down.
>
> Has anyone some sample code they'd be willing to share that specifically
> navigates through 7-ZIP archives?  This would be so much appreciated.
>
> Thank you!
>
> Bob Miller
> Chomerics, a division of Parker Hannifin Corporation
>
>
> ll
> "PLEASE NOTE: The preceding information may be confidential or privileged.
> It only should be used or disseminated for the purpose of conducting
> business with Parker. If you are not an intended recipient, please notify
> the sender by replying to this message and then delete the information from
> your system. Thank you for your cooperation."
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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

2018-04-08 Thread Wayne Stewart via 4D_Tech
Hi,

I think I saw it in the partner source code section of the forum


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 9 April 2018 at 01:43, John Baughman via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Thanks Miyako.
>
> > On Apr 8, 2018, at 12:52 AM, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > I am not sure if it is packaged as a Pop but you can find a validator
> demo here:
> >
> > http://download.4d.com/4DBlog/Tips/JSONValidator_4Dv16R4.zip
> >
> > and a How Do I? here:
> >
> > http://download.4d.com/Demos/4D_v17/HDI_JSONFileValidation.zip
> >
> > the demo was features in this blog post:
> >
> > https://blog.4d.com/a-new-tool-json-validator/
> >
> >> 2018/04/07 21:24、John Baughman via 4D_Tech <4d_tech@lists.4d.com> のメール:
> >>
> >> My summit notes for the Dynamic Forms session indicates that there is a
> JASON validator in the POP component. If I heard hat correctly, what
> version of the ocmponent is it in and where can I find it?
> >
> >
> >
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> John Baughman
> Kailua, Hawaii
> (808) 262-0328
> john...@hawaii.rr.com
>
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Write and 4D Write Pro

2018-03-26 Thread Wayne Stewart via 4D_Tech
Jim,

No idea but check with an R release.

What I’m guessing is that MAYBE you’re relying on an R feature and that’s
the problem.  Again, just guessing but give that a go.

Wayne

On Mon, 26 Mar 2018 at 21:41, Jim Crate via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> 4D 16.3, macOS.
>
> > On Mar 26, 2018, at 3:07 PM, Wayne Stewart via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Jim,
> >
> > What you described works perfectly for me.
> >
> > What version of 4D?
> >
> > Wayne
> >
> > On Mon, 26 Mar 2018 at 20:45, Jim Crate via 4D_Tech <
> 4d_tech@lists.4d.com>
> > wrote:
> >
> >> I’d like to be able to use 4D Write and 4D Write Pro together in the
> same
> >> database. However, even though 4D Developer Professional includes a “4D
> >> Write - 4D Write Pro” license, even in 64-bit mode I get a license error
> >> when trying to use 4D Write Pro.  Ideally, I’d like to be able to allow
> a
> >> 32-bit client to toggle between showing a 4D Write area and a 4D Write
> Pro
> >> area, and automatically display the 4D Write Pro area for a 64-bit
> client.
> >>
> >> Any idea if this is possible? Does 4D Write have to be completely
> removed
> >> to allow 4D Write Pro to function properly?
> >>
> >> Jim Crate
> >>
> >> **
> >> 4D Internet Users Group (4D iNUG)
> >> FAQ:  http://lists.4d.com/faqnug.html
> >> Archive:  http://lists.4d.com/archives.html
> >> Options: https://lists.4d.com/mailman/options/4d_tech
> >> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >> **
> >
> > --
> >
> > Regards,
> >
> > Wayne
> >
> >
> > [image: --]
> > Wayne Stewart
> > [image: http://]about.me/waynestewart
> > <http://about.me/waynestewart>
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart
<http://about.me/waynestewart>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Write and 4D Write Pro

2018-03-26 Thread Wayne Stewart via 4D_Tech
Jim,

What you described works perfectly for me.

What version of 4D?

Wayne

On Mon, 26 Mar 2018 at 20:45, Jim Crate via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I’d like to be able to use 4D Write and 4D Write Pro together in the same
> database. However, even though 4D Developer Professional includes a “4D
> Write - 4D Write Pro” license, even in 64-bit mode I get a license error
> when trying to use 4D Write Pro.  Ideally, I’d like to be able to allow a
> 32-bit client to toggle between showing a 4D Write area and a 4D Write Pro
> area, and automatically display the 4D Write Pro area for a 64-bit client.
>
> Any idea if this is possible? Does 4D Write have to be completely removed
> to allow 4D Write Pro to function properly?
>
> Jim Crate
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D Summit

2018-03-20 Thread Wayne Stewart via 4D_Tech
Hi,

I’m sitting in in the master class by Laurent in Paris.

Absolutely fantastic, if you haven’t booked for Washington yet you need to
break open the piggy bank now and book!

Really good stuff.

Wayne
-- 

Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D 15R5 Feedback

2018-02-27 Thread Wayne Stewart via 4D_Tech
Sujit,

I don’t that particular bug existed in v15

Wayne

On Wed, 28 Feb 2018 at 13:56, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Thanks Keisuke
>
> Do you know if this fixed in 15R5 as well?
>
>
>
> On Wed, Feb 28, 2018 at 8:29 AM, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> >  that would be: ACI0097539
> >
> >
> > https://bugs.4d.fr/fixedbugslist?branch=16_R6
> > https://bugs.4d.fr/fixedbugslist?branch=16
> >
> > > 2018/02/28 3:07、Stephen J. Orth via 4D_Tech <4d_tech@lists.4d.com>
> のメール:
> > > I recall reading (recently) a fix in V16.3 specifically dealing with a
> > server crash problem due to many SOAP calls.
> >
> >
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> >
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Mac OS for v11 Server

2018-02-10 Thread Wayne Stewart via 4D_Tech
10.6.8 in a virtual environment?

Actually server is very stable because of the lack of user interaction at
least for v13. Not so certain about v11.

Seriously look at the VM environment if you have problems though.

Wayne

On Sun, 11 Feb 2018 at 17:03, Justin Leavens via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> If there's anyone else out there still running a v11 Mac server - I'm
> curious
> to know what version of Mac OS X you're running under? I need to upgrade a
> current 10.6.8 server machine with... something. thanks!
>
>
>
> --
> Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: The writing is on the wall

2018-01-25 Thread Wayne Stewart via 4D_Tech
Hi,

4D View & 4D Write are not going 64 bit, that's what the pro versions are.

As far as 32 bit support, my guess is 10.14 will have grudging support and
10.15 will just say No!


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 26 January 2018 at 12:34, Julio Carneiro via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> On Jan 25, 2018, at 9:21 PM, Jeffrey Kain via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > We all need to be testing the new network layer and getting our feedback
> to 4D...
> >
> > https://arstechnica.com/gadgets/2018/01/apple-prepares-macos-users-for-
> discontinuation-of-32-bit-app-support/
> >
> Well, not just the network layer… still waiting for some plugins to go
> 64bit (4D View & 4D Write for example).
> --
> Julio Carneiro
> jjfo...@gmail.com
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SMTP error 10113 Error with Authentication

2018-01-23 Thread Wayne Stewart via 4D_Tech
Hi,

Did this sort the problem?


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 11 May 2017 at 05:08, David Ringsmuth via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Tim,
>
> Great suggestion. At first I thought it did.
>
> The smtp auth password has only lowercase letters and numbers.
>
> It is using SSL (true) SMTP AUTH (true).
>
> I had that problem on another system. Special characters broke it.
>
> David Ringsmuth
>
> From: Timothy Penner via 4D_Tech
> Sent: Wednesday, May 10, 2017 1:34 PM
> To: 4D iNug Technical
> Cc: Timothy Penner
> Subject: RE: SMTP error 10113 Error with Authentication
>
> David,
>
> Just a wild guess - Is there a strange character in the password?
> If so, maybe the character is being handled differently on 4D Server?
> I don't know why this would be the case, I just thought it might give you
> something to investigate.
>
> -Tim
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Dialog return value without process variables

2018-01-23 Thread Wayne Stewart via 4D_Tech
Hi,

What I do is create one process variable object in the initialisation of
every process.  I then use that throughout the process for all that sort of
stuff.

It's really easy with dot notation but you don't need it.


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 24 January 2018 at 10:18, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> In v16.x, you could use a hidden object variable on the form (process
> variable) that collects the form data you need to access outside the form
> that gets populated with your OK button's code or whatever accepts the
> dialog.
>
> In r5, there's the nifty Form function that solves this problem.
>
> --
> Jeffrey Kain
> jeffrey.k...@gmail.com
>
>
>
>
> > On Jan 23, 2018, at 6:13 PM, Jim Crate via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > If I have a dialog to allow the user to choose a value (like from a
> listbox), and I’m using the object names only without process variables, is
> it possible to determine from the method that calls DIALOG which value the
> user chose? Or do I need a process variable to pass that value from the
> form back to the method?
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: File Size

2018-01-14 Thread Wayne Stewart via 4D_Tech
Thanks Keisuke

> The unit was established by the International Electrotechnical Commission
 (IEC)
in 1998

My computer science degree predated that and I've never struck it before!
You learn something new every day.


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 15 January 2018 at 13:59, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> KB = 1000 bytes
>
> KiB = 1<<10 bytes
>
> https://en.wikipedia.org/wiki/Kibibyte
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

File Size

2018-01-14 Thread Wayne Stewart via 4D_Tech
Hi,

I'm trying to create a method that will return a file size as a string,
similar to how the Finder does.

Although I get "a result" it's not the "same result" as reported in the
Finder :(

It turns out that in the Finder KB are 1000 bytes, MB are 1000 KB etc.

I wasted a fair bit of time on this !

Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: PDFs in web areas & High Sierra broken?

2018-01-13 Thread Wayne Stewart via 4D_Tech
Consider the pluggers PDF viewer.

http://www.pluggers.nl/product/pdf-viewer/

On Wed, 10 Jan 2018 at 23:54, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Yeah, "only" the current OS on the Mac side in the versions most of are
> deploying... lol.
>
> --
> Jeffrey Kain
> jeffrey.k...@gmail.com
>
> > On Jan 10, 2018, at 2:38 AM, Alfonso Zafon via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > It's a new bug, High Sierra 10.13.2 and only for 4D 32 bits.
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Macros - how to insert "<>"

2017-12-13 Thread Wayne Stewart via 4D_Tech



Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 14 December 2017 at 09:40, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com
> wrote:

> i want to have a 4D marco include the following text, but the macro
> parser chokes.
> My HTML-fu is not strong  :)
> I believe that the macro parser is choking on the left arrow right
> arrow, so I need some help in escaping them.
>
>  ((<>x_Cr*2)+Current method name+<>x_Cr)
>
> Thanks!
> Chip
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: The speed penalty for pointers is pretty low compiled

2017-11-30 Thread Wayne Stewart via 4D_Tech
​Kirk,

​> ​
Agreed again. I really do wish 4D did a better job of presenting new
​ ​
technology.​

​Not wanting to sound like a 4D shill but I think the new blog (
https://blog.4d.com) is fantastic for demonstrating new features.


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 1 December 2017 at 05:05, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Hey Jody,
> Great post.
>
> On Thu, Nov 30, 2017 at 7:43 AM, Jody Bevan via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > You are right how we stick to our old habits. We do though because they
> > have proven to work and sticking with them saves a lot of time.
> >
> ​True but there's retro code that while working and stable is also
> un-necessary any more or simply overly complicated because it's relying on
> procedures written prior to certain capabilities 4D even had. I wonder how
> many folks are still using the old drag and drop commands for instance.
>
>
> > What we have done is to rewrite our shell every so often. The goal is to
> > make use of all of the new features of 4D that we can, and to try new
> ways
> > of doing things. We did this over the last year with v16. We really
> pushed
> > out a lot of the way we used to code and did it the new way we decided
> on.
> > One thing we did find is that in uncompiled with Team Developer it was
> > slow. We got concerned. I did notice it was also slower on Stand Alone
> > developer but not as bad. We do not use global variables on forms (or in
> > our code), use our own dot.notation in C_Objects extensively, and use
> > pointers even more than before (and with local variables).
> >
> > We finally decided we had better compile it to see what the end user
> speed
> > was going to be like. We breathed a big sigh of relief as the code
> executed
> > quickly. I suspect that a lot of the new way of coding gets ‘hard coded’
> by
> > the compiler so that it does not have to take the time to create the item
> > in memory - thus the speed increase.
> >
> > Back to the topic of the thread - rewriting our shell though expensive
> for
> > us, it helps move our mind set, test out new theories, and keep our code
> up
> > to date with the 4D Technology.
>
> ​I agree. I've re-written the main db our company uses three times now in
> the last 14 years. Started in 6.8, then jumped to 2004 and then to v13. The
> one from '04 to v13 was ​hard. In my case mainly because I took that
> opportunity to correct some structural issues that had come up as the scope
> of the project increased. It just had to be done. And the benefits are
> worth it.
>
> The size of the code base actually shrank. When you implement the newer
> functions 4D offers it frequently makes for less code to accomplish the
> same things. It also allowed me to position the project to interact more
> with other services. The user experience improves and I'm better able to
> keep it looking a little more modern than a lot of 4D looks. That's more
> important than mere aesthetics. The more I can make my interfaces resemble
> the sort of interfaces they see in their browsers the easier it is for them
> to use my program.
>
>
> > Testing is critical though. We got bit very badly with SQL when it first
> > arrived. Once France got involved they identified the cause quickly, and
> > fixed it. Learned a good lesson there - yet again.
> >
> ​Agreed again. I really do wish 4D did a better job of presenting new
> technology. And how they intend us to use it as a place to start. Or
> perhaps more to the point how to transition to it. And why. Again I'll
> point back to the drag and drop stuff. I recall posting something about how
> to implement the new form events and the pasteboard but I was looking at it
> from the context of working with the old commands and trying to understand
> how adding the new capabilities was a benefit. ​
> ​Which was a complete waste of time​. Finally someone, probably Miyako or
> Josh, flatly told me "just walk away from the old way of doing it - you
> don't need it anymore." Duh! Light bulb moment. I'm paraphrasing and it was
> probably nicer but that's what I needed to hear to ditch my old way of
> looking at it and start fresh.
>
> Personally I think 4D walks a tight line on that sort of stuff - not
> wanting to alienate old projects or make it seem like they _have_ to be
> re-written. And then, as you say, we've all be bitten by jumping onto
> something new only to stumble on to some bug. Well, you know what they say,
> if it was easy to write good code every a**hole in the world would be doing
> it.
>
> --
> Kirk Brooks
> San Francisco, CA
> ===
>
> *The only thing necessary for the triumph of evil is for good men to do
> nothing.*
>
> *- Edmund Burke*
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  

Re: v13 - Plugin inside component

2017-11-16 Thread Wayne Stewart via 4D_Tech
Chip,

Yep, that should do the trick


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 17 November 2017 at 09:35, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com
> wrote:

> I have a plugin - Keisuke's Get Folder Size - which is installed
> (plugin folder) of a database which is itself a component.
>
> I have tested the use of the plug, directly from inside the component,
> and it works as expected.
> However, I am finally testing a lot of new code from a host database
> (which uses the component).
>
> In the host database, I am calling a method from the component which
> uses Keisuke's plugin. I am getting an error from the host database
> 'the method does not exist.
>
> Do I need to copy the plugin from the component's plugin folder to the
> host's?
> Thanks
> Chip
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D v6.8

2017-11-16 Thread Wayne Stewart via 4D_Tech
Hi,

Scratch that, I've got it running in both 10.5 & 10.6 (next time check
before speaking - stupid man).


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 17 November 2017 at 09:23, Wayne Stewart 
wrote:

> Hi,
>
> My guess is that you could upgrade to v2003 or v2004 which might be easier
> to work with.
>
> I'm fairly certain that 6.8 won't run on 10.5+
>
>
> Regards,
>
> Wayne
>
>
> [image: --]
> Wayne Stewart
> [image: http://]about.me/waynestewart
> 
>
>
> On 17 November 2017 at 08:12, Randy Jaynes via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> I’m glad I’m not the only one who keeps a Mac 10.6 Server kicking around
>> in VMWare.
>>
>> Pretty much the same reason. :-)
>>
>> Randy
>>
>> --
>> Randy Jaynes
>> Senior Programmer and Customer Support
>>
>> http://printpoint.com  • 845.687.3741 •
>> PrintPoint, Inc • 57 Ludlow Lane • Palisades, NY 10964
>>
>>
>>
>>
>>
>>
>> > On Nov 16, 2017, at 3:32 PM, Charles Miller via 4D_Tech <
>> 4d_tech@lists.4d.com > wrote:
>> >
>> > Great idea I have 10.6.8 server running as a VM ware partition for
>> exactly
>> > that reason. Jody, if you can nto get this I will be more than happy to
>> > install 6.87 and remove whatever you tell me from the source.
>> >
>> > I bought 10.6.8 server from Apple for about 20 bucks. I would bet it is
>>
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>>
>
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D v6.8

2017-11-16 Thread Wayne Stewart via 4D_Tech
Hi,

My guess is that you could upgrade to v2003 or v2004 which might be easier
to work with.

I'm fairly certain that 6.8 won't run on 10.5+


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 17 November 2017 at 08:12, Randy Jaynes via 4D_Tech <4d_tech@lists.4d.com
> wrote:

> I’m glad I’m not the only one who keeps a Mac 10.6 Server kicking around
> in VMWare.
>
> Pretty much the same reason. :-)
>
> Randy
>
> --
> Randy Jaynes
> Senior Programmer and Customer Support
>
> http://printpoint.com  • 845.687.3741 •
> PrintPoint, Inc • 57 Ludlow Lane • Palisades, NY 10964
>
>
>
>
>
>
> > On Nov 16, 2017, at 3:32 PM, Charles Miller via 4D_Tech <
> 4d_tech@lists.4d.com > wrote:
> >
> > Great idea I have 10.6.8 server running as a VM ware partition for
> exactly
> > that reason. Jody, if you can nto get this I will be more than happy to
> > install 6.87 and remove whatever you tell me from the source.
> >
> > I bought 10.6.8 server from Apple for about 20 bucks. I would bet it is
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: BLOB CONFRONT

2017-11-08 Thread Wayne Stewart via 4D_Tech
Hi,

Thanks for all the thoughts.

I ran a test where I used four different document types, six different
mechanisms, repeated 10 times and then averaged the results.
Notes:
The √ means that the result came back as equal (just being paranoid).
4D Digest only works on text not blobs (although the documentation doesn't
say that), so that required Base 64 followed by generate digest.
Base 64 relied on  $equal_b:=(Position($1_t;$2_t;*)=1)

MD5 is always slower, it looks like the best is SHA1 digest which is what
Arnaud said above.  Note that you should always check if the blob sizes are
the same first!!  Much quicker as you skip the whole digest stage first.


√ JPEG (481,802 bytes) : 0 MD5 digest : 2.7 msec
√ JPEG (481,802 bytes) : 1 SHA1 digest : 1.4 msec
√ JPEG (481,802 bytes) : 2 4D digest : 10.0 msec
√ JPEG (481,802 bytes) : 3 SHA256 digest : 3.2 msec
√ JPEG (481,802 bytes) : 4 SHA512 digest : 2.0 msec
√ JPEG (481,802 bytes) : 5 Base 64 : 4.4 msec
√ Large Pdf (110,706,281 bytes) : 0 MD5 digest : 687.5 msec
√ Large Pdf (110,706,281 bytes) : 1 SHA1 digest : 378.2 msec
√ Large Pdf (110,706,281 bytes) : 2 4D digest : 3,308.4 msec
√ Large Pdf (110,706,281 bytes) : 3 SHA256 digest : 823.7 msec
√ Large Pdf (110,706,281 bytes) : 4 SHA512 digest : 519.7 msec
√ Large Pdf (110,706,281 bytes) : 5 Base 64 : 1,810.4 msec
√ Small Pdf (556,451 bytes) : 0 MD5 digest : 3.4 msec
√ Small Pdf (556,451 bytes) : 1 SHA1 digest : 1.9 msec
√ Small Pdf (556,451 bytes) : 2 4D digest : 13.1 msec
√ Small Pdf (556,451 bytes) : 3 SHA256 digest : 4.1 msec
√ Small Pdf (556,451 bytes) : 4 SHA512 digest : 2.6 msec
√ Small Pdf (556,451 bytes) : 5 Base 64 : 6.8 msec
√ Word Document (2,200,040 bytes) : 0 MD5 digest : 13.4 msec
√ Word Document (2,200,040 bytes) : 1 SHA1 digest : 8.1 msec
√ Word Document (2,200,040 bytes) : 2 4D digest : 56.9 msec
√ Word Document (2,200,040 bytes) : 3 SHA256 digest : 16.6 msec
√ Word Document (2,200,040 bytes) : 4 SHA512 digest : 10.6 msec
√ Word Document (2,200,040 bytes) : 5 Base 64 : 26.2 msec

Now with unequal blobs: (BLOB size($1->)=BLOB size($2->)):

X JPEG vs Large Pdf: 0 MD5 digest : 0.0 msec
X JPEG vs Large Pdf: 1 SHA1 digest : 0.0 msec
X JPEG vs Large Pdf: 2 4D digest : 0.0 msec
X JPEG vs Large Pdf: 3 SHA256 digest : 0.0 msec
X JPEG vs Large Pdf: 4 SHA512 digest : 0.0 msec
X JPEG vs Large Pdf: 5 Base 64 : 0.0 msec
X Large Pdf vs Small Pdf : 0 MD5 digest : 0.0 msec
X Large Pdf vs Small Pdf : 1 SHA1 digest : 0.0 msec
X Large Pdf vs Small Pdf : 2 4D digest : 0.0 msec
X Large Pdf vs Small Pdf : 3 SHA256 digest : 0.0 msec
X Large Pdf vs Small Pdf : 4 SHA512 digest : 0.0 msec
X Large Pdf vs Small Pdf : 5 Base 64 : 0.0 msec
X Small Pdf vs Word Document : 0 MD5 digest : 0.0 msec
X Small Pdf vs Word Document : 1 SHA1 digest : 0.0 msec
X Small Pdf vs Word Document : 2 4D digest : 0.0 msec
X Small Pdf vs Word Document : 3 SHA256 digest : 0.0 msec
X Small Pdf vs Word Document : 4 SHA512 digest : 0.0 msec
X Small Pdf vs Word Document : 5 Base 64 : 0.0 msec
X Word Document vs JPEG : 0 MD5 digest : 0.0 msec
X Word Document vs JPEG : 1 SHA1 digest : 0.0 msec
X Word Document vs JPEG : 2 4D digest : 0.0 msec
X Word Document vs JPEG : 3 SHA256 digest : 0.0 msec
X Word Document vs JPEG : 4 SHA512 digest : 0.0 msec
X Word Document vs JPEG : 5 Base 64 : 0.0 msec






Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 9 November 2017 at 02:45, Peter Bozek via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> On Wed, Nov 8, 2017 at 2:50 PM, Arnaud de Montard via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> >
> >
> > I've just tried, something like this:
> >
> >   BASE64 ENCODE($1_x;$1_t)
> >   BASE64 ENCODE($2_x;$2_t)
> >   $equal_b:=(Position($1_t;$2_t;*)=1)
> >
> >
> $equal_b:=($1_t = $2_t)
> should be faster (will end at first different char)
>
>
> --
>
> Peter Bozek
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: BLOB CONFRONT

2017-11-07 Thread Wayne Stewart via 4D_Tech
Hi,

Any more thoughts on this?  This is what I do currently:

$oldBLOB_x:=Old($CurrentField_ptr->)

Case of
  : (BLOB size($oldBLOB_x)=0) & (BLOB size($CurrentField_ptr->)=0)
  : (Generate digest($oldBLOB_x;MD5 digest)=Generate
digest($CurrentField_ptr->;MD5 digest))
Else
  //  It's different
End case

Is there a more efficient mechanism?




Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 6 November 2012 at 05:20, Joshua Fletcher  wrote:

> Use the GENERATE DIGEST command in 4D v13:
>
> http://doc.4d.com/4Dv13.1/help/Command/en/page2706.html
>
> Kind regards,
>
> Josh
>
> --
> Josh Fletcher
> Technical Account Manager
> 4D, Inc.
>
> >
>
>
>
> -Original Message-
> > From: 4d_tech-boun...@lists.4d.com [mailto:4d_tech-boun...@lists.4d.com]
> > On Behalf Of stardata.info
> > Sent: Monday, November 05, 2012 9:58 AM
> > To: 4d_tech@lists.4D.com
> > Subject: BLOB CONFRONT
> >
> >
> > Hi All,
> >
> > I need to compare two blob.
> > Is possible and as?
> >
> > Thanks
> > /Ferdinando/
>
> **
> 4D v13 is available now - with more than 200 new features to make
> your applications richer and faster
> http://www.4d.com/products/new.html
>
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: [Warning] Settings properties values on object field by object notation

2017-10-31 Thread Wayne Stewart via 4D_Tech
Chip,

Record 0 is the first record in the table. 

Of course it may have been deleted and the number not reallocated. 

Regards,

Wayne
Sent from my iPhone

> On 31 Oct 2017, at 15:03, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Alberto,
> doesn't Goto REcord ([table];0) - generate an error?
> there is no record number 0
> 
> from documentation :
> If record is less than the smallest record number in the database or greater 
> than the greatest record number in the database
> 
> 
>> Hello,
>> 
>> If the value of a property is modified using object notation directly 
>> over an object field the modified value is not stored on the record.
>> This is reproducible in v16R4 and v16R5.
>> 
>> 
>> READ WRITE([Table1])
>> GOTO RECORD([Table1];0)  // [Table1]Object.value is False
>> $b_value:=True
>> [Table1]Object.value:=$b_value 
>> SAVE RECORD([Table1])  // [Table1]Object.value is True after Save Record
>> UNLOAD RECORD([Table1])
>> GOTO RECORD([Table1];0)  // after changing the current selection by 
>> reloading the record [Table1]Object.value is false
>> 
>> I reported this to 4D via TAOW and the Forum.
>> 4D answer was that is as standard behavior and they recommend me to 
>> assign the object field to itself after modification. 
>> 
>> You can also use OB SET or assign the object to a variable and work 
>> with it before reassign it to the object field.
>> 
>> Alberto.
>> 
>> 
>> 
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> 
> Hell is other people 
> Jean-Paul Sartre
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: PDF in Web Area not displaying on a Mac

2017-10-18 Thread Wayne Stewart via 4D_Tech
John,

I use Rob Laveaux's pdf viewer plugin rather than the web area.

http://www.pluggers.nl/product/pdf-viewer/

FYI: There is a memory leak in the old web area with pdf display but not in
the new Blink based one, I'm not certain if that applies in your specific
case.

https://blog.4d.com/new-rendering-engine-for-web-area/



Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 19 October 2017 at 10:25, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> one thing you could do is to create a form with a web area,
> a text input with the web area's url variable as its data source,
> run it,
> drag and drop a file to the web area,
> and check what is displayed in the url variable.
>
> > 2017/10/19 8:22、John Baughman via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > Is there something I am missing in your response as to why the pdfs do
> not display on the Mac?
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Wayne Stewart via 4D_Tech
Sujit,

Don't get me wrong.

I do what Keisuke says as well, I just capture the font name on startup so
I can use it later.


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart
<http://about.me/waynestewart>


On 10 October 2017 at 15:34, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I think I am going to bite the bullet and do as Keisuke suggests. Testing
> it I found the User experience is way better..  An easy sprint or 2 for the
> hundreds of forms in the DB.
>
> On Tue, Oct 10, 2017 at 3:12 PM, Wayne Stewart via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > Hi,
> >
> > I guess that's not a major concern for me.
> >
> >
> > Regards,
> >
> > Wayne
> >
> >
> > [image: --]
> > Wayne Stewart
> > [image: http://]about.me/waynestewart
> > <http://about.me/waynestewart>
> >
> >
> > On 10 October 2017 at 14:56, Keisuke Miyako via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> > > > 2017/10/10 12:41、Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com>
> > のメール:
> > > > <>WGD_o.Font:=New object
> > > > <>WGD_o.Font.Name:=OBJECT Get font(*;"auto")
> > >
> > > as I mentioned in my other post,
> > >
> > > changing the font according to what you get from this,
> > > or any other ways to obtain the system font name,
> > > is going to fail when the app starts to display and accept text outside
> > > the latin alphabet.
> > >
> > > but of course, that may not be your concern at all.
> > > in that case, I have no reasons to stop you.
> > >
> > >
> > >
> > > **
> > > 4D Internet Users Group (4D iNUG)
> > > FAQ:  http://lists.4d.com/faqnug.html
> > > Archive:  http://lists.4d.com/archives.html
> > > Options: http://lists.4d.com/mailman/options/4d_tech
> > > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > > **
> > >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> >
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Wayne Stewart via 4D_Tech
Hi,

I guess that's not a major concern for me.


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart
<http://about.me/waynestewart>


On 10 October 2017 at 14:56, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> > 2017/10/10 12:41、Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > <>WGD_o.Font:=New object
> > <>WGD_o.Font.Name:=OBJECT Get font(*;"auto")
>
> as I mentioned in my other post,
>
> changing the font according to what you get from this,
> or any other ways to obtain the system font name,
> is going to fail when the app starts to display and accept text outside
> the latin alphabet.
>
> but of course, that may not be your concern at all.
> in that case, I have no reasons to stop you.
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Wayne Stewart via 4D_Tech
Sujit,

I do use the style sheet but I resize some of my dialogs/windows to fit the
amount of text being displayed.  This way I know the name of the font when
the calculations are made.

Sorry, that wasn't clear.


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart
<http://about.me/waynestewart>


On 10 October 2017 at 14:44, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> SO you don't use the property list to set the stylesheets?
>
> On Tue, Oct 10, 2017 at 2:41 PM, Wayne Stewart via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > Hi,
> >
> > What I do is open a form on startup in a window outside etc screen
> > boundary.
> >
> > On that form I have one variable set to Automatic.
> >
> > In the On load method I call:
> >
> > <>WGD_o.Font:=New object
> > <>WGD_o.Font.Name:=OBJECT Get font(*;"auto")
> >
> > In this particular example <>WGD_o is an application wide IP object that
> I
> > use to stuff things in.
> >
> > I then have the name to be used for the system font available for
> > calling thought the system.
> >
> > Cheers,
> >
> > Wayne
> >
> >
> >
> >
> > Regards,
> >
> > Wayne
> >
> >
> > [image: --]
> > Wayne Stewart
> > [image: http://]about.me/waynestewart
> > <http://about.me/waynestewart>
> >
> >
> > On 10 October 2017 at 14:32, Sujit Shah via 4D_Tech <
> 4d_tech@lists.4d.com>
> > wrote:
> >
> > > Thanks for your input. The standard Automatic font for data input is
> > rather
> > > nice - I must say. Gives the interface a nice uncluttered look and I am
> > > sure an enhanced data entry experience.  Something that users using web
> > > applications will be familiar with. A lot of "old style" 4D
> applications
> > > are cluttered with lots of fields packed together. Obviously with size
> 13
> > > fonts the screen real estate has to be redesigned to accomodate all the
> > > fields. Perhaps by means of tabs (multiple pages or scroll bars). I am
> > > waiting for the true elastic bootstrap 4D UI or perhaps I should not
> wait
> > > and just use web areas for all forms..
> > >
> > > :-)
> > >
> > >
> > >
> > >
> > > On Tue, Oct 10, 2017 at 2:03 PM, Keisuke Miyako via 4D_Tech <
> > > 4d_tech@lists.4d.com> wrote:
> > >
> > > > no,
> > > >
> > > > it simply means that the form is specifically designed.
> > > >
> > > > https://developer.apple.com/macos/human-interface-
> > > > guidelines/visual-design/typography/
> > > >
> > > > > 2017/10/10 10:57、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
> のメール:
> > > > >
> > > > > "Automatic style sheets manage the font as well as its size and
> > color"
> > > > >
> > > > > However, when I apply the "Automatic" style sheet I get a System
> Font
> > > 13
> > > > > for fields and variables which is way too large for the form
> design I
> > > > have.
> > > > > Does this mean I have to redesign all the forms?
> > > >
> > > >
> > > >
> > > > 
> **
> > > > 4D Internet Users Group (4D iNUG)
> > > > FAQ:  http://lists.4d.com/faqnug.html
> > > > Archive:  http://lists.4d.com/archives.html
> > > > Options: http://lists.4d.com/mailman/options/4d_tech
> > > > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > > > 
> **
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > xxx
> > > "There must be ingenuity as well as intention, strategy as well as
> > > strength. "
> > > **
> > > 4D Internet Users Group (4D iNUG)
> > > FAQ:  http://lists.4d.com/faqnug.html
> > > Archive:  http://lists.4d.com/archives.html
> > > Options: http://lists.4d.com/mailman/options/4d_tech
> > > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > > **
> > >
> > **
> 

Re: San Fransisco Font

2017-10-09 Thread Wayne Stewart via 4D_Tech
Hi,

What I do is open a form on startup in a window outside etc screen boundary.

On that form I have one variable set to Automatic.

In the On load method I call:

<>WGD_o.Font:=New object
<>WGD_o.Font.Name:=OBJECT Get font(*;"auto")

In this particular example <>WGD_o is an application wide IP object that I
use to stuff things in.

I then have the name to be used for the system font available for
calling thought the system.

Cheers,

Wayne




Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 10 October 2017 at 14:32, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Thanks for your input. The standard Automatic font for data input is rather
> nice - I must say. Gives the interface a nice uncluttered look and I am
> sure an enhanced data entry experience.  Something that users using web
> applications will be familiar with. A lot of "old style" 4D applications
> are cluttered with lots of fields packed together. Obviously with size 13
> fonts the screen real estate has to be redesigned to accomodate all the
> fields. Perhaps by means of tabs (multiple pages or scroll bars). I am
> waiting for the true elastic bootstrap 4D UI or perhaps I should not wait
> and just use web areas for all forms..
>
> :-)
>
>
>
>
> On Tue, Oct 10, 2017 at 2:03 PM, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > no,
> >
> > it simply means that the form is specifically designed.
> >
> > https://developer.apple.com/macos/human-interface-
> > guidelines/visual-design/typography/
> >
> > > 2017/10/10 10:57、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > >
> > > "Automatic style sheets manage the font as well as its size and color"
> > >
> > > However, when I apply the "Automatic" style sheet I get a System Font
> 13
> > > for fields and variables which is way too large for the form design I
> > have.
> > > Does this mean I have to redesign all the forms?
> >
> >
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> >
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Love 4D's math interpretation...

2017-09-29 Thread Wayne Stewart via 4D_Tech
It's a feature!


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 29 September 2017 at 19:18, Arnaud de Montard via 4D_Tech <
4d_tech@lists.4d.com> wrote:

>
> > Le 28 sept. 2017 à 23:53, Randy Engle via 4D_Tech <4d_tech@lists.4d.com>
> a écrit :
> >
> >
> > Whether it's a bug or not in 4D...
>
> a documented bug is no longer a bug  
>
> --
> Arnaud de Montard
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: OB Copy, New Object, or $1

2017-09-04 Thread Wayne Stewart via 4D_Tech
In English it undefined or Undefined. Case sensitive difference.

On Mon, 4 Sep 2017 at 19:35, Arnaud de Montard via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> >
> > Le 4 sept. 2017 à 05:11, John Baughman via 4D_Tech <4d_tech@lists.4d.com>
> a écrit :
> >
> > Also I spent a great deal of time looking at the object in the debugger
> and after $oCallerObject always remained undefined. Not anymore !!??!!
>
> In french 4D, the debugger shows a difference between an undefined
> variable (not declared) and an empty object (after c_object been executed):
> the former is "indéfinie", the second is "undefined".
> In this screen copy $xxx_o is just a direct input in debugger while
> c_object($zzz_o) has been executed:
> 
> Does english 4d make a difference?
>
> --
> Arnaud de Montard
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: How to show / hide all on Property List in v16?

2017-08-16 Thread Wayne Stewart via 4D_Tech
Kirk,

32 vs 64 bit.

The redesigned window in 64 bit doesn't have this functionality.




Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 16 August 2017 at 20:19, bernard--- via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I did not know that snippet.
> It works for me with V16R3 on my MacBook Pro on macOS Sierra.
>
> > Le 11 août 2017 à 00:34, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com>
> a écrit :
> >
> > In prior versions when working with a form and the Property List is
> > displayed I could show/hide all panes on the list by holding the Control
> > (not the Command) key and clicking on one of the pane triangles. This
> > doesn't work for me in v16.
> >
> > I've tried on two different Macs, one running Sierra and the other
> > Yosemite. And I've tried every combination of modifiers I can think of.
> >
> > I believe I asked about this before. Is there some option I may have
> either
> > set or unset to cause this? Really annoying.
> >
> > Thanks
> >
> > --
> > Kirk Brooks
> > San Francisco, CA
> > ===
> >
> > *The only thing necessary for the triumph of evil is for good men to do
> > nothing.*
> >
> > *- Edmund Burke*
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

How many Hierarchical Lists?

2017-08-14 Thread Wayne Stewart via 4D_Tech
Hi,

Is there a way you can find out how many lists there are?

I'm looking at a system where they use HLists as sort of objects. Storing
things in the "object" as list item parameters.

I'd like to check that they are being cleared correctly.

Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: nested components

2017-07-25 Thread Wayne Stewart via 4D_Tech
Chip,

The only way to this stuff easily is one way calls.

Component A can call Component B but not vice versa.

If you need to call in both directions then Execute Method or Execute
Formula are your friends.

In the host database have both components available. You can’t use a
‘contained’ component.

Wayne

On Wed, 26 Jul 2017 at 06:41, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I am working on a couple of components.
> in them I use (reuse) the same code for managing errors, like bad
> parroter values.
>
> can I:
> - break this error code out into a component, lets call it 'Text_Errors'
> - then place the 'Text_Errors' component into an other, eventually to
> be built, component?
> -and then access the methods in the 'Text_Errors' component from the
> 'higher level' component.
>
> assuming I can do this, what happens with the final host database?
> - can the final (host) system see the lower/lowest level component?
>
> (in Ascii)
> Top level (Host) system
>|
>  Component-1
>|
>  Error_Component
>
>
> Thanks
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Very Simple Way to Access Server with Two Copies of Remote from the Same Machine

2017-07-13 Thread Wayne Stewart via 4D_Tech
Mind you it took me a long time to discover the Folder separator constant!!


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 14 July 2017 at 09:13, Wayne Stewart  wrote:

> Doug,
>
> I think you've been asleep at the wheel for a while!!  That's dated 2011
> and I'm sure I can remember doing it in v2004.
>
>
> Regards,
>
> Wayne
>
>
> [image: --]
> Wayne Stewart
> [image: http://]about.me/waynestewart
> 
>
>
> On 14 July 2017 at 09:06, Douglas von Roeder via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> kb.4D.com is a wealth of info about 4D and, as much as I try to learn and
>> incorporate new tools and techniques, this one passed under my radar.
>>
>> I was reading some of Miyako's comments on the Forum a few months ago and
>> he mentioned the ability to run two copies of 4D Remote on the same OS on
>> the same machine. Seeing that I'm working on an app that uses main event
>> loop and opens a small, fixed-size window this tech note was a
>> huge productivity booster.
>>
>> Check out this tech note - http://kb.4d.com/assetid=76425
>>
>> --
>> Douglas von Roeder
>> 949-336-2902
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>
>
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Very Simple Way to Access Server with Two Copies of Remote from the Same Machine

2017-07-13 Thread Wayne Stewart via 4D_Tech
Doug,

I think you've been asleep at the wheel for a while!!  That's dated 2011
and I'm sure I can remember doing it in v2004.


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 14 July 2017 at 09:06, Douglas von Roeder via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> kb.4D.com is a wealth of info about 4D and, as much as I try to learn and
> incorporate new tools and techniques, this one passed under my radar.
>
> I was reading some of Miyako's comments on the Forum a few months ago and
> he mentioned the ability to run two copies of 4D Remote on the same OS on
> the same machine. Seeing that I'm working on an app that uses main event
> loop and opens a small, fixed-size window this tech note was a
> huge productivity booster.
>
> Check out this tech note - http://kb.4d.com/assetid=76425
>
> --
> Douglas von Roeder
> 949-336-2902
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Automatic Font

2017-07-12 Thread Wayne Stewart via 4D_Tech
Hi,

Is there a way to get the name of the "Automatic" (application/system etc)
font name at runtime?

Elsewhere I use Object Set Font & may want to use the "automatic one"

​Thanks
,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Automatic type-ahead on single-column listbox?

2017-06-27 Thread Wayne Stewart via 4D_Tech
Hi,

I did it with help from Dave Batton (so you can imagine how fresh this
solution is)!

The way it works is this and you will laugh/wince.

Here is a screenshot of the form:

http://www.4dsupport.guru/iNUGPictures/2017/Select.png

Have 36 buttons that trigger to the 26 characters and 10 numerals.

These are combined into a string and if that text is found (in the current
sorted column) that line is highlighted.

If there is no typing after one second then the buffer is cleared.



Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 28 June 2017 at 11:07, David Adams via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> On Wed, Jun 28, 2017 at 1:01 AM, Kirk Brooks via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> I've been messing around with type ahead recently. I came across that as
> > well and I seem to recall the solution was some 'regular' type ahead
> > methodology wired up to the list box. So you'd still have the list object
> > as a separate object on your form and move/show it when doing entry on
> the
> > listbox cell. Then hide it when done. And if you want to include a
> 'shadow'
> > TA object (to show what the TA completion would be if you selected it at
> > that moment - looks like the placeholder) it's more complicated by issues
> > of transparency and z-axis locations. Sigh.
> >
>
> Sigh :( Thanks for letting me know all the same
>
> If anyone can think up a clear feature request, post back here! This looks
> like something a lot of folks would vote for. It's an ideal request in a
> few ways because
> * Lots of people already want it.
> * Lots more people would want it as soon as it was available.
> * It's sounds pretty over-the-top hard to do today.
>
> I'd bet 4D could do a very nice job of adding as an optional behavior on a
> listbox column. Like, 'it has to be sorted and then when the object has
> focus, we'll use a binary search to find the best place for where they've
> typed.' After that, they could apply the same logic to the Explorer window
> where type-ahead only seems to respect 2-3 characters...
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 32 bit Mac

2017-06-06 Thread Wayne Stewart via 4D_Tech
My guess is 10.14 for no 32bit.

Reason: They are unlikely to remove support at 10.13.x but at a major OS
release.

Just guessing


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart
<http://about.me/waynestewart>


On 7 June 2017 at 15:32, Milan Adamov via 4D_Tech <4d_tech@lists.4d.com>
wrote:

>
> > On Jun 7, 2017, at 05:00, Wayne Stewart via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> >
> > I assume that is for app store deployment only but…
> >
> > https://developer.apple.com/videos/play/wwdc2017/102/
>
> I don't think so, knowing how Apple does this, it's going to be system
> wide thing.
>
> Milan
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

32 bit Mac

2017-06-06 Thread Wayne Stewart via 4D_Tech
Hi,

Looks like 32-bit apps are going away on the mac:

https://www.macrumors.com/2017/06/06/apple-to-phase-out-32-bit-mac-apps/

High Sierra will be the last macOS release to support 32-bit apps without
compromise.

64-bit Requirements
January 2018: New apps
June 2018: All apps and updates

I assume that is for app store deployment only but…

https://developer.apple.com/videos/play/wwdc2017/102/

Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Dynamic Process Variables???

2017-06-06 Thread Wayne Stewart via 4D_Tech
ftp://ftp.4d.com/ACI_TECHNICAL_NOTES/2010/MacOS/TN_2010_01-04_%28JAN%29/10-01_VariablesOnDemand.zip


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 7 June 2017 at 06:25, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> it's worth keeping in mind that the internal design of a pointer has been
> updated in v15.
>
> this is documented.
>
> > RESOLVE POINTER now returns -1 instead of 0 in fourth parameter for
> pointers on variables and single dimension arrays.
> > When passing a pointer on an element of a two dimensional array, the
> fourth parameter receives the element number of the second dimension.
> >
> > Get pointer command has been rewritten to interpret the specified string
> as a formula and analyze produced tokens. Therefore, invalid names for a
> variable are now rejected: Get pointer("123") used to be accepted but now
> produces error 77 "Bad variable name". Another consequence is that
> extraneous white spaces are now supported: Get pointer(" a ") was being
> rejected and is now accepted for "->a". Pointer on two dimensional arrays
> are now accepted: Get pointer( "a{1}{2}") produces ->a{1}{2}.
>
>
> http://doc.4d.com/4Dv15/4D/15/Get-pointer.300-2018637.en.html
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Dynamic Process Variables???

2017-06-06 Thread Wayne Stewart via 4D_Tech
There was a 4D summit session by Charlie Vass and someone else using this 
technique in v11 or v12. 

Regards,

Wayne
Sent from my iPhone

On 7 Jun 2017, at 05:53, Dennis, Neil via 4D_Tech <4d_tech@lists.4d.com> wrote:

>> I've only used dynamic vars on forms.
> 
> You and I are the same in that so far the only use of dynamic variables I 
> have done is from forms and list boxes.
> 
> I'm reluctant to use get pointer to create a process array dynamically until 
> it is documented as being safe, however it does seem to work.
> 
> Neil
> 
> 
> 
> 
> 
> --
> 
> 
> 
> 
> Privacy Disclaimer: This message contains confidential information and is 
> intended only for the named addressee. If you are not the named addressee you 
> should not disseminate, distribute or copy this email. Please delete this 
> email from your system and notify the sender immediately by replying to this 
> email.  If you are not the intended recipient you are notified that 
> disclosing, copying, distributing or taking any action in reliance on the 
> contents of this information is strictly prohibited.
> 
> The Alternative Investments division of UMB Fund Services provides a full 
> range of services to hedge funds, funds of funds and private equity funds.  
> Any tax advice in this communication is not intended to be used, and cannot 
> be used, by a client or any other person or entity for the purpose of (a) 
> avoiding penalties that may be imposed on any taxpayer or (b) promoting, 
> marketing, or recommending to another party any matter addressed herein.
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Deploying with R release?

2017-06-04 Thread Wayne Stewart via 4D_Tech
John,

No 'r' features will be included in a dot release until 17.0. 

No bug fixes will be made to 16r2, its frozen in time now. However bug fixes 
will be incorporated into 16r3 which is nearly final now and r4, r5. 

16r6 is of course 17.0. 

If you go down the r path, and I see no reason why you shouldn't, you are 
committing yourself to continuing through the r releases as the way of 
obtaining bug fixes. 

Regards,

Wayne
Sent from my iPhone

> On 5 Jun 2017, at 07:21, John Baughman via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> v16 R2 has a feature that I want to include in an upgrade from v15 to v16. I 
> am pondering the consequences of deploying an R release...
> 
> 1. It will not include any bug fixes since v16.0
>   16R2 Modified date = 3/15/17
>   16 .1  Modified date = 4/19/17
>   16.1 hf1 Modified date = 5/30/17 
> 
> 2. R2 is not exactly backwards compatible with 16.1 due to changes in the 
> language. So far I have found this true in the Listbox and Object themes.
> 
> 3. I am not entirely convinced that new features in the R2 release will in 
> fact see the light of day in 16.2.
> 
> 
> Welcome any comments.
> 
> John
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

  1   2   >