Re: Tab bar in methods

2017-10-26 Thread David Adams via 4D_Tech
Nice!

Thanks John.
Thanks Tim.

Much appreciated.
**
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: Tab bar in methods

2017-10-26 Thread Timothy Penner via 4D_Tech
It's a feature of v17 (first available in v16R3), see this blog post for more 
details:
https://blog.4d.com/merge-your-windows-into-tabs-on-mac-os-sierra/

The feature can be disabled in the 4D preferences under General->Options (see 
this image):
https://blog.4d.com/wp-content/uploads/2016/12/Settings-768x651.png

-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: Tab bar in methods

2017-10-26 Thread John Baughman via 4D_Tech
 Aloha David,

You must be running 64-bit on MacOS Sierra or better…

"Thanks to macOS Sierra, applications now have to opportunity to use tabbed 
windows instead of multiple windows. From 4D v16 R3, 4D Developer Edition 
64-bit can take advantage of this Apple’s new feature 
 for the design environment.

Tabs can be selected using keyboard shortcuts (usually Ctrl + left or right 
arrow) and all separate windows can be merged at once as tabs into a single 
window using the “Merge all windows” option in menu bar.

This feature is based on macOS System Preferences and on 4D Preferences, 
exclusively available from macOS Sierra.”

John

> On Oct 26, 2017, at 1:04 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> I've been noticing a "bug" for months in the Method Editor. This might just
> be an R-track feature, not sure. Anyway, if you open a method named
> "My_Method", you see the name twice. It's up in the window title and then
> again inside the window. It looks weird and I assumed it to be a cosmetic
> bug that would get caught and go away.
> 
> Then I somehow opened up another method in the same window and realize that
> it's a tab bar in the method window. That's not a feature I'm likely to use
> much, but it seems like a decent feature. I use that in browsers
> constantly.
> 
> Here's the question: Is there a way to hide the tab bar when there's only
> one tab? Browsers tend to have this option because a one-tab tab bar kind
> of makes no sense and wastes space for no purpose.
> 
> I had a look at the prefs that I could find and didn't find one that seemed
> to apply.
> 
> Any suggestions?
> **
> 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
**

Tab bar in methods

2017-10-26 Thread David Adams via 4D_Tech
I've been noticing a "bug" for months in the Method Editor. This might just
be an R-track feature, not sure. Anyway, if you open a method named
"My_Method", you see the name twice. It's up in the window title and then
again inside the window. It looks weird and I assumed it to be a cosmetic
bug that would get caught and go away.

Then I somehow opened up another method in the same window and realize that
it's a tab bar in the method window. That's not a feature I'm likely to use
much, but it seems like a decent feature. I use that in browsers
constantly.

Here's the question: Is there a way to hide the tab bar when there's only
one tab? Browsers tend to have this option because a one-tab tab bar kind
of makes no sense and wastes space for no purpose.

I had a look at the prefs that I could find and didn't find one that seemed
to apply.

Any suggestions?
**
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: Server Process "Frozen"-ish

2017-10-26 Thread Tim Nevels via 4D_Tech
On Oct 26, 2017, at 1:48 PM, David Conley wrote:

> FWIW, I’ve implemented a method which issues a resume process command for 
> each of my stored procedures.  I invoke it via a new process command using 
> the On Backup Shutdown command.  My backups run once per day so it gives me a 
> clean way of resuming those procedures each day after the backup completes.  
> If they aren’t stuck then no big deal.  If they are then they get resumed.  
> Once completed the process dies.  It was the best solution I could come up 
> with for a work around until the problem is fixed.

HI Dave,

Great idea. But my Stored Procedure usage is more involved than just running 
things once a day. I have some that run every hour. Some that run at certain 
set times each day. So just whacking the server with a hammer once a day to jar 
things loose so they run is not be the best solution for me. I have users that 
expect at certain times for certain things to happen. Automatically everyday. 
If it is an hour late… my phone rings. 

