Re: Help?

2018-09-10 Thread Kenneth Geiger via 4D_Tech
Hi Randy,

After many tries, the dialog to select the process to trace just disappears too 
fast.

Fortunately, I been blessed (cursed) with almost total recall so I’ve just 
about completed re-coding what I lost.

Thanks again,

Ken

> On Sep 10, 2018, at 6:53 PM, Randy Engle via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Ken,
> 
> I just tested this.
> 
> FYI, I'm using Windows 4D v16r6
> 
> Started my app, held down alt key.
> Dialog:  Open Data File
> Click OK
> "Immediately" held down Shift-ALT-Right Mouse
> Selected "Application Process" to trace
> 
> Hit trace in first line of code on ON STARTUP Method.
> 
> Let me know if this works
> 
> Randy Engle, Director
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> 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?

2018-09-10 Thread Kenneth Geiger via 4D_Tech
Hi Randy,

When I do this, I do see the small window to select a process to trace…but, it 
goes away almost instantly.

I’ll try a while longer.

Thanks anyway,

Ken


> On Sep 10, 2018, at 6:53 PM, Randy Engle via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Ken,
> 
> I just tested this.
> 
> FYI, I'm using Windows 4D v16r6
> 
> Started my app, held down alt key.
> Dialog:  Open Data File
> Click OK
> "Immediately" held down Shift-ALT-Right Mouse
> Selected "Application Process" to trace
> 
> Hit trace in first line of code on ON STARTUP Method.
> 
> Let me know if this works
> 
> Randy Engle, Director
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> 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?

2018-09-10 Thread Randy Engle via 4D_Tech
Ken,

I just tested this.

FYI, I'm using Windows 4D v16r6

Started my app, held down alt key.
Dialog:  Open Data File
Click OK
"Immediately" held down Shift-ALT-Right Mouse
Selected "Application Process" to trace

Hit trace in first line of code on ON STARTUP Method.

Let me know if this works

Randy Engle, Director


**
4D Internet Users Group (4D iNUG)
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?

2018-09-10 Thread Kenneth Geiger via 4D_Tech
No. I put an “Open Window” in a method that runs at startup (not in the 
“OnStartup” Method). This window opens on top of the app and I then need to 
quit the app using Task Manager. Not a huge deal - only about 4-hours down the 
tube.

> On Sep 10, 2018, at 6:24 PM, Randy Engle via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Did you do something to make it open in "compiled mode"
> 
> Randy Engle
> 
> 
> -Original Message-
> From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Kenneth Geiger via 
> 4D_Tech
> Sent: Monday, September 10, 2018 4:57 PM
> To: 4D iNug Technical <4d_tech@lists.4d.com>
> Cc: Kenneth Geiger 
> Subject: Help?
> 
> Hi All,
> 
> I just made a really dumb mistake. Is there some magic key-stroke(s) (Windows 
> 10, 4D v16) to force 4D to Start in the Design Mode?
> 
> TIA,
> 
> Ken
> **
> 4D Internet Users Group (4D iNUG)
> 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
> **

**
4D Internet Users Group (4D iNUG)
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?

2018-09-10 Thread Randy Engle via 4D_Tech
Did you do something to make it open in "compiled mode"

Randy Engle


-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Kenneth Geiger via 
4D_Tech
Sent: Monday, September 10, 2018 4:57 PM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Kenneth Geiger 
Subject: Help?

Hi All,

I just made a really dumb mistake. Is there some magic key-stroke(s) (Windows 
10, 4D v16) to force 4D to Start in the Design Mode?

TIA,

Ken
**
4D Internet Users Group (4D iNUG)
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
**

Help?

2018-09-10 Thread Kenneth Geiger via 4D_Tech
Hi All,

I just made a really dumb mistake. Is there some magic key-stroke(s) (Windows 
10, 4D v16) to force 4D to Start in the Design Mode?

TIA,

Ken
**
4D Internet Users Group (4D iNUG)
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 for iOS: anyone?

2018-09-10 Thread Two Way Communications via 4D_Tech
Hi Tim,

Thanks a lot for the feedback.

I did go back and edit the templates and fields, so that might be the problem.

About the selection of data that is downloaded: wouldn’t it be possible to 
control that in the ‘On mobile authentication method’?


