Leaving the .4DB behind??

2018-10-23 Thread Robert ListMail via 4D_Tech
Will 4D be able to work directly from remote GitHub repositories and where the  
.4db is no more??

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

RE: Leaving the .4DB behind??

2018-10-23 Thread Epperlein, Lutz (agendo) via 4D_Tech
No, I don't think so. It would be a complete different system. 4D relies on 
the structure file, it is a database of code and other information, UI and so 
on. And it is a kind of runtime environment. If you will run the 4D code only 
from text files (in a uncertain future) you end up with a system of a 
scripting language like PHP or Javascript. But I think this all is a bit 
useless speculation ...

Regards
Lutz

**
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: Leaving the .4DB behind??

2018-10-23 Thread Robert ListMail via 4D_Tech
But what if the structure was that collection of files and that 4D runs as it 
always does but the github version management is always in play without an 
export? What if the .4db is simply a package that didn’t have to be there? Just 
a thought. I think at a minimum, we will be one mouse-click from exporting the 
code, as you can see from the new v17r3 release and I’m assuming we’ll be able 
to import that same code to build a .4b from scratch. My idea saves the 
conversion steps, all other functionality would be identical. 

FWIW,

Robert

Sent from my iPhone

> On Oct 23, 2018, at 3:36 AM, Epperlein, Lutz (agendo) via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> No, I don't think so. It would be a complete different system. 4D relies on 
> the structure file, it is a database of code and other information, UI and so 
> on.

**
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-23 Thread Tim Nevels via 4D_Tech
On Oct 23, 2018, at 2:00 PM, Robert wrote:

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

https://glyphlab.com

You have to pay money, but for me it was worth it as I paid once and got a 
library of high quality images I’ve been using for years in all my projects.  
For me, well worth the one time price.

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

Converting pictures

2018-10-23 Thread setar accnt via 4D_Tech
Hi Robert, 

> 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.
You must convert the pictures with the Transparency option in versions higher 
than v13
V13 4D Pack plugin does NOT have that transparency option as I have encountered.
Doing the conversion in v13 with the example code I supplied earlier, clobbered 
all my pictures, none where there anymore. 
I have used v15 to do the conversion of the pictures, another issue I 
encountered is that I did not find the 4D Pack in v16 or v17

So having a backup is good…
sorry for the incomplete story. 

greetings
ernie hilgers(aruba)
**
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-23 Thread Stephen J. Orth via 4D_Tech
We have been using the following purchased icon set for years:

https://www.iconexperience.com/

Well worth the money as they keep current on every trend and have hundreds of 
professional quality designs.


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*
-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Tim Nevels via 
4D_Tech
Sent: Tuesday, October 23, 2018 2:05 PM
To: 4d_tech@lists.4d.com
Cc: Tim Nevels 
Subject: Re: Icon & Picture Button Sources...

On Oct 23, 2018, at 2:00 PM, Robert wrote:

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

https://glyphlab.com

You have to pay money, but for me it was worth it as I paid once and got a 
library of high quality images I’ve been using for years in all my projects.  
For me, well worth the one time price.

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

Re: Icon & Picture Button Sources...

2018-10-23 Thread Dani Beaubien via 4D_Tech
Here are some others….

https://getbootstrap.com/docs/4.1/extend/icons/#more-options 


Dani Beaubien
Open Road Development

