Re: OAuth Code Library

2017-12-06 Thread Sannyasin Siddhanathaswami via 4D_Tech
Thanks Miyako!

I’ll look at these carefully.

Sannyasin Siddhanathaswami

On Dec 6, 2017, 2:27 PM -1000, Keisuke Miyako via 4D_Tech 
<4d_tech@lists.4d.com>, wrote:
OAuth 1.0a and 2.0 work very differently (2.0 is way way easier)

2.0 Examples

https://github.com/miyako/4d-component-google-api
https://github.com/4D-JP/4d-tips-google-mail
https://github.com/miyako/4d-tips-facebook-integration
https://github.com/miyako/4d-tips-quickbook-integration

1.0 and 2.0 Example

https://github.com/miyako/4d-component-oauth

2017/12/07 7:10、Sannyasin Siddhanathaswami via 4D_Tech 
<4d_tech@lists.4d.com> のメール:
Does anyone have an OAuth code library they would be willing to share? I’ve 
gone through the process of manually getting tokens via curl, but it’s going to 
be a pain reinventing the wheel to get that working and debugged in 4D.
Thanks in advance!


**
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: List Box gotcha - Automatic Row Height

2017-12-06 Thread Timothy Penner via 4D_Tech
According to doc.4d.com the description of these two manuals are:

* 4D Design Reference:
- Description and guide for using the features and editors found in the 4D 
Design environment (structure, forms, methods, menus, queries, etc.)

* 4D Language Reference:
- Reference manual for the 4D programming language: describes each command and 
keyword, along with its syntax, parameters and code examples.

Based on those descriptions I don’t think this checkbox is supposed to be 
listed in the Language Reference, but would instead it is supposed to be listed 
in the Design Reference.

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

RE: List Box gotcha - Automatic Row Height

2017-12-06 Thread Timothy Penner via 4D_Tech
I don’t think the checkbox or property list would be documented in the Language 
manual because the checkbox is not a language item. However, the checkbox does 
correspond to the command LISTBOX SET AUTO ROW HEIGHT which is documented in 
the language manual (because it is a command).

I am pretty sure that non-language items, such as the GUI or other UI related 
properties, would be documented in the Design manual, not the language manual.

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

Re: List Box gotcha - Automatic Row Height

2017-12-06 Thread John Baughman via 4D_Tech
Thanks Tim, but those reference are to documentation of the command SET LIST 
AUTO ROW HEIGHT. I am concerned about the Property List check box which has no 
such warnings, either in the Property List itself or in the LRM. 

It’s very easy to check that box during development, intentionally or not, and 
not know it disables the entire list box until you actually run the db without 
your developer license.

John



> On Dec 6, 2017, at 1:49 PM, Timothy Penner  wrote:
> 
>> 1. Document the requirement in the Language Reference Manual.
> 
> Language Reference Manual / List Box / LISTBOX SET AUTO ROW HEIGHT:
> http://livedoc.4d.com/4Dv16-R5/help/Command/en/page1501.html
> http://livedoc.4d.com/4D-Language-Reference-16-R5/List-Box/LISTBOX-SET-AUTO-ROW-HEIGHT.301-3499843.en.html
> {
> This command requires a 4D View Pro license. If this license is not 
> available, an error is displayed in the list box when the form is executed. 
> For more information, please refer to the 4D View Pro Reference manual.
> }
> 
> -Tim
> 
> 
> Timothy Penner
> Senior Technical Services Engineer
> 
> 4D Inc
> 95 S. Market Street, Suite #240
> CA 95113 San Jose
> United States
> 
> Telephone : +1-408-557-4600
> Standard :  +1-408-557-4600
> Fax :   +1-408-271-5080
> Email : tpen...@4d.com
> Web :   www.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: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Saving an object array to disk

2017-12-06 Thread Keisuke Miyako via 4D_Tech
technically,  the current element index would be lost; not that we would care...

2017/12/07 7:04、Lee Hinde via 4D_Tech 
<4d_tech@lists.4d.com> のメール:
Is there a disadvantage to just saving it as text on disk?