Regards,

Rudy Mortier
Two Way Communications bvba 



> On 10 Sep 2018, at 21:20, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> On Sep 10, 2018, at 2:00 PM, Rudy Mortier wrote:
> 
>> Has anyone tried 4D for iOS?
>> 
>> How are the results?
>> 
>> I have tried with a simple database and tried to publish 3 tables. The form 
>> templates seem to not always display the correct data.
>> 
>> In the test environment, It doesn’t download the data for all 3 tables: 
>> sometimes only one, sometimes 2. And there is not a lot of records in the 
>> tables.
>> 
>> Is there any place we can get some help?
> 
> I did a quick conversion of a database to v17 R2 and created a simple iOS 
> application. It worked almost flawlessly (see below problems). Go through the 
> wizard to define the tables and fields to use and the list and detail forms 
> to use. Then click the build button and wait maybe 90 seconds and the iPhone 
> Simulator program launched and there was my working iOS application. Very 
> impressive… when it worked.
> 
> Of course the capabilities of the first version are severely limited. Limited 
> configurability of the detail and list forms. You get many templates but you 
> can just select what fields to display and in what order and that’s about it. 
> 
> Also it is just read only. It downloads all records from the tables you 
> included to the iPhone and you can then do simple searching on a key field 
> and view the information. That’s it. No filtering of what records to 
> download. No updating or editing of the data. When you want to refresh the 
> data you go to a settings area in the iOS application and click a refresh 
> button to re-download all the data from a 4D Server that has the 4D Mobile 
> feature turned on. 
> 
> So applications created with this first version are of limited use in the 
> “real world”. Of course this is just the first version released in v17 R2. So 
> I would expect R3 to add many more capabilities and fix a lot of bugs. 
> Hopefully by v17 R5 it will be “fully functional” with the ability to edit 
> data, recreate new records, automatically sync the data back to 4D Server and 
> provide more widgets on the forms. 
> 
> I didn’t have the problem you experienced… once I got a project completed. It 
> downloaded all the data from all the tables in my application and it 
> displayed the data as expected. 
> 
> So maybe your 4D for iOS template or definition file got corrupted somehow 
> during your development of it. I know that I had to start over 3 times. I’d 
> get started, then change my mind and try to go back in the wizard and edit 
> and change the template or fields and couldn’t get it to work. So I’d trash 
> it and start again from scratch. By the third time I was able to go straight 
> through the process to the end and it worked. 
> 
> It’s definitely not ready for prime time at this point, but again it’s not 
> really intended to be. I’d consider it v0.9 version. I wouldn’t even call it 
> 1.0 yet. I’m reserving judgment until v17 R5 to see what it’s like then. 
> Remember at 4D Summit they said 4D for iOS was really a v18 feature. So 
> expect it to be ready for prime time by then. Now it is just something to 
> play with… in my opinion.
> 
> 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: What constitutes use of 4D View Pro?

2018-09-10 Thread Timothy Penner via 4D_Tech
> I would think a good solution would be to add some indicator to the Property 
> window in Design so that every feature that requires a 4D View Pro license is 
> obvious. Maybe you make those properties a different color like blue or 
> purple. At least then when you were building the listbox with the Form Editor 
> you’d know what you were getting into.

There is a somewhat related feature request:
http://forums.4d.com/Post/EN/21929354/1/21929847#21929355

It doesn't look like anyone has voted on it yet...

-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: SPELL CHECKING in a Listbox cell

2018-09-10 Thread Vance Villanueva via 4D_Tech
Hi Pat,

Can you try using the form event "On after keystroke"?  Here is a sample code 
that I tried out where I put in the ListBox object method:

: (Form event=On After Keystroke)

SPELL CHECKING

$textValue:=Get edited text



Regards,

Vance Villanueva




-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Pat Bensky via 
4D_Tech
Sent: Monday, September 03, 2018 12:54 PM
To: 4D iNug Technical
Cc: Pat Bensky
Subject: SPELL CHECKING in a Listbox cell

Using v16.3:
The only way I can see to spell check the contents of a listbox cell is to
do it via a "Check spelling" button. I don't see how to get it to work on a
form event such as On Data Change because the Focus Object is the whole
listbox, not the cell.
Have I missed something or is a button the only way to do it?
Pat

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