> On Oct 23, 2018, at 1:17 PM, Stephen J. Orth via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> We have been using the following purchased icon set for years:
> 
>   https://www.iconexperience.com/
> 
> Well worth the money as they keep current on every trend and have hundreds of 
> professional quality designs.
> 
> 
> Steve
> 
> *
>  Stephen J. Orth
>  The Aquila Group, Inc. Office:  (608) 834-9213
>  P.O. Box 690   Mobile:  (608) 347-6447
>  Sun Prairie, WI 53590
> 
>  E-Mail:  s.o...@the-aquila-group.com
> *
> -Original Message-
> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Tim Nevels 
> via 4D_Tech
> Sent: Tuesday, October 23, 2018 2:05 PM
> To: 4d_tech@lists.4d.com
> Cc: Tim Nevels 
> Subject: Re: Icon & Picture Button Sources...
> 
> On Oct 23, 2018, at 2:00 PM, Robert wrote:
> 
>> As I recall, Tim Nevels mentioned a favorite picture button resource which 
>> has escaped me... Tim, can you refresh my memory...?
> 
> https://glyphlab.com
> 
> You have to pay money, but for me it was worth it as I paid once and got a 
> library of high quality images I’ve been using for years in all my projects.  
> For me, well worth the one time price.
> 
> 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: Help->v11 to v17 Upgrade or New?

2018-10-23 Thread Tim Nevels via 4D_Tech
On Oct 23, 2018, at 2:00 PM, Tom Benedict wrote:

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

I did a similar thing. I took Thomas Maul’s component and then customized it to 
suit my needs. I basically wanted to have a “Show History” option available in 
any open method window in Design. Accomplished that with a macro that calls a 
method to display a window with the current version of the method and the 
previous version of the method diff'd. It uses a JSON library to do the diff. 
Also a dropdown menu to select older versions of the method to compare and a 
“Copy” button to bring back older versions. 

I decide when I want to take a “snapshot” of the database and save the current 
version of each method. I usually do this just before I build and deploy a new 
version. But I can also save a version of any method at any time I want with 
another macro call from an open method window.

At first I built this thing to create thousands of text files of all the 
methods in hundreds folders all organized so that I could use GitHub to store 
the method text and do the diffs and all the things everyone says is so 
fantastic and cool and just must be done if you want to be a REAL developer.

I gave up on that because it is was becoming a large amount of work automating 
all of that and testing it and getting it all working and you still have to 
wander around on the website or with separate diff tools to get what I wanted 
which was “open a window showing the current version of a method and let me 
compare and diff it against previous versions.”

I ended up with a very simple to use and maintain system that uses a 4D 
external database. Yeah, remember those things that’s been around for many 
versions that you can only access with SQL? Turned out it was so much easier to 
deal with, control and maintain than the whole GitHub thing. And it’s easy to 
add indexes to these external databases via SQL code so look ups are super 
fast. 

This also works with 4D Team Developer so that a group of developers I work 
with can use it from 4D Client. Same code works on 4D or 4D Client. Everything 
is stored on 4D Server in a single folder named “Method History” that contains 
3 files: Method History.4DB, Method History.4DD and Method History.Match. 

So before you decide that you have to do GitHub because that’s what everyone 
says you should do, consider what you really want and really need and weigh 
that against how much work it’s going to take to accomplish that. Of course I 
know some love to spend tons of time building super complex things because it 
gives them great satisfaction, but I’ve got other more fun and interesting 
things to do with my spare time. :)

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

RE: Converting pictures

2018-10-23 Thread Timothy Penner via 4D_Tech
Hi Setar,

The v13 code to convert PICT -> PNG is here: http://kb.4d.com/assetid=76775
^ There is no transparency option in that code.

While the following code was published for v16: http://kb.4d.com/assetid=77963
^ This one uses the transparency option.

Regarding 4D Pack, it should exist in v16 but it is no longer available in 
newer versions:
http://livedoc.4d.com/4Dv17/help/Title/en/page3607.html#3188011
{
Over the course of different versions, the most useful 4D Pack routines were 
progressively integrated into 4D itself, while those that became obsolete were 
removed. Starting with 4D v16 R2, the 4D Pack plug-in is no longer provided in 
versions of 4D. Refer to the table below to find out the replacement solutions 
available (if any) for 4D Pack routines.
}

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

ORDA Entity From

