Re: App Nap

2017-11-15 Thread Jeff Grann via 4D_Tech
Thank you Miyako!

--
Jeff Grann
SuccessWare, Inc.

> On Nov 15, 2017, at 7:53 PM, Keisuke Miyako via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> in macOS Activity Monitor app there is an"app nap" column (energy tab).
> (of course you can customise any pane from the context menu)
> 
> if it says "yes",
> it means the app is taking a nap.
> if it says "no", it means it is awake, but it may or may not take a nap.
> 
> -
> 
> app nap was first addressed in ACI0086374 (13.5. 14.1, 14R2)
> if was only before the fix that disabling the feature was **really** 
> necessary.
> 
> both 4D and 4D Server still take a nap (as far as the Activity Monitor is 
> concerned),
> but they wake up and go back to work immediately, as expected.
> 
> -
> 
> if you are still skeptical of how 4D works with energy saving,
> you can disable the feature manually.
> 
> the "turn off app nap" checkbox only exists for carbon (32-bit) version of 4D.
> for 64-bit (cocoa) version of 4D, you can use the command line:
> 
> - get
> 
> defaults read com.4d.4d NSAppSleepDisabled
> defaults read com.4D.4DServer NSAppSleepDisabled
> 
> - set
> 
> defaults write com.4d.4d NSAppSleepDisabled -bool YES
> defaults write com.4D.4DServer NSAppSleepDisabled -bool YES
> 
> notice this is not a setting of the app itself, but rather the operating 
> system.
> in other words,
> turning it off locally and moving the app to another computer has no meaning.
> 
> 2017/11/16 7:52、Jeff Grann via 4D_Tech <4d_tech@lists.4D.com 
>  >> のメール:
> I’ve been out of 4D development for the past couple of years, but I’ve tried 
> to keep tabs on new developments. One thing I thought I saw at one point is 
> that 4D (v15/v16/Rx) now works better with Mac OS X’s App Nap. Now I can’t 
> find anything about it. Was I dreaming?
> 
> 
> 
> **
> 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: App Nap

2017-11-15 Thread Keisuke Miyako via 4D_Tech
in macOS Activity Monitor app there is an"app nap" column (energy tab).
(of course you can customise any pane from the context menu)

if it says "yes",
it means the app is taking a nap.
if it says "no", it means it is awake, but it may or may not take a nap.

-

app nap was first addressed in ACI0086374 (13.5. 14.1, 14R2)
if was only before the fix that disabling the feature was **really** necessary.

both 4D and 4D Server still take a nap (as far as the Activity Monitor is 
concerned),
but they wake up and go back to work immediately, as expected.

-

if you are still skeptical of how 4D works with energy saving,
you can disable the feature manually.

the "turn off app nap" checkbox only exists for carbon (32-bit) version of 4D.
for 64-bit (cocoa) version of 4D, you can use the command line:

- get

defaults read com.4d.4d NSAppSleepDisabled
defaults read com.4D.4DServer NSAppSleepDisabled

- set

defaults write com.4d.4d NSAppSleepDisabled -bool YES
defaults write com.4D.4DServer NSAppSleepDisabled -bool YES

notice this is not a setting of the app itself, but rather the operating system.
in other words,
turning it off locally and moving the app to another computer has no meaning.

2017/11/16 7:52、Jeff Grann via 4D_Tech 
<4d_tech@lists.4D.com> のメール:
I’ve been out of 4D development for the past couple of years, but I’ve tried to 
keep tabs on new developments. One thing I thought I saw at one point is that 
4D (v15/v16/Rx) now works better with Mac OS X’s App Nap. Now I can’t find 
anything about it. Was I dreaming?



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

Re: 4D Backup causes 4D Remote to hang (15.4)

2017-11-15 Thread Perkins, Bradley D via 4D_Tech
Thanks Chuck,

I've reset the backup by deleting preferences. I also modified my scripts to 
use kill -9 instead of killall. Hopefully this will improve the situation. I 
should know overnight.

-- Brad Perkins

On 11/14/17, 1:00 PM, "4D_Tech on behalf of 4d_tech-requ...@lists.4d.com" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech-requ...@lists.4d.com> wrote:

I would quit 4D server, delete preferences and recreate using menu commands
re backup. Perhaps that us trhe problem. Also check where the backup is
going to if a HD try a different location

Regards and hiope this helps
Chuck