There is nothing super critical in v16 that my clients must have now that 
requires I do whatever is needed to upgrade and deal with this issue. Plus like 
I said before, things are running great now, have been for years, and I’m not 
interested in babysitting my client servers. I’ve got better things to do. 

I know some people are running v16 and having no problems. Some it takes weeks 
or months before it happens. It’s like Russian roulette... maybe you shoot 
yourself, maybe you don’t.

I’m so glad I didn’t jump quickly and upgrade to v16. I almost did. You know 
the old adage: better to be safe than to be sorry. Man… does that apply here.

I am confident that 4D will find this bug and get it fixed. If it takes 6 
months, then my upgrade plans will be on hold for 6 months. I’m in no hurry to 
upgrade right now.

Tim


Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.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: Resizable subforms

2017-10-26 Thread Keith Culotta via 4D_Tech
Here is a quick sample of what I think we are talking about: 
http://cdinc.co/Sample/SubformGrow.zip
The subform objects resize in this one.  Done in v16.2.

Keith - CDI

> On Oct 26, 2017, at 1:48 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> If I place a subform object on the form without content, it doesn't display
> at all.
> For sure the WritePro object is set to grow.
> I created a simple new subform containing just a field, set to grow, and
> placed that on my form as a subform and set it to grow. It doesn't ):
> 
> 
> 
> On 26 October 2017 at 19:31, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com
>> wrote:
> 
>> Very odd.  If you place a subform object on the form, without adding
>> content, set it to grow, run the form and resize it, do its borders grow?
>> If not, maybe try with a new host form?
>> Is the Write Pro object within the subform for sure set to grow?
>> 
>> Keith - CDI
>> 
>>> On Oct 26, 2017, at 12:47 PM, Pat Bensky via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
>>> 
>>> Nothing grows ... not the subform or any of it contents.
>>> 
>>> On 26 October 2017 at 16:00, Keith Culotta via 4D_Tech <
>> 4d_tech@lists.4d.com
 wrote:
>>> 
 If the WP object in a form is set to grow, and that is used in a subform
 which is set to grow, the WP object should grow the way you are thinking
 when the host form is resized.
 
 Keith - CDI
 
> On Oct 26, 2017, at 4:32 AM, Pat Bensky via 4D_Tech <
 4d_tech@lists.4d.com> wrote:
> 
> Using v16:
> I'm experimenting with using subforms in ways that I haven't previously
> used them :)
> I have created a subform which contains a Write Pro area. The resizing
> options on that object are both set to Grow.
> 
> I've placed this subform onto another form. I've set the resizing
>> options
> for the subform object both to Grow. But if the parent form is resized,
> nothing changes. The subform doesn't grow and Write Pro area stays the
 same.
> 
> Am I missing something or does it just not work that way?
> 
> Thanks!
> Pat
> 
> 
>> 

**
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: Resizable subforms

2017-10-26 Thread Pat Bensky via 4D_Tech
If I place a subform object on the form without content, it doesn't display
at all.
For sure the WritePro object is set to grow.
I created a simple new subform containing just a field, set to grow, and
placed that on my form as a subform and set it to grow. It doesn't ):



On 26 October 2017 at 19:31, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com
> wrote:

> Very odd.  If you place a subform object on the form, without adding
> content, set it to grow, run the form and resize it, do its borders grow?
> If not, maybe try with a new host form?
> Is the Write Pro object within the subform for sure set to grow?
>
> Keith - CDI
>
> > On Oct 26, 2017, at 12:47 PM, Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Nothing grows ... not the subform or any of it contents.
> >
> > On 26 October 2017 at 16:00, Keith Culotta via 4D_Tech <
> 4d_tech@lists.4d.com
> >> wrote:
> >
> >> If the WP object in a form is set to grow, and that is used in a subform
> >> which is set to grow, the WP object should grow the way you are thinking
> >> when the host form is resized.
> >>
> >> Keith - CDI
> >>
> >>> On Oct 26, 2017, at 4:32 AM, Pat Bensky via 4D_Tech <
> >> 4d_tech@lists.4d.com> wrote:
> >>>
> >>> Using v16:
> >>> I'm experimenting with using subforms in ways that I haven't previously
> >>> used them :)
> >>> I have created a subform which contains a Write Pro area. The resizing
> >>> options on that object are both set to Grow.
> >>>
> >>> I've placed this subform onto another form. I've set the resizing
> options
> >>> for the subform object both to Grow. But if the parent form is resized,
> >>> nothing changes. The subform doesn't grow and Write Pro area stays the
> >> same.
> >>>
> >>> Am I missing something or does it just not work that way?
> >>>
> >>> Thanks!
> >>> Pat
> >>>
> >>>
>
> **
> 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
> **
>