2018-10-23 Thread Dennis, Neil via 4D_Tech
Is there a way to determine where an entity is from? In the debugger it shows 
in the value "Entity () from ", but I can't fine a way to get 
 using a method from code. Does such a method exist?

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)
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: Leaving the .4DB behind??

2018-10-23 Thread Benedict, Tom via 4D_Tech
Robert says:

>But what if the structure was that collection of files and that 4D runs as
>it always does but the github version management is always in play without
>an export? What if the .4db is simply a package that didn't have to be there?
>Just a thought. I think at a minimum, we will be one mouse-click from exporting
>the code, as you can see from the new v17r3 release and I'm assuming we'll be
>able to import that same code to build a .4b from scratch. My idea saves the
>conversion steps, all other functionality would be identical.

I don't know anything about how v17r3 supports exporting code and forms to a 
source code repository. Is it triggers by 4D Macros, like MethodHistory which 
could trigger code when saving a method or is it something else? That would be 
nice, but you would still need an explicit "Commit" capability.

Ideally you could have a distributed team of developers all working on local 
copies of the 4D structure, with local test data. Once their changes are 
complete and unit tested they could be "checked in" to a github. From there an 
automated "continuous build" process would periodically grab all checked-in 
code and forms and build and deploy an updated structure to a test server where 
testers would validate the changes.

From the sound of things, we are only one step away from being able to create 
this kind of build/deploy environment in 4D. This is would really move 4D in 
the right direction, from an Enterprise acceptance point of view.

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

Re: ORDA Entity From

2018-10-23 Thread Douglas von Roeder via 4D_Tech
Neil:

I asked, essentially, the same question yesterday and got no response.

Given that ORDA is a work in progress, perhaps it will be added to the
language.

--
Douglas von Roeder
949-336-2902


On Tue, Oct 23, 2018 at 1:23 PM Dennis, Neil via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Is there a way to determine where an entity is from? In the debugger it
> shows in the value "Entity () from ", but I can't fine a way to
> get  using a method from code. Does such a method exist?
>
> 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)
> 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: ORDA Entity From

2018-10-23 Thread Chip Scheide via 4D_Tech
can you wrap the call to create the entity, tracking the detail(s) you 
want to track as you create the entity?


On Tue, 23 Oct 2018 13:49:07 -0700, Douglas von Roeder via 4D_Tech 
wrote:
> Neil:
> 
> I asked, essentially, the same question yesterday and got no response.
> 
> Given that ORDA is a work in progress, perhaps it will be added to the
> language.
> 
> --
> Douglas von Roeder
> 949-336-2902
> 
> 
> On Tue, Oct 23, 2018 at 1:23 PM Dennis, Neil via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> Is there a way to determine where an entity is from? In the debugger it
>> shows in the value "Entity () from ", but I can't fine a way to
>> get  using a method from code. Does such a method exist?
>> 
>> 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)
>> 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
> **
---
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
**

Re: ORDA Entity From

2018-10-23 Thread Douglas von Roeder via 4D_Tech
Chip:

Uh, er, ah, yeah, I *could* but I'm thinking that it's such a trivial thing
for 4D to expose it as a property of an entity that I'd rather wait till 4D
adds it. The use case is to display an alert to the user than an entity is
locked. 4D returns all sorts of info about the fact that it's locked, but
the dataclass name is AWOL. That strikes me as an oversight.

Another issue that needs to be resolved is scoping. I've got a couple of
hundred sets of setters and getters that I've been using with ObjectTools
and I shudder at the idea of all of those property names being added to the
IDE without any sort of scoping mechanism. I'm holding off on that move
until "object-based" becomes "object oriented".

But thanks for letting me know that my posts are getting through!
--
Douglas von Roeder
949-336-2902


On Tue, Oct 23, 2018 at 2:04 PM Chip Scheide <4d_o...@pghrepository.org>
wrote:

