Re: Icon & Picture Button Sources...

2018-10-22 Thread Mike Kerner via 4D_Tech
so migrating existing forms involves manually searching through said folder
and then manually assigning these icons?

On Mon, Oct 22, 2018 at 6:23 PM Tai Bui via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> 4D v16R6+ has a set of new icons to replace the old ones:
> https://blog.4d.com/icon-modernization-continues/
>
> They should be located at the installed location in a resources > images >
> buttons folder.
>
> Best Regards,
> -Tai B.
>
>
>
>
> -Original Message-
> From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Robert ListMail
> via 4D_Tech
> Sent: Monday, October 22, 2018 2:44 PM
> To: 4D iNug Technical <4d_tech@lists.4d.com>
> Cc: Robert ListMail 
> Subject: Re: Icon & Picture Button Sources...
>
> As I recall, Tim Nevels mentioned a favorite picture button resource which
> has escaped me... Tim, can you refresh my memory...?
>
> Thanks,
>
> Robert
>
> Sent from my iPhone
>
> > On Oct 22, 2018, at 1:31 PM, Robert ListMail via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > So, were do you find modern pictures to use for your picture buttons?
>
> **
> 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
> **



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: Icon & Picture Button Sources...

2018-10-22 Thread Tai Bui via 4D_Tech
4D v16R6+ has a set of new icons to replace the old ones:
https://blog.4d.com/icon-modernization-continues/

They should be located at the installed location in a resources > images > 
buttons folder.

Best Regards,
-Tai B.




-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Robert ListMail via 
4D_Tech
Sent: Monday, October 22, 2018 2:44 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Robert ListMail 
Subject: Re: Icon & Picture Button Sources...

As I recall, Tim Nevels mentioned a favorite picture button resource which has 
escaped me... Tim, can you refresh my memory...?

Thanks,

Robert

Sent from my iPhone

> On Oct 22, 2018, at 1:31 PM, Robert ListMail via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
>
> So, were do you find modern pictures to use for your picture buttons?

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

DataClass Name from Entity

2018-10-22 Thread Douglas von Roeder via 4D_Tech
When trying to save an entity, the entity may be locked. If it is locked,
4D returns information in status property about the locked status. That's
helpful information that can be displayed for the user.  Unfortunately, I
don't see a way to determine the name of the dataclass for the entity.

Given an entity, $entity_O, how do I determine the dataclass name?

--
Douglas von Roeder
949-336-2902
**
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: Icon & Picture Button Sources...

2018-10-22 Thread Robert ListMail via 4D_Tech
As I recall, Tim Nevels mentioned a favorite picture button resource which has 
escaped me... Tim, can you refresh my memory...?

Thanks,

Robert

Sent from my iPhone

> On Oct 22, 2018, at 1:31 PM, Robert ListMail via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> So, were do you find modern pictures to use for your picture buttons?

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

Re: Help->v11 to v17 Upgrade or New?

2018-10-22 Thread Benedict, Tom via 4D_Tech
Dani Beaubien writes:
>
>I use the external git client for diffs against historical commits and I use 
>the
>Code Analysis component for diffs between what is in the 4D structure
>compares against the last export to the external folder.

We did a similar thing based on Thomas Maul's MethodHistory component. We added 
a UI and integrated it into our semi-automated build/version tracking process. 
Compare method versions on screen filtered by date/version.

>Works quite well. Definitely a few extra steps but benefits to be able to go 
>back
>in time and see the change history tied to code commit is amazingly useful.

We use it for pre-release code review as well as post-release troubleshooting, 
if needed. It helped improve code quality on an 8 developer team.

Tom Benedict
Optum
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
**
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
**

Icon & Picture Button Sources...

2018-10-22 Thread Robert ListMail via 4D_Tech
As I move some v11 projects to v17, the old picture buttons fail to work as 
expected since they were using a PICT image and since those file formats are no 
longer supported by 4D. So, were do you find modern pictures to use for your 
picture buttons?  Optimally it would be great if these are already setup with 
the 4 possible states recognized by 4D.

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

Re: Shared Object - NOT!

2018-10-22 Thread Peter Bozek via 4D_Tech
On Mon, Oct 22, 2018 at 5:10 PM Keith Culotta via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> If a method creates an object ($no:=new object), the object is destroyed
> when the method ends?
> and
> if a method creates a new shared object ($nso:=new shared object), the
> object continues to exist after the method ends, but the reference to it is
> lost?  Does 4D know to clear the object in this case?
>
>
Keith,

AFAIK, object - standard or shared -  is destroyed when it refcount is
zero, what means when there is nothing that references it anymore.

This means that when a method creates new object
$no:=New object
fact that $no is local variable matters to the extend that, when methods
ends, $no gets out of scope and the refcount of the object is decreased by
1. If no other variable refers to the object, it is destroyed. However,
there may be other variables that refer to that object, if you do something
like
procesVar:=$no
or
SomeMethod($no)

In this case, object exist till last variable stopp to reference it.

--

Peter Bozek
**
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: Shared Object - NOT!

2018-10-22 Thread Keith Culotta via 4D_Tech
If a method creates an object ($no:=new object), the object is destroyed when 
the method ends?
and
if a method creates a new shared object ($nso:=new shared object), the object 
continues to exist after the method ends, but the reference to it is lost?  
Does 4D know to clear the object in this case?

Keith - CDI

> On Oct 20, 2018, at 11:28 PM, Keisuke Miyako via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> I prefer to explain it this way:
> 
> when you pass a New object or New collection  to a method (subroutine),
> that object or collection is shared between the 2 methods, caller and callee,
> because they are running in the same process.
> 
> if you execute $1.foo:="bar" in the callee,
> the object from the caller is also updated,
> because they are in fact referenced to the same object.
> 
> if you do the same across processes,
> i.e. pass a New object or New collection to New process, CALL WORKER or CALL 
> FORM,
> the object or collection is not shared between the 2 methods, caller and 
> callee,
> because they are not running in the same process.
> 
> the best way to share an object or collection between processes is to pass a 
> shared object or shared collection as a parameter.
> there is no need to use Storage, there is no need to use interprocess 
> variables.
> you just create a shared object or shared collection, and pass it as an 
> argument to another process or worker.
> the received object is not a copy, it is a shared reference to the same 
> shared object.
> 
> Storage is not mandatory, if you always pass shared objects using parameters,
> which is good practice, according the law of Demeter.
> 
> https://en.wikipedia.org/wiki/Law_of_Demeter
> 
> the reason why Storage often pops up in the context of interprocess variables,
> is because we recognise that in many applications, interprocess variables are 
> casually references all over the place.
> it is provided as a last resort, a global shared object to which you can 
> attach all your shared objects
> so that you can access them from anywhere in your code, without using 
> parameters.
> 
>> 2018/10/21 13:11、lists via 4D_Tech <4d_tech@lists.4d.com>のメール:
>> 
>> In order to share an object between processes without using an interprocess 
>> variable, you must use the "Storage" container/catalog.
> 
> 
> 
> 
> **
> 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: Help->v11 to v17 Upgrade or New?

2018-10-22 Thread Patrick Emanuel via 4D_Tech
4D Tech mailing list wrote
> I am not uploading directly from 4D. I thought about implementing that but
> decided against it since 4D is going that direction them selves. Waiting
> to see what they come up with.

I understood the same from teh Summit.
Anyway, there is an existing  module in QS_Toolbox doing this, but I will
not improve it more that it is today until the 4D Release having this
function (v18?) and will concentrate my work on the others modules.





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