Date entry

2018-06-09 Thread Robert McKeever via 4D_Tech
4D V15.4, Mac OS 10.13.4

A site that uses 4D Server. Mostly mini’s as clients. Has been working fine for 
years. Then growth, so someone brought in some PC’s. Then they scrounged around 
and now all minis. But, since we are in Canada, sometimes when the OS is loaded 
anew, this select Canadian English keyboard instead of US. So, date entry gets 
set to -MM-DD instead of MM-DD-.

Dates display fine, regardless of format. But, on a couple of machines, you can 
not enter dates. I take my record, place the cursor in the field, and type - it 
moves the cursor along the character string, but nothing changes. So, they just 
go to another machine that ‘works’ and does the entry there. Started a couple 
of weeks ago.

So, why, and how to fix it?

Changing the date format in the system preferences changes the way it is 
displayed, but still no entry.

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




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Losing memory on 4D web application

2018-06-09 Thread Jörg Knebel via 4D_Tech

> On 10 Jun 2018, at 04:56 AEST, Aparajita Fishman via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> I wrote ObjectTools in 1991. It only took 4D 25 years to implement the 
> equivalent.  :-)

I hope you continue developing it even if there is something 4D did.

Cheers
Jörg
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: __Orphan___xxxx methods

2018-06-09 Thread Charles Miller via 4D_Tech
They are not just fro deleted forms. I havr checked many times and have
only found very few that were missing, so I always check them out

On Sat, Jun 9, 2018 at 11:28 AM Chip Scheide via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I believe that mostly they are object methods from deleted forms,
>
> > Usually that happens after a repair on the structure. I delete them
> > and then compact the structure again.
> >
> >> On Jun 9, 2018, at 3:50 AM, JOHN BAUGHMAN via 4D_Tech
> >> <4d_tech@lists.4d.com> wrote:
> >>
> >> After doing a repair on a data file I have  a number of methods
> >> named ___Orphan___. I forgotten what these are.
> >>
> >> Is it safe to delete them?
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: https://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> 
> Hell is other people
>  Jean-Paul Sartre
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server 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.
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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 won't launch - Windows 10

2018-06-09 Thread David Rose via 4D_Tech
I have been using 4D v12, 15, 16 on my Windows 10 computer for years, no 
problems until today. When I try to launch any of these programs (4D Developer 
Standard), the 4D window opens with the Help menu visible, the spinning cursor 
appears, but the programs just hang. I have made no changes to my computer in 
the last 48 hours, and I don't believe that Windows has done a system update. 
All other programs on this computer launch with no problems. Here's what I have 
tried, with no success:
* I trashed the AppData/4D folder
* I uninstalled my virus protection software
* I turned off Windows Firewall
* I moved the Licenses folder to the desktop (just to see if I could launch any 
of the programs in Demo mode.)
* I checked the Windows DEP setting and confirmed that it is set to apply only 
to Windows essential programs and services.
* I rebooted the computer
* I downloaded and installed a fresh version of one of the 4D programs - it 
won't launch.

I have lots of RAM and hard drive space.

Any other ideas anyone?
David
 

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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 Write Pro using 4D Write-Like Toolbar

2018-06-09 Thread JOHN BAUGHMAN via 4D_Tech
I finally got  this resolved with some help from tech support.

FYI, if you are having trouble getting 4D Write Pro to work in an old database 
form, try replacing the form with a newly created one.

In my case the form was an input form that was probably created in v6 (2003). 
The main issue was that 4D was not recognizing the initialized 4D WRite Pro 
variable as a 4D Write Pro Object. Replacing the existing input form with a 
newly created from fixed the problem. I just copied everything from the not 
working form to the new form and it worked.

 See my original post below for.a more detailed description of the problems I 
ran into.

John

> I am struggling trying to get the 4D Write-Like Toolbar to work…
> 
>   http://download.4d.com/4DBlog/Tips/4DWriteLikeToolbarDemo.zip
> 
> I am trying to create a transition from 4D Write to 4D Write Pro so I have 
> added a second page to the input from and moved the 4D Write area to the this 
> new second page. On the first page I have put the 4D Write Pro area and the 
> Write-Like sub form. To make it simple I have named the 4D Write Pro the same 
> name used in the Write-Like Demo... WP_WriteProArea
> 
> I am working in my templates table. When an existing template record is 
> opened, in the on load event of the input form, I am initializing …
> 
>   C_OBJECT(WP_Information;WP_WriteProArea)
>   WP_WriteProArea:=WP New("") 
>   WP_Information:=New object("IsNewDocument";True)
>   WP_Information.DocumentInfo:=New 
> object("FilePath";"";"Modification";False)
>   FORM GOTO PAGE(2)
> 
> In the demo all of the above is done before the form is opened. When the form 
> is opened in the On Load phase of the main window, the window title is set as 
> is the focus set  to the 4D Write Pro area. Nothing more in the main window. 
> 
> That leaves the sub form On load event. Just to make sure that the subform is 
> working, I would normally to to page 2, but I am leaving the user on page 1 
> and have confirmed that all of the On Load code has run in the subform. At 
> this point the 4D Write Pro area is blank, exactly like it is in the Demo.
> 
> The problem is that unlike the demo, nearly all of the menu items in the 
> subform are disabled. 
> 
> The load document icon works, so I loaded a wp4 document from disk. That 
> worked. If I select some text, then select a font from the font popup list, 
> 4D throws an error on this line…
> 
>   $wpRange:=WP Get selection(WP_WriteProArea)  //“form object not found 
> or form object is not a 4D Write Pro Form Object"
> 
> This is in the method GetSelectionInfo which I have not touched.
> 
> The only difference that I can see between what I have done and what is in 
> the demo is that I have ca;lled WP_WriteProArea:=WP New("") in the on load 
> phase of the input form and the demo calls it before the form is opened. I 
> hope that is not the problem.
> 
> Any help would be greatly appreciated.
> 
> John