> can you wrap the call to create the entity, tracking the detail(s) you
> want to track as you create the entity?
>
>
> On Tue, 23 Oct 2018 13:49:07 -0700, Douglas von Roeder via 4D_Tech
> wrote:
> > Neil:
> >
> > I asked, essentially, the same question yesterday and got no response.
> >
> > Given that ORDA is a work in progress, perhaps it will be added to the
> > language.
> >
> > --
> > Douglas von Roeder
> > 949-336-2902
> >
> >
> > On Tue, Oct 23, 2018 at 1:23 PM Dennis, Neil via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> >> Is there a way to determine where an entity is from? In the debugger it
> >> shows in the value "Entity () from ", but I can't fine a way
> to
> >> get  using a method from code. Does such a method exist?
> >>
> >> 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)
> >> 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
> > **
> ---
> 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
**

Re: DataClass Name from Entity

2018-10-23 Thread Julio Carneiro via 4D_Tech
Posted that as a feature request sometime ago, in the beta forum. 4D said it 
would come in the future. It is not in v17R2, afaik.

> On Oct 22, 2018, at 7:10 PM, Douglas von Roeder via 4D_Tech 
> <4d_tech@lists.4d.com > wrote:
> 
> 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


--
Julio Carneiro
jjfo...@gmail.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: ORDA Entity From

2018-10-23 Thread Julio Carneiro via 4D_Tech
as I mentioned on an earlier post, I’ve put that as a request to 4D and the 
response I got was that ‘it may come in a future release”

if you have access to the beta forum, go vote for it: 
http://forums.4d.com/Post/EN/25274556/1/25274557
may they get into the next release :-)

> On Oct 23, 2018, at 5:49 PM, Douglas von Roeder via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Neil:
> 
> I asked, essentially, the same question yesterday and got no response.
> 
> Given that ORDA is a work in progress, perhaps it will be added to the
> language.
> 
> --
> Douglas von Roeder
> 949-336-2902
> 
> 
> On Tue, Oct 23, 2018 at 1:23 PM Dennis, Neil via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> Is there a way to determine where an entity is from? In the debugger it
>> shows in the value "Entity () from ", but I can't fine a way to
>> get  using a method from code. Does such a method exist?
>> 
>> Neil
>> 

--
Julio Carneiro
jjfo...@gmail.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: ORDA Entity From

2018-10-23 Thread Douglas von Roeder via 4D_Tech
Julio:

Thanks for that input. I must have missed your message about this.

OK, off the place that's proof that disco did *not* die - the 4D Forum!

--
Douglas von Roeder
949-336-2902


On Tue, Oct 23, 2018 at 3:08 PM Julio Carneiro via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> as I mentioned on an earlier post, I’ve put that as a request to 4D and
> the response I got was that ‘it may come in a future release”
>
> if you have access to the beta forum, go vote for it:
> http://forums.4d.com/Post/EN/25274556/1/25274557
> may they get into the next release :-)
>
> > On Oct 23, 2018, at 5:49 PM, Douglas von Roeder via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Neil:
> >
> > I asked, essentially, the same question yesterday and got no response.
> >
> > Given that ORDA is a work in progress, perhaps it will be added to the
> > language.
> >
> > --
> > Douglas von Roeder
> > 949-336-2902
> >
> >
> > On Tue, Oct 23, 2018 at 1:23 PM Dennis, Neil via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> >> Is there a way to determine where an entity is from? In the debugger it
> >> shows in the value "Entity () from ", but I can't fine a way
> to
> >> get  using a method from code. Does such a method exist?
> >>
> >> Neil
> >>
>
> --
> Julio Carneiro
> jjfo...@gmail.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: DataClass Name from Entity

2018-10-23 Thread Douglas von Roeder via 4D_Tech
Agreed.
I just added my tuppence.
--
Douglas von Roeder
949-336-2902