**
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: [BLOG] Something new in my Blog : Exporting Listboxes the easy and powerful way

2017-11-15 Thread Jim Hays via 4D_Tech
John,

Get the download.
Right-click and Show Package Contents on XLS II.4dbase
You will see the Plugins folder there.

Jim

On Wed, Nov 15, 2017 at 4:09 PM, John Baughman via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Alex,
>
> Thanks. I downloaded your component and look forward to giving it
> a try.
>
> Can you or someone else give me some instructions on how to
> download Keisuke’s XLS II plugin from GitHub. GItHub has always been a
> mystery to me. Probably why I never use it. What do I click to get the
> plug-in? The Download gives me a bunch of files, none of which I recognize
> as a plug-in.
>
> Thanks,
>
> John
>
>
> > On Nov 14, 2017, at 3:41 AM, Herr Alexander Heintz via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Hi there everybody,
> >
> > been away on a longer trip to some warm place so it’s been a bit quiet
> in here.
> > But the wait is over and so here is my latest contribution:
> >
> > http://blog.heintz.net/i-can-grab-your-listbox-believe-me <
> http://blog.heintz.net/i-can-grab-your-listbox-believe-me>
> >
> > It is a component (V14 onwards) that can export the content of a listbox
> as displayed or based on your instructions into text, csv or Excel
> (requires a Plugin by Keisuke - thanks).
> > Either into a file or into clipboard.
> > Works with array and selection based Listboxes and even exports
> calculated columns.
> >
> > Have fun with it, feedback appreciated.
> >
> > Cheers
> >
> > Alex
> >
> > **
> > 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
> **
>
**
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
**

App Nap

2017-11-15 Thread Jeff Grann via 4D_Tech
I’ve been out of 4D development for the past couple of years, but I’ve tried to 
keep tabs on new developments. One thing I thought I saw at one point is that 
4D (v15/v16/Rx) now works better with Mac OS X’s App Nap. Now I can’t find 
anything about it. Was I dreaming?

--
Jeff Grann
SuccessWare, Inc.

**
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: subforms and object focus

2017-11-15 Thread Randy Jaynes via 4D_Tech
Cannon,

YOU WIN!!!

We did the following (so everyone else knows:

1) Create a new method pEst_SF_SetTimer which simply calls
SET TIMER (-1)

2) Turn on the On Timer even on the subform

3) Add the following code to the form method of the subform
Case of 
: ($evt=On Timer)
   GOTO OBJECT([Estimate]Job_Name)
   SET TIMER(0)
End case 

4) Add the following code to the On Load case of the parent form
EXECUTE METHOD IN SUBFORM("estSubform";"pEst_SF_SetTimer")  //set timer for 
subform

The GOTO OBJECT call is then executed in the context of the subform AFTER the 
full ON LOAD cycle has finished, and has the added benefit of automatically 
having all of the text highlighted so we don’t have to worry about the 
HIGHLIGHT TEXT shortcoming.

Piece of cake (4 hours later). 

I guess I should throw out the “I’d like to make a phone call” statement 
earlier in the game and get to the prize more quickly. :-)

Randy

--
Randy Jaynes
Senior Programmer and Customer Support

http://printpoint.com  • 845.687.3741 • PrintPoint, Inc 
• 57 Ludlow Lane • Palisades, NY 10964 






> On Nov 15, 2017, at 12:52 PM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com 
> > wrote:
> 
> Hi Randy,
> 
> You have to call the GOTO OBJECT in the next execution cycle of the form. One 
> way to do this is call SET TIMER(-1) and then run the GOTO OBJECT in the On 
> Timer event.
> 
> HTH.
> 
> --
> Cannon.Smith
> Synergy Farm Solutions Inc.
> Hill Spring, AB Canada
> 403-626-3236
> mailto:can...@synergyfarmsolutions.com>>
> http://www.synergyfarmsolutions.com/>>
> 
> 
>> On Nov 15, 2017, at 10:34 AM, Randy Jaynes via 4D_Tech <4d_tech@lists.4d.com 
>> > wrote:
>> 
>> The idea here is that I open the parent form and I want to be sitting in the 
>> first field on the subform with all of its text highlighted.
> 
> **
> 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: subforms and object focus

2017-11-15 Thread Keisuke Miyako via 4D_Tech
as Cannon mentioned, GOTO OBJECT works well in a subform, that is, a widget.