-- 
*
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)
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: Resizable subforms

2017-10-26 Thread Keith Culotta via 4D_Tech
Very odd.  If you place a subform object on the form, without adding content, 
set it to grow, run the form and resize it, do its borders grow?  If not, maybe 
try with a new host form?
Is the Write Pro object within the subform for sure set to grow?

Keith - CDI

> On Oct 26, 2017, at 12:47 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Nothing grows ... not the subform or any of it contents.
> 
> On 26 October 2017 at 16:00, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com
>> wrote:
> 
>> If the WP object in a form is set to grow, and that is used in a subform
>> which is set to grow, the WP object should grow the way you are thinking
>> when the host form is resized.
>> 
>> Keith - CDI
>> 
>>> On Oct 26, 2017, at 4:32 AM, Pat Bensky via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
>>> 
>>> Using v16:
>>> I'm experimenting with using subforms in ways that I haven't previously
>>> used them :)
>>> I have created a subform which contains a Write Pro area. The resizing
>>> options on that object are both set to Grow.
>>> 
>>> I've placed this subform onto another form. I've set the resizing options
>>> for the subform object both to Grow. But if the parent form is resized,
>>> nothing changes. The subform doesn't grow and Write Pro area stays the
>> same.
>>> 
>>> Am I missing something or does it just not work that way?
>>> 
>>> Thanks!
>>> Pat
>>> 
>>> 

**
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: Resizable subforms

2017-10-26 Thread Pat Bensky via 4D_Tech
Nothing grows ... not the subform or any of it contents.

On 26 October 2017 at 16:00, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com
> wrote:

> If the WP object in a form is set to grow, and that is used in a subform
> which is set to grow, the WP object should grow the way you are thinking
> when the host form is resized.
>
> Keith - CDI
>
> > On Oct 26, 2017, at 4:32 AM, Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Using v16:
> > I'm experimenting with using subforms in ways that I haven't previously
> > used them :)
> > I have created a subform which contains a Write Pro area. The resizing
> > options on that object are both set to Grow.
> >
> > I've placed this subform onto another form. I've set the resizing options
> > for the subform object both to Grow. But if the parent form is resized,
> > nothing changes. The subform doesn't grow and Write Pro area stays the
> same.
> >
> > Am I missing something or does it just not work that way?
> >
> > Thanks!
> > 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)
> > 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
> **




-- 
*
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)
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: Primary Key in 4Dv15

2017-10-26 Thread Chuck Miller via 4D_Tech
OK this works in one way. However, if you have a primary key named something 
else it will fail
use the following code to return primary key column number

C_LONGINT($0;$1;$TableNumber_L)
$TableNumber_L:=$1
$Primary_key_field_id_L:=-9
C_TEXT($ConstraintID_txt)

C_LONGINT($Primary_key_field_id_L)
Begin SQL

SELECT CONSTRAINT_ID
FROM _USER_CONSTRAINTS
WHERE TABLE_ID = :$TableNumber_L AND CONSTRAINT_TYPE = 'P'
INTO :$ConstraintID_txt;

SELECT COLUMN_ID
FROM _USER_CONS_COLUMNS
WHERE CONSTRAINT_ID = :$ConstraintID_txt
INTO :$Primary_key_field_id_L;
End SQL

$0:=$Primary_key_field_id_L


Hope this helps

Regards

Chuck


 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064   
 mailto:cjmillerinformed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D and Sybase connectivity
  http://www.informed-solutions.com  