2018-09-10 Thread Tim Nevels via 4D_Tech
On Sep 10, 2018, at 2:00 PM, Rudy Mortier wrote:

> Has anyone tried 4D for iOS?
> 
> How are the results?
> 
> I have tried with a simple database and tried to publish 3 tables. The form 
> templates seem to not always display the correct data.
> 
> In the test environment, It doesn’t download the data for all 3 tables: 
> sometimes only one, sometimes 2. And there is not a lot of records in the 
> tables.
> 
> Is there any place we can get some help?

I did a quick conversion of a database to v17 R2 and created a simple iOS 
application. It worked almost flawlessly (see below problems). Go through the 
wizard to define the tables and fields to use and the list and detail forms to 
use. Then click the build button and wait maybe 90 seconds and the iPhone 
Simulator program launched and there was my working iOS application. Very 
impressive… when it worked.

Of course the capabilities of the first version are severely limited. Limited 
configurability of the detail and list forms. You get many templates but you 
can just select what fields to display and in what order and that’s about it. 

Also it is just read only. It downloads all records from the tables you 
included to the iPhone and you can then do simple searching on a key field and 
view the information. That’s it. No filtering of what records to download. No 
updating or editing of the data. When you want to refresh the data you go to a 
settings area in the iOS application and click a refresh button to re-download 
all the data from a 4D Server that has the 4D Mobile feature turned on. 

So applications created with this first version are of limited use in the “real 
world”. Of course this is just the first version released in v17 R2. So I would 
expect R3 to add many more capabilities and fix a lot of bugs. Hopefully by v17 
R5 it will be “fully functional” with the ability to edit data, recreate new 
records, automatically sync the data back to 4D Server and provide more widgets 
on the forms. 

I didn’t have the problem you experienced… once I got a project completed. It 
downloaded all the data from all the tables in my application and it displayed 
the data as expected. 

So maybe your 4D for iOS template or definition file got corrupted somehow 
during your development of it. I know that I had to start over 3 times. I’d get 
started, then change my mind and try to go back in the wizard and edit and 
change the template or fields and couldn’t get it to work. So I’d trash it and 
start again from scratch. By the third time I was able to go straight through 
the process to the end and it worked. 

It’s definitely not ready for prime time at this point, but again it’s not 
really intended to be. I’d consider it v0.9 version. I wouldn’t even call it 
1.0 yet. I’m reserving judgment until v17 R5 to see what it’s like then. 
Remember at 4D Summit they said 4D for iOS was really a v18 feature. So expect 
it to be ready for prime time by then. Now it is just something to play with… 
in my opinion.

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: 4Dv15 applications as a Service in Windows Server 2012

2018-09-10 Thread Vance Villanueva via 4D_Tech
Hi Ronnie,

Have you tried unregistering the service and re-registering it?

http://kb.4d.com/assetid=2


Regards,

Vance Villanueva




-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Ronnie Teo via 
4D_Tech
Sent: Sunday, September 09, 2018 9:21 PM
To: Jim Hays
Cc: Ronnie Teo; 4D iNug Technical
Subject: Re: 4Dv15 applications as a Service in Windows Server 2012

Hi Jim & Paul,

This is my finding after testing over the weekend with Windows Server 2012 and 
4Dv15.5.

Running a v15 app with 4Dv15.5 (64bit) as a Windows service does NOT work.
Running the same app with 4Dv15.5 (32bit) as a Windows DOES work.

In the latter scenario, the database name appears in the Available tab on the 
client software and we are able to log in and use the app as per normal.

I do not understand why it does not work with the 64-bit version.
But my next question would be, what do we give up by not using the 64-bit 
version of 4Dv15.5?

Regards,
Ronnie