**
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: OAuth Code Library

2017-12-06 Thread Keisuke Miyako via 4D_Tech
OAuth 1.0a and 2.0 work very differently (2.0 is way way easier)

2.0 Examples

https://github.com/miyako/4d-component-google-api
https://github.com/4D-JP/4d-tips-google-mail
https://github.com/miyako/4d-tips-facebook-integration
https://github.com/miyako/4d-tips-quickbook-integration

1.0 and 2.0 Example

https://github.com/miyako/4d-component-oauth

2017/12/07 7:10、Sannyasin Siddhanathaswami via 4D_Tech 
<4d_tech@lists.4d.com> のメール:
Does anyone have an OAuth code library they would be willing to share? I’ve 
gone through the process of manually getting tokens via curl, but it’s going to 
be a pain reinventing the wheel to get that working and debugged in 4D.
Thanks in advance!


**
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: List Box gotcha - Automatic Row Height

2017-12-06 Thread Timothy Penner via 4D_Tech
> 1. Document the requirement in the Language Reference Manual.

Language Reference Manual / List Box / LISTBOX SET AUTO ROW HEIGHT:
http://livedoc.4d.com/4Dv16-R5/help/Command/en/page1501.html
http://livedoc.4d.com/4D-Language-Reference-16-R5/List-Box/LISTBOX-SET-AUTO-ROW-HEIGHT.301-3499843.en.html
{
This command requires a 4D View Pro license. If this license is not available, 
an error is displayed in the list box when the form is executed. For more 
information, please refer to the 4D View Pro Reference manual.
}

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

Re: List Box gotcha - Automatic Row Height

2017-12-06 Thread John Baughman via 4D_Tech
OK, it should still be in the LRM. I rarely go to the DRM and in this case I 
wouldn’t even think to go to the LRM. I wonder how many long time developers 
even are aware that this checkbox has been added to the list box property list 
let alone that it would completely shut down the list box. I didn’t and must 
have accidentally checked it. Not a good situation. 

I just posted the following in the Feature Request section of the 4D Forum…

———
This new List Box property requires a 4D View Pro license. If the license is 
absent with this box checked the List Box is renedered completely unusable when 
deployed. The developer does not have a clue that there is anything amiss as 
the Developer License includes 4D View Pro. It is very easy to inadvertantly 
check this check box and not discover the problem until deploying to a client 
that does not use 4D View Pro.

 If this will remain as standard behavior, the check box needs better 
documentaion. This constraint is mentioned in the Design Reference manual and 
is hinted to in the 4D View Pro Reference. There is nothing in the Language 
Reference Manual nor anything in the Property List that warns the designer. It 
is requested that one or all of the following be implemented.

1. Document the requirement in the Language Reference Manual.

2. Change the Property List annotation to read "Automatic Row Height (requires 
4D View Pro license)

4. Throw an alert saying "4D View Pro licese required if checked"

5. Change the behaviour when the check box is checked and the proper license is 
not present. Instead of disabling the entire list box, just disable the 
Automatic Row Height feature.
—

John

> On Dec 6, 2017, at 6:33 AM, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
>> so.. you don't have and don't use 4D View pro so no reason to examine the 
>> docs...
> 
> It's also documented in the Design Reference under 'List Boxes / List Box 
> specific properties':
> http://livedoc.4d.com/4Dv16-R5/help/Title/en/page3205.html#3510338
> {
> Automatic Row Height
> 
> 4D View Pro only: This feature requires a 4D View Pro license. For more 
> information, refer to 4D View Pro Reference.
> 
> The Automatic Row Height property is only available for array-based, 
> non-hierarchical list boxes. The property is unchecked by default. When you 
> check it, the Min Row Height and Max Row Height options are displayed instead 
> of Row Height and Row Height Array options (see above).
> }
> 
> -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
> **

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: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Sending Email To FastMail