John Baughman
1331 Auwaiku Street
Kailua, Hawaii  96734
(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: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: __Orphan___xxxx methods

2018-06-09 Thread Chip Scheide via 4D_Tech
I believe that mostly they are object methods from deleted forms,

> Usually that happens after a repair on the structure. I delete them 
> and then compact the structure again. 
> 
>> On Jun 9, 2018, at 3:50 AM, JOHN BAUGHMAN via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> After doing a repair on a data file I have  a number of methods 
>> named ___Orphan___. I forgotten what these are. 
>> 
>> Is it safe to delete them?
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

Hell is other people 
 Jean-Paul Sartre
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Losing memory on 4D web application

2018-06-09 Thread Aparajita Fishman via 4D_Tech
> Are you using ObjectTools? We have a similar setup and we were leaking 
> mysteriously.  I did a bunch of research and I landed on that ObjectTools was 
> the issue.
> I switched everything away to C_OBJECTS (no other changes) and the memory 
> issues went away.

For the record, ObjectTools itself might be not leaking, rather there might 
have been places in your code where you didn’t clear an object when finished 
with it.

Having said that, using C_OBJECT is of course preferable because you never have 
to worry about memory leaks. I wrote ObjectTools in 1991. It only took 4D 25 
years to implement the equivalent.  :-)

- Aparajita
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: How does one detect that Cookies are disabled?

2018-06-09 Thread Jim Labos - infobase via 4D_Tech
Hi John,

I just saw this and will check it out. I knew there are Javascripts to check
for Cookies but was resisting going that route. I will give it a try.

Thanks to you and Danny Beaubien.

Cheers



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

Re: __Orphan___xxxx methods

2018-06-09 Thread Jeffrey Kain via 4D_Tech
Usually that happens after a repair on the structure. I delete them and then 
compact the structure again. 

> On Jun 9, 2018, at 3:50 AM, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> After doing a repair on a data file I have  a number of methods named 
> ___Orphan___. I forgotten what these are. 
> 
> Is it safe to delete them?
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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 won't launch - Windows 10

2018-06-09 Thread David Rose via 4D_Tech
Yup.



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

Re: 4D won't launch - Windows 10

2018-06-09 Thread Pat Bensky via 4D_Tech
Have you tested with creating a new database instead of opening an existing
one?

PB

On 9 June 2018 at 16:51, David Rose via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I have been using 4D v12, 15, 16 on my Windows 10 computer for years, no
> problems until today. When I try to launch any of these programs (4D
> Developer Standard), the 4D window opens with the Help menu visible, the
> spinning cursor appears, but the programs just hang. I have made no changes
> to my computer in the last 48 hours, and I don't believe that Windows has
> done a system update. All other programs on this computer launch with no
> problems. Here's what I have tried, with no success:
> * I trashed the AppData/4D folder
> * I uninstalled my virus protection software
> * I turned off Windows Firewall
> * I moved the Licenses folder to the desktop (just to see if I could
> launch any of the programs in Demo mode.)
> * I checked the Windows DEP setting and confirmed that it is set to apply
> only to Windows essential programs and services.
> * I rebooted the computer
> * I downloaded and installed a fresh version of one of the 4D programs -
> it won't launch.
>
> I have lots of RAM and hard drive space.
>
> Any other ideas anyone?
> David
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://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: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D "metrics?"

2018-06-09 Thread David Eddy via 4D_Tech
Folks -

At the 4D Summit in 2001 in Orlando, someone—Lincoln Stoller?  Paul 
Carnine?—presented a metrics utility.

Anyone have documentation from that?  Or remember who it was?


David Eddy
Babson Park, MA

de...@davideddy.com

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

__Orphan___xxxx methods

2018-06-09 Thread JOHN BAUGHMAN via 4D_Tech
After doing a repair on a data file I have  a number of methods named 
___Orphan___. I forgotten what these are. 

Is it safe to delete them?

Thanks,

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