> On 7 Sep 2018, at 7:59 PM, Jim Hays  wrote:
>
> Just to be clear, these are our steps.  It may or may not be helpful in your 
> case.
>
> When we set up a built 4D server, we usually are logged in to the machine 
> with an Administrator level account.
> Then we launch our built EXE by running As Administrator.  (I think we have 
> to do this).
> Once it is launched, we register the service using the 4D menu item.
>
> On two Win 2012 servers, we had to change the login account for the service 
> to a different user.
> We were told that the "localsystem" account does not normally support network 
> services.
> In most cases we just leave it as localsystem and it works fine.
>
>
> Separately, Paul may be on the right track.  Maybe the service launches, but 
> 4D is stopped when looking for the 4DC, or the data file, or something else 
> on startup.
>
> Consider looking at the 4D Folder where the Plugins are cached.  It is 
> different (I think) when running as a service or running double-clicked.  At 
> least we always see the that cache being rebuilt if we connect from a 4D 
> remote first one way, then the other.
> Maybe 4D can't write to the 4D folder location when running as a service.
>
> Jim
>
>
>
> On Thu, Sep 6, 2018 at 11:32 PM Ronnie Teo  > wrote:
> Hi Jim,
>
> I’m testing both under the same account.
> Double-clicking works while running under Service does not.
>
> FWIW, under the same account, running under service and direct app works for 
> v13 apps.
>
>
> Regards,
> Ronnie
>
>> On 7 Sep 2018, at 3:00 AM, 4d_tech-requ...@lists.4d.com 
>>  wrote:
>>
>> From: Jim Hays mailto:jgha...@gmail.com>>
>> To: 4D iNug Technical <4d_tech@lists.4d.com >
>> Subject: Re: 4Dv15 applications as a Service in Windows Server 2012
>>
>> Could it be that the account that the service is running under doesn't have
>> network privileges?
>> Try setting the service to run under the Administrator account or the one
>> that works when you double-click the server exe.
>>
>> Jim
>

**
4D Internet Users Group (4D iNUG)
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: What constitutes use of 4D View Pro?

2018-09-10 Thread Tim Nevels via 4D_Tech
On Sep 10, 2018, at 1:02 PM, Chris Belanger wrote:

> I am a little confused about what constitutes use of 4D View Pro and, hence, 
> requires a license.
> 
> There are a number of features of listBoxes that are described as being 
> features of 4D View Pro.
> 
> https://blog.4d.com/automatic-row-height-in-listboxes-a-new-4d-view-pro-feature/
> 
> In this case, it is the “automatic row height” feature of a listbox, where it 
> can automatically adjust the height of a specific row according to its data.
> 
> If one uses this command, does that constitute use of 4D View Pro and hence 
> require a license? Since I develop on a test server (partner) I would not 
> know if a 4DView license is being ‘used’ or not.
> 
> My feeling is that if you stay away from using a 4D View Pro plugin on a 
> form, that you are not using 4D View Pro, but…

It is a unique situation to be sure. It has been discussed at a 4D Road Show I 
attended and it was confirmed that some listbox features required a 4D View 
license. 

And yes, your 4D developer license has a 4D View Pro license included so you 
would not know a feature you were using would not be available to an end user 
if they did not have a 4D View Pro license. 

It’s one of those things you just have to be aware of and deal with. 

I would think a good solution would be to add some indicator to the Property 
window in Design so that every feature that requires a 4D View Pro license is 
obvious. Maybe you make those properties a different color like blue or purple. 
At least then when you were building the listbox with the Form Editor you’d 
know what you were getting into. 

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 for iOS: anyone?

2018-09-10 Thread Two Way Communications via 4D_Tech
Has anyone tried 4D for iOS?

How are the results?

I have tried with a simple database and tried to publish 3 tables. The form 
templates seem to not always display the correct data.

In the test environment, It doesn’t download the data for all 3 tables: 
sometimes only one, sometimes 2. And there is not a lot of records in the 
tables.

Is there any place we can get some help?


Regards,

Rudy Mortier
**
4D Internet Users Group (4D iNUG)
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: Storage — Server vs Client

2018-09-10 Thread Chris Belanger via 4D_Tech
Thanks for your input, everyone.

I have used calls to the server in my code quite extensively so I am competent 
and confident in doing that.
It’s good there is a simple method of getting the server to give a client the 
information it wants.

Maybe if I explain why I want(ed) to do this:

COMBO BOX MANAGEMENT
In pre-17 code, I typically keep a set of arrays up-to-date on the server with 
the values / keys of various records / selections for use as CHOICE LISTS.
Think of these as MASTER CHOICE LISTS maintained on the server. They are 
comprised of a combination of an ARRAY of NAMEs and of KEYS
The NAMEs are used to present to the user as the CHOICE LIST.  The KEYS are 
what get stored in the Many Field of the related table.