2017-12-06 Thread Cannon Smith via 4D_Tech
Is anyone using 4D to send email through a FastMail account? I just switched an 
email address to FastMail and think I have things set up in 4D to send to it 
through the smtp server, but it isn’t working. Using WireShark I can see it 
connects to the server on the TCP level, but that’s about all that happens 
until it times out. I’m wondering if there are any tricks I’m missing.

Thanks.

--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236




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

OAuth Code Library

2017-12-06 Thread Sannyasin Siddhanathaswami via 4D_Tech
Aloha,

Does anyone have an OAuth code library they would be willing to share? I’ve 
gone through the process of manually getting tokens via curl, but it’s going to 
be a pain reinventing the wheel to get that working and debugged in 4D.

Thanks in advance!

Sannyasin Siddhanathaswami
**
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: Saving an object array to disk

2017-12-06 Thread Lee Hinde via 4D_Tech

> On Dec 6, 2017, at 1:49 PM, Peter Jakobsson via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> At the moment I’m using “Selection to JSON” to dump the data into a text 
> variable and then SAVE VARIABLES to out it to disk. This is an absolutely 
> awsome way to do it I’ve discovered if you’re migrating between heterogeneous 
> table structures because you basically have the table at the other end in an 
> object array where each source record is accessible at field level by name 
> without requiring a temporary table to dump it do.

Is there a disadvantage to just saving it as text on disk?

**
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: Saving an object array to disk

2017-12-06 Thread Peter Jakobsson via 4D_Tech

> On 5 Dec 2017, at 20:45, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> The docs say: "WARNING: This command does not support array variables. Use 
> the new BLOB commands instead."

Thanks Tim

Didn’t see that.
> 
> Why don't you just use SQL EXPORT SELECTION and SQL EXECUTE SCRIPT?


That’s an interesting approach. I will mentally bookmark it for future use

At the moment I’m using “Selection to JSON” to dump the data into a text 
variable and then SAVE VARIABLES to out it to disk. This is an absolutely 
awsome way to do it I’ve discovered if you’re migrating between heterogeneous 
table structures because you basically have the table at the other end in an 
object array where each source record is accessible at field level by name 
without requiring a temporary table to dump it do.

Cheers for the replies !

Peter

**
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: Interaction with Microsoft Web Service

2017-12-06 Thread Dennis, Neil via 4D_Tech
> Is anyone there that can help me?

What you are looking for is the web services in 4D there are a few sections on 
this topic in the language reference, this would be a good place to start:

http://doc.4d.com/4Dv16/4D/16.3/4D-Language-Reference.100-3651020.en.html

http://doc.4d.com/4Dv16/4D/16.3/Web-Services-Client.201-3651079.en.html
http://doc.4d.com/4Dv16/4D/16.3/Web-Services-Server.201-3651080.en.html


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

Re: What Texting Services Are People Using?

2017-12-06 Thread Dave Nasralla via 4D_Tech
Thanks Jeff and Dani,

The volume will be relatively low - say under 200/month.

Dave

On Wed, Dec 6, 2017 at 12:35 PM, Jeff Grann via 4D_Tech
<4d_tech@lists.4d.com> wrote:
> Don’t know what you’re planned volume is, but have a look at 
> https://www.twilio.com .
>
> --
> Jeff Grann
> SuccessWare, Inc.
>
>> On Dec 6, 2017, at 2:22 PM, Dave Nasralla via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>>
>> Hey All,
>>
>> I'm looking at the option of adding texting to mobile phones to one of
>> our systems. Anyone using a system/API they like? I've briefly looked
>> at https://www.eztexting.com.
>>
>> 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: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
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: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Interaction with Microsoft Web Service

2017-12-06 Thread STARDATA via 4D_Tech
Hi everyone,
I'm having an issue comunicating with microsoft web service. I want to make
the service retrieve me some information about a database but i don't know
how to send requests and receive the results. Is anyone there that can help
me?



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

Re: What Texting Services Are People Using?

2017-12-06 Thread Dani Beaubien via 4D_Tech
Hi Dave, I have just started using https://www.plivo.com 
 and like it so far.

Dani