This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication. 

> On Oct 25, 2017, at 2:55 AM, Magnus Torell via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
>   If ($fieldname=$pk_fieldname_t)  //Check if there already 
> exists a field
> with syntax "pk_"
>   $b_RunSQL:=False
>   End if 
>   

**
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: Server Process "Frozen"-ish

2017-10-26 Thread Lee Hinde via 4D_Tech
That's pretty clever.

On Thu, Oct 26, 2017 at 7:35 AM, BTB-David via 4D_Tech <4d_tech@lists.4d.com
> wrote:

> Tim,
>
> FWIW, I’ve implemented a method which issues a resume process command for
> each of my stored procedures.  I invoke it via a new process command using
> the On Backup Shutdown command.  My backups run once per day so it gives me
> a clean way of resuming those procedures each day after the backup
> completes.  If they aren’t stuck then no big deal.  If they are then they
> get resumed.  Once completed the process dies.  It was the best solution I
> could come up with for a work around until the problem is fixed.
>
>
> Thanks!
>
> David Conley
> By The Book, Inc.
> Office: 815-234-7530
> Direct Line: 815-406-5502
> Fax: 815-234-7532
> http://www.bythebook.com
>
>
> > On Oct 25, 2017, at 4:13 PM, Tim Nevels via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> >
> > I’m a big user of Stored Procedure and I don’t need the headache of them
> acting up when everything is completely stable now. And it’s a bug I can’t
> even implement a work around for, other than to manually monitor all server
> every single day and executing RESUME PROCESS commands manually when I
> detect an issue. I’ve got work to do. I’m not going to become a server
> babysitter.
> >
>
>
>
>
>
**
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: Resizable subforms

2017-10-26 Thread Keith Culotta via 4D_Tech
If the WP object in a form is set to grow, and that is used in a subform which 
is set to grow, the WP object should grow the way you are thinking when the 
host form is resized.

Keith - CDI

> On Oct 26, 2017, at 4:32 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Using v16:
> I'm experimenting with using subforms in ways that I haven't previously
> used them :)
> I have created a subform which contains a Write Pro area. The resizing
> options on that object are both set to Grow.
> 
> I've placed this subform onto another form. I've set the resizing options
> for the subform object both to Grow. But if the parent form is resized,
> nothing changes. The subform doesn't grow and Write Pro area stays the same.
> 
> Am I missing something or does it just not work that way?
> 
> Thanks!
> 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)
> 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: 15.5 The database cannot be published

2017-10-26 Thread Doug Hall via 4D_Tech
Never mind. I just saw the Active4D thread that most likely will fix this.



On Thu, Oct 26, 2017 at 9:21 AM, Doug Hall  wrote:

> After updating to 15.5, I'm getting this error on my Mac web client: "The
> database cannot be published. (:Users::
> Library:Caches:4D:<4DCacheFolder>)."
>
> Any idea what might be causing this? I removed the cache folder, so that
> it would recreate it, but it gives the same error.
>
> Thanks,
> Doug
>
**
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: Server Process "Frozen"-ish

2017-10-26 Thread BTB-David via 4D_Tech
Tim,

FWIW, I’ve implemented a method which issues a resume process command for each 
of my stored procedures.  I invoke it via a new process command using the On 
Backup Shutdown command.  My backups run once per day so it gives me a clean 
way of resuming those procedures each day after the backup completes.  If they 
aren’t stuck then no big deal.  If they are then they get resumed.  Once 
completed the process dies.  It was the best solution I could come up with for 
a work around until the problem is fixed.


Thanks!

David Conley
By The Book, Inc.
Office: 815-234-7530
Direct Line: 815-406-5502
Fax: 815-234-7532
http://www.bythebook.com





> On Oct 25, 2017, at 4:13 PM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> 
> I’m a big user of Stored Procedure and I don’t need the headache of them 
> acting up when everything is completely stable now. And it’s a bug I can’t 
> even implement a work around for, other than to manually monitor all server 
> every single day and executing RESUME PROCESS commands manually when I detect 
> an issue. I’ve got work to do. I’m not going to become a server babysitter. 
> 