are you trying to do this in a classic list subform, not a widget?

2017/11/16 5:23、Randy Jaynes via 4D_Tech 
<4d_tech@lists.4d.com> のメール:
Totally at a loss. The conflicting notes about GOTO OBJECT in the docs seem to 
point toward it just doesn’t work.



**
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: [BLOG] Something new in my Blog : Exporting Listboxes the easy and powerful way

2017-11-15 Thread John Baughman via 4D_Tech
Alex,

Thanks. I downloaded your component and look forward to giving it a try.

Can you or someone else give me some instructions on how to download 
Keisuke’s XLS II plugin from GitHub. GItHub has always been a mystery to me. 
Probably why I never use it. What do I click to get the plug-in? The Download 
gives me a bunch of files, none of which I recognize as a plug-in.

Thanks,

John


> On Nov 14, 2017, at 3:41 AM, Herr Alexander Heintz via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> Hi there everybody,
> 
> been away on a longer trip to some warm place so it’s been a bit quiet in 
> here.
> But the wait is over and so here is my latest contribution:
> 
> http://blog.heintz.net/i-can-grab-your-listbox-believe-me 
> 
> 
> It is a component (V14 onwards) that can export the content of a listbox as 
> displayed or based on your instructions into text, csv or Excel (requires a 
> Plugin by Keisuke - thanks). 
> Either into a file or into clipboard.
> Works with array and selection based Listboxes and even exports calculated 
> columns.
> 
> Have fun with it, feedback appreciated.
> 
> Cheers
> 
> Alex
> 
> **
> 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
**

Re: subforms and object focus

2017-11-15 Thread Cannon Smith via 4D_Tech
Hi Randy,

Maybe I wasn’t clear enough. This works for me:

Have a method called, for example, MyGotoMethod with one line of code:

GOTO OBJECT(*;”ObjectIWantToGoTo”)

If the subform has already been instantiated, then you can simply call:

EXECUTE METHOD IN SUBFORM(“SubformName";"MyGotoMethod”) 

To goto the object in the subform. But if the subform hasn’t yet been 
instantiated, like when you are first loading a form or if you are switching to 
a >1 page, then you will have to first do:

SET TIMER(-1)

Then in the On Timer method:

EXECUTE METHOD IN SUBFORM(“SubformName";"MyGotoMethod”) 

I use this all the time and it works well.

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




> On Nov 15, 2017, at 10:52 AM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> You have to call the GOTO OBJECT in the next execution cycle of the form. One 
> way to do this is call SET TIMER(-1) and then run the GOTO OBJECT in the On 
> Timer event.

**
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: subforms and object focus

2017-11-15 Thread Randy Jaynes via 4D_Tech
I tested the firing sequence of On Load and got this:

1) object method of an object on subform
2) form method of the subform
3) object method of the subform container on the parent form
4) form method of the parent form

We tried doing the GOTO OBJECT call in each of these places, using both forms 
of the call
GOTO OBJECT([estimate]job_name)
GOTO OBJECT (*;”jobName”)

When those 8 tests failed, we moved to a method and calling that method using
EXECUTE METHOD IN SUBFORM

Again testing calling the method in all 4 places, and again using the other way 
of calling GOTO OBJECT.

Totally at a loss. The conflicting notes about GOTO OBJECT in the docs seem to 
point toward it just doesn’t work.

Randy

--
Randy Jaynes
Senior Programmer and Customer Support

http://printpoint.com • 845.687.3741 • PrintPoint, Inc • 57 Ludlow Lane • 
Palisades, NY 10964 






> On Nov 15, 2017, at 2:27 PM, Jeremy Roussak via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> How about putting the GOTO OBJECT in the On load phase of the subform’s form 
> method?

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

Re: subforms and object focus

2017-11-15 Thread Keisuke Miyako via 4D_Tech
that may or may not work;

"On Load" in the widget's context fires before any event in the parent's 
context, so it would be too early to "GOTO OBJECT" which would only be valid if 
the widget has focus in the parent's context.

and for clarification, the description about subforms in the documentation 
referred to list subforms, not widgets.

so the first thing to do is to have a GOTO_OBJECT_IN_SUBFORM method, which is a 
wrapper that runs the command in the specified subform.