> On Dec 6, 2017, at 12:22 PM, Dave Nasralla via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hey All,
> 
> I'm looking at the option of adding texting to mobile phones to one of
> our systems. Anyone using a system/API they like? I've briefly looked
> at https://www.eztexting.com.
> 
> 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: 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: What Texting Services Are People Using?

2017-12-06 Thread Jeff Grann via 4D_Tech
Don’t know what you’re planned volume is, but have a look at 
https://www.twilio.com .

--
Jeff Grann
SuccessWare, Inc.

> On Dec 6, 2017, at 2:22 PM, Dave Nasralla via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Hey All,
> 
> I'm looking at the option of adding texting to mobile phones to one of
> our systems. Anyone using a system/API they like? I've briefly looked
> at https://www.eztexting.com.
> 
> 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: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

What Texting Services Are People Using?

2017-12-06 Thread Dave Nasralla via 4D_Tech
Hey All,

I'm looking at the option of adding texting to mobile phones to one of
our systems. Anyone using a system/API they like? I've briefly looked
at https://www.eztexting.com.

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: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Execute on server gotcha

2017-12-06 Thread Janet Jonas via 4D_Tech
I read the documentation, and that is why I do what I do, I was just trying to 
note it for the list. 

However, being able to delete from a selection created after a READ ONLY(*) 
command is not according to the documentation, but it “works” for me in 
practice. I find it handy, but counter to expectations. I prevent that from 
happening in my application for the regular user.

Anyway, a little off of the original topic.

JJ

> On Dec 6, 2017, at 3:15 AM, 4d_tech-requ...@lists.4d.com wrote:
> 
> 
> Message: 6
> Date: Wed, 6 Dec 2017 05:25:27 +
> From: Keisuke Miyako mailto:keisuke.miy...@4d.com>>
> To: 4D iNug Technical <4d_tech@lists.4d.com >
> Subject: Re: Execute on server gotcha
> Message-ID: <97920d4c-3a6c-4cf1-bf90-0d5743c07...@4d.com 
> >
> Content-Type: text/plain; charset="utf-8"
> 
> READ ONLY is a declaration that applies to subsequent operations.
> 
> I think that is pretty clear from the documentation.
> 
> http://doc.4d.com/4Dv15/4D/15.5/READ-ONLY.301-3577015.en.html 
> 
> 
> quote:
> 
> READ ONLY changes the state of aTable to read-only for the process in which 
> it is called. All subsequent records that are loaded are locked, and you 
> cannot make any changes made to them. If the optional * parameter is 
> specified, all tables are changed to read-only state.

**
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: Execute on server gotcha

2017-12-06 Thread Kirk Brooks via 4D_Tech
Hi Chip,
Correct I believe. Looking at the chart:

http://doc.4d.com/4Dv16R4/4D/16-R4/4D-Server-Sets-and-
Named-Selections.300-3423889.en.html

not only is the $test set local to the client machine but the <>test set is
too - they differ in scope on the client machine's processes. But the
'regular' test set's scope (as I should think of it) is both the client
machine and the twinned process on the server.

That's probably by design within 4D I'm guessing. I always looked at that
chart as specifically referring to triggers but now I know it's accurate
for sets and named selections as well. Which is a pretty cool feature I
haven't taken much advantage of.

On Wed, Dec 6, 2017 at 6:41 AM, Chip Scheide via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> clarification please.
>
> if the set created on the client side is "$Test" then it is NOT
> available in the trigger/EOS correct?


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

Re: Execute on server gotcha

2017-12-06 Thread Kirk Brooks via 4D_Tech
Hi Janet,
The point about unloading the records is a good one.
Have you see this recent tip in the KB:  http://kb.4d.com/assetid=77893

Looking at some of my methods that run EOS my biggest issue is the
assumption I was in READ ONLY when in fact it was READ WRITE.

I like the suggestion Miyako made about testing the method execution
attribute at the top of the method. I could couple that with a test of the
application type to indicate indicate when a method intended to run EOS is
actually running in single user.

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

RE: List Box gotcha - Automatic Row Height