On Tue, Oct 23, 2018 at 3:03 PM Julio Carneiro via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Posted that as a feature request sometime ago, in the beta forum. 4D said
> it would come in the future. It is not in v17R2, afaik.
>
> > On Oct 22, 2018, at 7:10 PM, Douglas von Roeder via 4D_Tech <
> 4d_tech@lists.4d.com > wrote:
> >
> > 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
>
>
> --
> Julio Carneiro
> jjfo...@gmail.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: ORDA Entity From

2018-10-23 Thread Peter Bozek via 4D_Tech
On Tue, Oct 23, 2018 at 10:23 PM Dennis, Neil via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Is there a way to determine where an entity is from? In the debugger it
> shows in the value "Entity () from ", but I can't fine a way to
> get  using a method from code. Does such a method exist?
>
> Neil
>

Neil,

Do not have answer, but, as a workaround, what I did was insert (wrapp)
selection as a property of another  object that holds information about
table (plus few other attributes I found usefull.)

--

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

[OFF] Credit card payments...

2018-10-23 Thread Robert ListMail via 4D_Tech
I have a client with an overdue invoice….  They want to pay via CC but I 
normally don’t take credit cards. Do you take credit card payments…? My first 
thought its to use PayPal.

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: [OFF] Credit card payments...

2018-10-23 Thread Robert McKeever via 4D_Tech
You can use Interact transfers, too. Very fast, and it might cost them a couple 
of dollars. 

> On Oct 23, 2018, at 4:10 PM, Robert ListMail via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> I have a client with an overdue invoice….  They want to pay via CC but I 
> normally don’t take credit cards. Do you take credit card payments…? My first 
> thought its to use PayPal.
> 
> 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
> **

_
Bob McKeever  http://www.mswl.com 
McKeever's Software Wizardry
Port Coquitlam, B.C.
bobmckee...@mac.com




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

Re: Icon & Picture Button Sources...

2018-10-23 Thread Robert ListMail via 4D_Tech
Hi Tim thanks for the reminder. I recall liking your interface design. So, are 
you using the various button states where 4D has the ability to swap the images 
during different states such as “rollover”? If so, did you have to create two 
or three different versions of each icon for matrix of images…?

Thanks,

Rob

> On Oct 23, 2018, at 2:04 PM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> https://glyphlab.com 
> 
> You have to pay money, but for me it was worth it as I paid once and got a 
> library of high quality images I’ve been using for years in all my projects.  
> For me, well worth the one time price.
> 
> 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
**

Using listbox as output form replacement

2018-10-23 Thread Jim Crate via 4D_Tech
I have a form with a selection-based listbox which I use as an output form. In 
runtime mode, you just use DIALOG instead of DISPLAY SELECTION. If I set that 
form as the output form, it doesn’t work in User mode, it just says “There is 
no form selected to display the records of: [My_Table]”. Is there a way to get 
this to work in User mode? 

Jim Crate

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

RE: Icon & Picture Button Sources...

2018-10-23 Thread Stephen J. Orth via 4D_Tech
Rob,

If you want to create a multi-state button, which is what you are describing, 
you simply create a PNG image with 4 states.  This is how we handle this in our 
system...

The four states are:  Active, Pushed, Mouse Over,  & Disabled.

If you are looking to create a 24 pixel multi-state button, you then create a 
PNG file that is 24 wide x 96 high.  From top to bottom each 24 pixels in 
height accounts a state (Active, Pushed, Mouse-Over, Disabled).

We then use a 3D button to contain the image.

Hope that helps...


Steve

*
  Stephen J. Orth
  The Aquila Group, Inc. Office:  (608) 834-9213
  P.O. Box 690   Mobile:  (608) 347-6447
  Sun Prairie, WI 53590

  E-Mail:  s.o...@the-aquila-group.com
*
-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Robert 
ListMail via 4D_Tech
Sent: Tuesday, October 23, 2018 6:48 PM
To: 4D iNug Tech <4d_tech@lists.4d.com>
Cc: Robert ListMail 
Subject: Re: Icon & Picture Button Sources...