i.e.
PROJECT ENTRY SCREEN
CUSTOMER:  |-> this is a comboBox (with clairvoyance) that 
contains the [Customer]NAMES. As this changes, the [Project]Customer gets 
updated with the [Customer]ID  (both NAMES and ID are maintained in server 
arrays)

Whenever a record is updated or added, then the Server merely updates the 
MASTER CHOICE LISTS that are affected, then messages all processes on how to 
update their local copies of these CHOICE LISTS.

i.e. A CUSTOMER gets created and saved. The [Customer]Trigger method (running 
on the server) updates the associated VALUE / KEY arrays. Then it messages all 
processes with the update information, and so all processes on all clients make 
the same update into their local copies.

This works really slick, as even if a customer’s name was changed, this gets 
instantly reflected on all clients.



So this gives context to my question about storage (and if a client can access 
the storage on the server directly).

Thank you for all who answered. The 4D Community is great…



> On Sep 10, 2018, at 9:05 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Chris,
> To expand on this a little bit, Storage consists of shared objects only.
> It's not possible to share objects between clients or a client and the
> server. Nor would you really want to. Nor would you want to attempt using
> something like Variable to Variable.
> 
> As Lutz points out you can read something in Storage on the server using an
> EOS method:
> 
> // myMethod
> 
> $0:=Storage.someKey
> 
> You could use the same approach to write to Storage but I would avoid this
> on the server. This is not what Storage is designed for. I think it would
> become very sluggish if you were using it extensively especially if you are
> also writing to it. If you need something like this in your app I would
> look for a different way to accomplish it. Personally I'd look at some sort
> of record based solution.
> 
> On Sun, Sep 9, 2018 at 11:20 PM Chris Belanger via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> 
>> I am intrigued by the storage object.
>> 
>> The documentation says that there will be a storage object for the server
>> and for each client.
>> 
>> But I have not been able to see an explanation of how you directly use
>> both.
>> 
>> So how are they differentiated in code?
>> 
>> — 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
>> **
> 
> 
> 
> -- 
> 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
**

What constitutes use of 4D View Pro?

2018-09-10 Thread Chris Belanger via 4D_Tech
Hi,

I am a little confused about what constitutes use of 4D View Pro and, hence, 
requires a license.

There are a number of features of listBoxes that are described as being 
features of 4D View Pro.

https://blog.4d.com/automatic-row-height-in-listboxes-a-new-4d-view-pro-feature/

In this case, it is the “automatic row height” feature of a listbox, where it 
can automatically adjust the height of a specific row according to its data.

If one uses this command, does that constitute use of 4D View Pro and hence 
require a license? Since I develop on a test server (partner) I would not know 
if a 4DView license is being ‘used’ or not.

My feeling is that if you stay away from using a 4D View Pro plugin on a form, 
that you are not using 4D View Pro, but…


Thanks,

Chris
**
4D Internet Users Group (4D iNUG)
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: Roy (Suzi) McGregor Paterson R.I.P

2018-09-10 Thread Peter Jakobsson via 4D_Tech
I am very sorry and taken aback to hear of this. I can only imagine that he was 
subject to illness as it seems premature.

I always chatted to Roy at meetups going right back to the 1992 summit in the 
Meridien Montparnasse at the launch of 4D server when I remember him telling me 
he was starting to "get his head around pointers”.

My condolences to those who were close to him.

Peter

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

Re: Storage — Server vs Client

2018-09-10 Thread Kirk Brooks via 4D_Tech
Chris,
To expand on this a little bit, Storage consists of shared objects only.
It's not possible to share objects between clients or a client and the
server. Nor would you really want to. Nor would you want to attempt using
something like Variable to Variable.

As Lutz points out you can read something in Storage on the server using an
EOS method:

// myMethod

$0:=Storage.someKey

You could use the same approach to write to Storage but I would avoid this
on the server. This is not what Storage is designed for. I think it would
become very sluggish if you were using it extensively especially if you are
also writing to it. If you need something like this in your app I would
look for a different way to accomplish it. Personally I'd look at some sort
of record based solution.