2017-12-06 Thread Timothy Penner via 4D_Tech
> so.. you don't have and don't use 4D View pro so no reason to examine the 
> docs...

It's also documented in the Design Reference under 'List Boxes / List Box 
specific properties':
http://livedoc.4d.com/4Dv16-R5/help/Title/en/page3205.html#3510338
{
Automatic Row Height

4D View Pro only: This feature requires a 4D View Pro license. For more 
information, refer to 4D View Pro Reference.

The Automatic Row Height property is only available for array-based, 
non-hierarchical list boxes. The property is unchecked by default. When you 
check it, the Min Row Height and Max Row Height options are displayed instead 
of Row Height and Row Height Array options (see above).
}

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

Ref: Resize SVG_Use

2017-12-06 Thread truegold via 4D_Tech
Hi Miyako,

I think if the image size were uniform in the document I could do that. But the 
same images can be size to different sizes in different parts of the svg doc.

I might just decide to keep things as they were and laid an image as I need it. 
The worst case is that the same image is loaded many times and I cannot use 
SVG_USE.

Thanks,
John...


> it depends on the document,
> but I would create a group in "defs" and apply the scaling and/or translation 
> factor at the "defs" level.
> 
> you can "use" a "g" in SVG.
> 
> 2017/12/06 10:56、truegold via 4D_Tech 
> <4d_tech@lists.4d.com> のメール:
> Are you say that I need to wrap each occurrence of the SVG_Use within a group 
> ?

**
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: Execute on server gotcha

2017-12-06 Thread Chip Scheide via 4D_Tech
clarification please.

if the set created on the client side is "$Test" then it is NOT 
available in the trigger/EOS correct?

On Wed, 6 Dec 2017 06:36:53 +, Keisuke Miyako via 4D_Tech wrote:
> it's probably easier to create and run a proof-of-concept.
> 
> if you create a set named "test" on the client side,
> and switch contexts with an EOS method,
> you would see in the debugger that "test" exists there too.
> so you can use that set on the server.
> 
> you really shouldn't care whether the set "exists on the client 
> memory space", the scope is all that matters.
> 
> but since the scope of a global set include the EOS/trigger process,
> I suppose you could say that the content propagates (both ways).
> 
> 2017/12/06 14:50、Kirk Brooks via 4D_Tech 
> <4d_tech@lists.4d.com> のメール:
> 
> ​Help me with this one. Because you're saying I create a set on the client
> side, let's use 'test' since that's what's on the chart. By the chart
> 'test' only exists on the client memory space. So if I pass the name of
> this set to an EOS method then the contents of that set propagate to twin
> on the server side? ​
> 
> 
> 
> **
> 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
> **
---
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
**

Re: List Box gotcha - Automatic Row Height

2017-12-06 Thread Chip Scheide via 4D_Tech
Nice -
so.. you don't have and don't use 4D View pro so no reason to examine 
the docs...

On Tue, 5 Dec 2017 19:28:52 -1000, John Baughman via 4D_Tech wrote:
> 
> I have been working with Tech Support to resolve the issue and 
> finally pinpointed the issue today and learned that this is 
> documented in the 4D View Pro reference…
---
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
**

Re: Execute on server gotcha

2017-12-06 Thread Arnaud de Montard via 4D_Tech

> Le 6 déc. 2017 à 04:50, Janet Jonas via 4D_Tech <4d_tech@lists.4d.com> a 
> écrit :
> 
> I have ended up making a habit of using LOAD RECORD or UNLOAD RECORD after 
> ending whatever code I am running that edits and saves record(s). 

Could be unnecessary, it depends on what code, for example:
  while(not(end of selection))
...
  next record
  end while
  unload record  // >>> useless as end of selection means no current record
This is just to illustrate, but such redundant instruction can result in bad 
performances on WAN usage and/or a lot of clients connected. 

Speaking about read only, I learned this particularity of ARRAY TO SELECTION 
last year: 
"Note: Since it can create new records, this command does not take a table's 
read-only state (if any) into account"

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