the seconds thing to do is to call that method after moving the focus to the 
subform container in the parent context (perhaps you could do that in the "On 
Load" event of the parent form. logically, the subform container must be 
focusable (it can have no borders to hide the focus visualisation).

to help understand the double focus system, you could give the container a 
border style,
activate and monitor the "On Getting Focus" event for the container, which is 
always followed by the "On Activate" event for the widget.

> 2017/11/16 4:27、Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> のメール:
> How about putting the GOTO OBJECT in the On load phase of the subform’s form 
> method?




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

Re: subforms and object focus

2017-11-15 Thread Randy Jaynes via 4D_Tech
Ok…so HIGHLIGHT TEXT docs say it doesn’t work in subforms, so I guess that’s 
out.

But it seems I still can’t get GOTO OBJECT to work in a subform either.

I’m so sad. :-(

Going to test with v16R4 just in case.

Randy

--
Randy Jaynes
Senior Programmer and Customer Support

http://printpoint.com  • 845.687.3741 • PrintPoint, Inc 
• 57 Ludlow Lane • Palisades, NY 10964 






> On Nov 15, 2017, at 12:34 PM, Randy Jaynes  > wrote:
> 
> Has anyone figured out how go to a specific object in a subform when opening 
> the parent form (currently in v15.4 HF3)?
> 
> The docs for Page Subforms 
> (http://doc.4d.com/4Dv15/4D/15.4/Page-subforms.300-3285433.en.html 
> ) says
> 
>   The GOTO OBJECT command looks for the destination object in the parent 
> form even if it is executed from a subform.
> 
> While the docs for GOTO OBJECT 
> (http://doc.4d.com/4Dv15/4D/15.5/GOTO-OBJECT.301-3577086.en.html 
> ) says:
> 
> The GOTO OBJECT command can be used in the context of a subform. When it is 
> called from a subform, it first looks for the object in the subform, then, if 
> the search does not find anything there, it extends the search to objects of 
> the parent form.
> 
> I’ve tried calling a method using EXECUTE METHOD IN SUBFORM which does a GOTO 
> OBJECT followed by HIGHLIGHT TEXT, but nothing I do ever leaves me in the 
> object in the subform that I want.
> 
> The entry order on the subform doesn’t matter either.
> 
> The idea here is that I open the parent form and I want to be sitting in the 
> first field on the subform with all of its text highlighted.
> 
> I (3 of us together actually) cannot figure this one out.
> 
> Any ideas?
> 
> I’m going to convert a copy to v16R4 and test there to see if I’m crazy or 
> not.
> 
> Thanks,
> Randy
> 
> --
> Randy Jaynes
> Senior Programmer and Customer Support
> 
> http://printpoint.com  • 845.687.3741 • PrintPoint, 
> Inc • 57 Ludlow Lane • Palisades, NY 10964 
> 
> 
> 
> 
> 
> 

**
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: subforms and object focus

2017-11-15 Thread Jeremy Roussak via 4D_Tech
How about putting the GOTO OBJECT in the On load phase of the subform’s form 
method?

Jeremy


Jeremy Roussak
j...@mac.com



> On 15 Nov 2017, at 17:34, Randy Jaynes via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Has anyone figured out how go to a specific object in a subform when opening 
> the parent form (currently in v15.4 HF3)?
> 
> The docs for Page Subforms 
> (http://doc.4d.com/4Dv15/4D/15.4/Page-subforms.300-3285433.en.html) says
> 
>   The GOTO OBJECT command looks for the destination object in the parent 
> form even if it is executed from a subform.
> 
> While the docs for GOTO OBJECT 
> (http://doc.4d.com/4Dv15/4D/15.5/GOTO-OBJECT.301-3577086.en.html) says:
> 
> The GOTO OBJECT command can be used in the context of a subform. When it is 
> called from a subform, it first looks for the object in the subform, then, if 
> the search does not find anything there, it extends the search to objects of 
> the parent form.
> 
> I’ve tried calling a method using EXECUTE METHOD IN SUBFORM which does a GOTO 
> OBJECT followed by HIGHLIGHT TEXT, but nothing I do ever leaves me in the 
> object in the subform that I want.
> 
> The entry order on the subform doesn’t matter either.
> 
> The idea here is that I open the parent form and I want to be sitting in the 
> first field on the subform with all of its text highlighted.
> 
> I (3 of us together actually) cannot figure this one out.
> 
> Any ideas?
> 
> I’m going to convert a copy to v16R4 and test there to see if I’m crazy or 
> not.
> 
> Thanks,
> Randy
> 
> --
> Randy Jaynes
> Senior Programmer and Customer Support
> 
> http://printpoint.com • 845.687.3741 • PrintPoint, Inc • 57 Ludlow Lane • 
> Palisades, NY 10964 
> 
> 
> 
> 
> 
> 
> **
> 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: subforms and object focus

2017-11-15 Thread Spencer Hinsdale via 4D_Tech
Try this...

$row:=1
EDIT ITEM([SubformTable];$row)

`and then something like
HIGHLIGHT TEXT(Focus Object->;1;Length(Focus Object->))

> On Nov 15, 2017, at 9:34 AM, Randy Jaynes via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Has anyone figured out how go to a specific object in a subform when opening 
> the parent form (currently in v15.4 HF3)?
> 
> ...
> 
> The idea here is that I open the parent form and I want to be sitting in the 
> first field on the subform with all of its text highlighted.
> 

**
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: subforms and object focus

2017-11-15 Thread Cannon Smith via 4D_Tech
Hi Randy,

You have to call the GOTO OBJECT in the next execution cycle of the form. One 
way to do this is call SET TIMER(-1) and then run the GOTO OBJECT in the On 
Timer event.

HTH.

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




> On Nov 15, 2017, at 10:34 AM, Randy Jaynes via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> The idea here is that I open the parent form and I want to be sitting in the 
> first field on the subform with all of its text highlighted.

**
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: Connection is broken, cannot receive request reply

2017-11-15 Thread David Ringsmuth via 4D_Tech
Alan,

SET DATABASE PARAMETER(54;4)

This is for testing, wanted to make sure 4D closed the connection, not any 
network resource. But alas something is closing it and 4D Remote is crashing 
because of it. 

The crash occurs both after a long time of idle, and when the users are 
actively interacting in the application.

The SET DATABASE PARAMETER(14;1) AND SET DATABASE PARAMETER(13;1) seem to have 
made the idle error occur after a longer delay on our test network. But the 
error continues to occur both on our network, and on our client’s network.

We have not solved this problem.

We plan to open a tech support case…

Thanks!

David Ringsmuth

From: Alan Chan via 4D_Tech
Sent: Tuesday, November 14, 2017 8:59 PM
To: 4d_tech@lists.4d.com
Cc: Alan Chan
Subject: Re: Connection is broken, cannot receive request reply

Just curious, 4 seconds for idle connections timeout?

Alan Chan

4D iNug Technical <4d_tech@lists.4d.com> writes:
>SET DATABASE PARAMETER(54;4)// Idle connections timeout

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

subforms and object focus

2017-11-15 Thread Randy Jaynes via 4D_Tech
Has anyone figured out how go to a specific object in a subform when opening 
the parent form (currently in v15.4 HF3)?

The docs for Page Subforms 
(http://doc.4d.com/4Dv15/4D/15.4/Page-subforms.300-3285433.en.html) says

The GOTO OBJECT command looks for the destination object in the parent 
form even if it is executed from a subform.

While the docs for GOTO OBJECT 
(http://doc.4d.com/4Dv15/4D/15.5/GOTO-OBJECT.301-3577086.en.html) says:

The GOTO OBJECT command can be used in the context of a subform. When it is 
called from a subform, it first looks for the object in the subform, then, if 
the search does not find anything there, it extends the search to objects of 
the parent form.

I’ve tried calling a method using EXECUTE METHOD IN SUBFORM which does a GOTO 
OBJECT followed by HIGHLIGHT TEXT, but nothing I do ever leaves me in the 
object in the subform that I want.

The entry order on the subform doesn’t matter either.

The idea here is that I open the parent form and I want to be sitting in the 
first field on the subform with all of its text highlighted.

I (3 of us together actually) cannot figure this one out.

Any ideas?

I’m going to convert a copy to v16R4 and test there to see if I’m crazy or not.

Thanks,
Randy

--
Randy Jaynes
Senior Programmer and Customer Support

http://printpoint.com • 845.687.3741 • PrintPoint, Inc • 57 Ludlow Lane • 
Palisades, NY 10964 






**
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: [BLOG] Something new in my Blog : Exporting Listboxes the easy and powerful way

2017-11-15 Thread Scott Staley via 4D_Tech
Hey Alex,

I had a chance to try out your exporting component.  Works slick... much
appreciated.

I already have some of the features and abilities built into my dbs but your
implementation is much better.



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