Hi Tim thanks for the reminder. I recall liking your interface design. So, are 
you using the various button states where 4D has the ability to swap the images 
during different states such as “rollover”? If so, did you have to create two 
or three different versions of each icon for matrix of images…?

Thanks,

Rob


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

Re: [OFF] Credit card payments...

2018-10-23 Thread Kirk Brooks via 4D_Tech
Stripe has got to best API I have dealt with if you want to do a 4D
integration.
On the other hand if you don't do many transactions Square is hard to beat.

On Tue, Oct 23, 2018 at 4:11 PM Robert ListMail via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I have a client with an overdue invoice….  They want to pay via CC but I
> normally don’t take credit cards. Do you take credit card payments…? My
> first thought its to use PayPal.
>
> 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
> **



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

RE: Using listbox as output form replacement

2018-10-23 Thread Timothy Penner via 4D_Tech
Hi Jim,

> Is there a way to get this to work in User mode?

User Mode? Maybe the following items will help -

Tech Tip: User Mode is now a part of Design Mode
http://kb.4d.com/assetid=47243

Tech Tip: Converting Databases that used "User Mode"
http://kb.4d.com/assetid=75239

Tech Note: User Mode Component  (for databases prior to v12)
http://kb.4d.com/assetid=75777

Tech Tip: Virtual User Mode (for databases v12 and higher)
http://kb.4d.com/assetid=76942
https://github.com/miyako/4d-tips-virtual-user-mode

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

Re: Using listbox as output form replacement

2018-10-23 Thread Jim Crate via 4D_Tech
On Oct 23, 2018, at 5:21 PM, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> 
wrote:
> 
> Hi Jim,
> 
>> Is there a way to get this to work in User mode?
> 
> User Mode? Maybe the following items will help -
> 
> Tech Tip: User Mode is now a part of Design Mode
> http://kb.4d.com/assetid=47243

I don’t really need any old User mode functionality. So I’ll re-phrase: a 
normal output form with header, detail, footer sections displays properly in 
the Design mode window that displays the form with data. A form using a listbox 
for the detail section does not seem to display properly. 

I have figured out that if the detail area specified by the form markers is not 
zero, the form displays. The listbox displays fine in the header or footer. 
However, I’m not sure where to put the markers so that the listbox will take up 
the available space, like a regular listing. It works well enough, I suppose, 
if I move the markers down far enough for the header to take up the space that 
I use for that window. 

Jim Crate

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

Re: Using listbox as output form replacement

2018-10-23 Thread Jim Crate via 4D_Tech
On Oct 23, 2018, at 5:37 PM, Jim Crate via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> On Oct 23, 2018, at 5:21 PM, Timothy Penner via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
>> 
>> Hi Jim,
>> 
>>> Is there a way to get this to work in User mode?
>> 
>> User Mode? Maybe the following items will help -
>> 
>> Tech Tip: User Mode is now a part of Design Mode
>> http://kb.4d.com/assetid=47243
> 
> I don’t really need any old User mode functionality. So I’ll re-phrase: a 
> normal output form with header, detail, footer sections displays properly in 
> the Design mode window that displays the form with data. A form using a 
> listbox for the detail section does not seem to display properly. 
> 
> I have figured out that if the detail area specified by the form markers is 
> not zero, the form displays. The listbox displays fine in the header or 
> footer. However, I’m not sure where to put the markers so that the listbox 
> will take up the available space, like a regular listing. It works well 
> enough, I suppose, if I move the markers down far enough for the header to 
> take up the space that I use for that window. 

Actually the listbox growth properties aren’t respected, so the listbox also 
has to take up the space. I didn’t notice that moving the marker resized my 
listbox.

Anyway, close enough, I suppose. Setting it up like that doesn’t affect the 
display using the DIALOG command.

Jim Crate

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