On Sun, Sep 9, 2018 at 11:20 PM Chris Belanger via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I am intrigued by the storage object.
>
> The documentation says that there will be a storage object for the server
> and for each client.
>
> But I have not been able to see an explanation of how you directly use
> both.
>
> So how are they differentiated in code?
>
> — 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
> **



-- 
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: Storage — Server vs Client

2018-09-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
Maybe I didn't answer exactly enough: If you want to access the storage object 
of the server *from the client* you can use something like EXECUTE ON SERVER or 
the appropriate attribute of the method.
If you want the storage object of another client, EXECUTE ON CLIENT comes into 
my mind ...

Regards
Lutz

> Subject: Re: Storage — Server vs Client
> 
> I was hoping there was a way to access the storage object on the server from 
> a client.
> it would make a lot of things very simple. For example, the record key 
> sequencing
> would be very simple.
> 
> Is there a way to access the shared objects of another machine (i.e. server 
> or another
> client)?
> 
> regards,
> Chris
**
4D Internet Users Group (4D iNUG)
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: Storage — Server vs Client

2018-09-10 Thread Stephen J. Orth via 4D_Tech
Chris,

What is wrong with the suggestion made by Lutz concerning the use of the 
"Execute On Server" method attribute?


Best,


Steve

-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chris Belanger 
via 4D_Tech
Sent: Monday, September 10, 2018 9:33 AM
To: 4D iNUG Technical <4d_tech@lists.4d.com>
Cc: Chris Belanger 
Subject: Re: Storage — Server vs Client

I was hoping there was a way to access the storage object on the server from a 
client.
it would make a lot of things very simple. For example, the record key 
sequencing would be very simple.

Is there a way to access the shared objects of another machine (i.e. server or 
another client)?

regards,
Chris


> On Sep 10, 2018, at 1:47 AM, Epperlein, Lutz (agendo) via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> If I'm not wrong the explanation is simple. If you access the storage on the 
> client you get the storage of the client, on the server you get the storage 
> object of the server. If you want to access the server's storage you can use 
> something like EXECUTE ON SERVER or the appropriate attribute of the method.
> 
> Please correct me, if I'm wrong
> 
> 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: Storage — Server vs Client

2018-09-10 Thread Chris Belanger via 4D_Tech
I was hoping there was a way to access the storage object on the server from a 
client.
it would make a lot of things very simple. For example, the record key 
sequencing would be very simple.

Is there a way to access the shared objects of another machine (i.e. server or 
another client)?

regards,
Chris


> On Sep 10, 2018, at 1:47 AM, Epperlein, Lutz (agendo) via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> If I'm not wrong the explanation is simple. If you access the storage on the 
> client you get the storage of the client, on the server you get the storage 
> object of the server. If you want to access the server's storage you can use 
> something like EXECUTE ON SERVER or the appropriate attribute of the method.
> 
> Please correct me, if I'm wrong
> 
> Regards
> Lutz
> 
>> -Original Message-
>> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chris 
>> Belanger via
>> 4D_Tech
>> Sent: Monday, September 10, 2018 8:20 AM
>> To: 4D iNUG Technical <4d_tech@lists.4d.com>
>> Cc: Chris Belanger 
>> Subject: Storage — Server vs Client
>> 
>> I am intrigued by the storage object.
>> 
>> The documentation says that there will be a storage object for the server 
>> and for each
>> client.
>> 
>> But I have not been able to see an explanation of how you directly use both.
>> 
>> So how are they differentiated in code?
>> 
>> — 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
**

RE: Storage — Server vs Client

2018-09-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
If I'm not wrong the explanation is simple. If you access the storage on the 
client you get the storage of the client, on the server you get the storage 
object of the server. If you want to access the server's storage you can use 
something like EXECUTE ON SERVER or the appropriate attribute of the method.

Please correct me, if I'm wrong

Regards
Lutz

> -Original Message-
> From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chris 
> Belanger via
> 4D_Tech
> Sent: Monday, September 10, 2018 8:20 AM
> To: 4D iNUG Technical <4d_tech@lists.4d.com>
> Cc: Chris Belanger 
> Subject: Storage — Server vs Client
> 
> I am intrigued by the storage object.
> 
> The documentation says that there will be a storage object for the server and 
> for each
> client.
> 
> But I have not been able to see an explanation of how you directly use both.
> 
> So how are they differentiated in code?
> 
> — 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
**