This email was sent to 4d_tech@lists.4d.com (mailto:4d_tech@lists.4d.com)
unsubscribe from this list 
(http://emailclicks.bythebook.com/track/unsub.php?u=30055319=4e524469ed2e48cc8bc6c3810ba1273b.6uKpduIsjJ%2FEqVQ1r%2BdLr66Tu1w%3D=https%3A%2F%2Fmandrillapp.com%2Funsub%3Fmd_email%3D4d_tech%2540lists.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
**

15.5 The database cannot be published

2017-10-26 Thread Doug Hall via 4D_Tech
After updating to 15.5, I'm getting this error on my Mac web client: "The
database cannot be published.
(:Users::Library:Caches:4D:<4DCacheFolder>)."

Any idea what might be causing this? I removed the cache folder, so that it
would recreate it, but it gives the same error.

Thanks,
Doug
**
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
**

Lightning examples?

2017-10-26 Thread Pat Bensky via 4D_Tech
I'm putting a proposal together for a client, which involves a web
interface. Web dev is not really my thing and I don't have any examples to
show them. We'll probably be using Lightning to manage the web stuff so -
do any Lightning users have a site they can let us look at?

Thanks!

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

Resizable subforms

2017-10-26 Thread Pat Bensky via 4D_Tech
Using v16:
I'm experimenting with using subforms in ways that I haven't previously
used them :)
I have created a subform which contains a Write Pro area. The resizing
options on that object are both set to Grow.

I've placed this subform onto another form. I've set the resizing options
for the subform object both to Grow. But if the parent form is resized,
nothing changes. The subform doesn't grow and Write Pro area stays the same.

Am I missing something or does it just not work that way?

Thanks!
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)
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 Write Pro - Exporting / Saving to other file formats (e.g., .rtf or .doc)

2017-10-26 Thread Pat Bensky via 4D_Tech
You're correct ... currently it doesn't support export to RTF or Word. I
imagine (hope) that this function will be added in a future release and I
expect it will support the current MS Office XML format rather than RTF.

Pat

On 25 October 2017 at 23:05, Michael McCall via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> We used to use 4D Write to create standalone RTF formatted reports which
> could then easily be opened and edited in Microsoft Word.
>
> We have just begun to look at 4D Write Pro. The closest command I could
> find to doing something like this in 4D Write Pro was WP Export Document
> but it does not appear to allow you to export a document in a format which
> could be immediately editing in Microsoft Word.
>
> Am I correct about that or just missing something obvious?
>
> Thanks,
> Mike McCall
>
> **
> 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
> **




-- 
*
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)
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: The connection for this process has been disrupted or the connection could not be established

2017-10-26 Thread Arnaud de Montard via 4D_Tech

> Le 25 oct. 2017 à 18:23, Douglas von Roeder via 4D_Tech 
> <4d_tech@lists.4d.com> a écrit :
> 
> Arnaud:
> 
> [...] That is a function of "cooperative multitasking" and, now that we can 
> run code
> pre-emotively, developers will have to have a more clear understanding of
> (and better control of) what runs, when.
> 
> I'm making a narrow distinction there but I think it's a valid one.

Interesting… Most of the time I use global semaphore to "protect" some (big?) 
data modification or do things that cannot be ensured at the classical record 
lock level. Never tried to use a global semaphore to share machines ressources 
as you describe. 

But back to that delay parameter:
  Semaphore("name";delay)
With a global semaphore, the doc does not say if during delay:
• a/ forth and go between client and server, something like
  C=did I get it?...S=no
  C=did I get it?...S=no
  C=did I get it?...S=yes
  and, if so, what is the frequency of the question
• b/ client sends once the question, server answers once "yes" (in delay) or 
"no" (delay expired)
To make some unsound parallel, with a EoS method, I suppose the situation is 
b/, send the method to execute once, reply once. No forth and go. If the delay 
parameter acts the same in Semaphore function, the difference between the 
"while form" and the "delay form" becomes important. 

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