RE: Any issues with %password font on MacOS and 13.6?

2016-10-14 Thread Timothy Penner
Hi Kirk, I wouldn’t say it is discouraged - it is still documented in example 3 of OBJECT SET FONT: http://livedoc.4d.com/4Dv15-R5/help/Command/en/page164.html#197877 Quote: "Note: You can use the %password option with field, variable and combo box type objects." I had to search my sent items

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Keith Goebel
Kirk, thanks for your reply. I would have thought so too, but it doesn’t (for me anyway). The Old value, when tested by the On Data Change event, matches the entered value not the value before the cell edit. Seems weird that nobody else on this list has a need to do this. I wish i could say “I’m

Re: Diminute font size using Windows 8

2016-10-14 Thread Tim Nevels
On Oct 14, 2016, at 2:00 PM, Rafael Escoté Climent wrote: > one of our old customers just migrated their 4d client OS systems (they were > using Windows 98 or Windows 7, i’m not sure) > to Windows 8.x > > They discovered that our old client/server app (developed in 4D v11 years > ago…) > is

Converting from C

2016-10-14 Thread Peter Mew
Hi Please tell me to go away if this request is inappropriate Im trying to convert a C function into 4D I know very very little C, so after 2 days I'm looking for some help The C function looks like struct toc { int min; int sec; int frame; }; struct toc

Re: v13+ type ahead variables

2016-10-14 Thread Chip Scheide
4D capitalizes everything in Compiler methods. the type ahead pulls from these... I tested - changed an IP var in compiler_variables_Inter from <>X_CR to <>x_Cr used type ahead and it came in as <>x_Cr On Fri, 14 Oct 2016 14:27:34 -0500, Keith Culotta wrote: > I think it uses the Cap Style of

Re: Any issues with %password font on MacOS and 13.6?

2016-10-14 Thread Keith Culotta
I seem to recall that it had been fixed at some point. Still, I place it over an object using Wingdings (or similar) to mitigate any exposure. Keith - CDI > On Oct 14, 2016, at 2:25 PM, Kirk Brooks wrote: > > Hi Chuck, > It turns out using the password font is

Re: v13+ type ahead variables

2016-10-14 Thread Keith Culotta
I think it uses the Cap Style of the first instance of the variable. Is it declared in all caps at the top of the method? Keith - CDI > On Oct 14, 2016, at 2:20 PM, Chip Scheide <4d_o...@pghrepository.org> wrote: > > it is nice that 4D now provides type ahead for variables. > > Does anyone

Re: Any issues with %password font on MacOS and 13.6?

2016-10-14 Thread Kirk Brooks
Hi Chuck, It turns out using the password font is discouraged in favor of capturing the characters from the screen, building the password in a hidden variable, and displaying a field with just asterisks or something else. Tim Penner posted a reply a while ago about this with a link here:

v13+ type ahead variables

2016-10-14 Thread Chip Scheide
it is nice that 4D now provides type ahead for variables. Does anyone else wish 4D would preserve our (user) preference as to variable name capitalization. rather then CAPITALIZE every thing Chi[ ** 4D Internet Users Group (4D

Re: Diminute font size using Windows 8

2016-10-14 Thread Jim Hays
Yes, look for this on the NUG: Printing on Windows 8.1 & 4Dv12 This is the answer: http://4d.1045681.n5.nabble.com/Win-4D-12-x-and-Win-8-1- td5730168.html#a5730390 On Fri, Oct 14, 2016 at 1:11 PM, Rafael Escoté Climent wrote: > Hi all, > > one of our old customers just

Re: Managing invoices - write the total or look it up?

2016-10-14 Thread Douglas von Roeder
How about a data model? http://www.databaseanswers.org/data_models/invoices_and_payments/index.htm -- Douglas von Roeder 949-336-2902 On Fri, Oct 14, 2016 at 11:58 AM, Wayne Stewart wrote: > Hi, > > I'm not an accountant so this probably is totally wrong but what

Re: Managing invoices - write the total or look it up?

2016-10-14 Thread Wayne Stewart
Hi, I'm not an accountant so this probably is totally wrong but what I do is this. I have 4 tables involved Client (fairly obvious) Consultations (a consult is an invoice effectively) Payments Transactions. The transaction table links to the other three. It's fields: ID Client_ID Consult_ID

Re: Managing invoices - write the total or look it up?

2016-10-14 Thread Bill Weale
I usually maintain a Payments (or Credits, not not including goods and services for sale) table. It can include many “types” of payments and charges. It’s needed to maintain an audit trail for A/R. I know it’s not, er, normal, but I also maintain Total and Amt Due fields in the Invoice table.

Re: Any issues with %password font on MacOS and 13.6?

2016-10-14 Thread Charles Miller
Version of 4D would help. I seem to remember problem with v11 or 13 Regards Chuck Chuck Miller Voice: (617) 739-0306 Informed Solutions, Inc. Fax: (617) 232-1064 mailto:miller.cjaygmail.com

Any issues with %password font on MacOS and 13.6?

2016-10-14 Thread Kirk Brooks
Hey guys. I'm not seeing this on my MacBook running 10.10.5 but some users report the password font working. Anyone have any experience with this? -- Kirk Brooks San Francisco, CA === ** 4D Internet Users

Re: Managing invoices - write the total or look it up?

2016-10-14 Thread Chip Scheide
Theory says: do not store something that can be calculated. Practicality often says otherwise line art structure: [invoice] <- [line items] <- [payment_lineitem_link] -- <- [payments] <-| <- [addresses] -> [Purchaser] Entry/listing form

Diminute font size using Windows 8

2016-10-14 Thread Rafael Escoté Climent
Hi all, one of our old customers just migrated their 4d client OS systems (they were using Windows 98 or Windows 7, i’m not sure) to Windows 8.x They discovered that our old client/server app (developed in 4D v11 years ago…) is now presenting the reports on a very, very tiny, small font!!

Managing invoices - write the total or look it up?

2016-10-14 Thread Kirk Brooks
I'm going to fork this thread into a separate discussion because I think it's a good topic and way far afield of the OP. I have never been at a point in my development career when I haven't had at least one project that had invoices involved. Most of my databases had the 'classic' structure of an

RE: HTML Tag Mismatch Finder!

2016-10-14 Thread Timothy Penner
Hi, Have you tried ATOM ? https://atom.io/ With the 4D Tags package from Miyako: https://atom.io/packages/language-4dtag 4D TAGS language support in Atom Based on language-html, with added support for 4D tags, dollar syntax, French/English controls, :C and :K notation. -Tim

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Arnaud de Montard
> Le 14 oct. 2016 à 16:57, Chip Scheide <4d_o...@pghrepository.org> a écrit : > > start transaction > modify record > cancel/validate transaction user driven transaction… -- Arnaud de Montard

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Arnaud de Montard
> Le 14 oct. 2016 à 16:11, Chip Scheide <4d_o...@pghrepository.org> a écrit : > > yes. > But then : > - if the 1 user changed a value, everyone probably needs to know that > the record is being modified and whatever value(s) are displayed may > not be correct. I've tried earlier, it seems the

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Chip Scheide
LOL On Fri, 14 Oct 2016 07:35:22 -0700, Kirk Brooks wrote: > Chip, > That's one of the places where management comes into play with programming. > My experiences have been there's no joy in attempting to program in > management's assumptions of user behavior. Happens to me frequently: > > boss:

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Kirk Brooks
Chip, That's one of the places where management comes into play with programming. My experiences have been there's no joy in attempting to program in management's assumptions of user behavior. Happens to me frequently: boss: "set it up so this and that are required for saving this sort of record.

Re: How to resize PNG images for button icons

2016-10-14 Thread Chip Scheide
Thanks John On Thu, 13 Oct 2016 19:19:27 -0500, John DeSoi wrote: > I posted this method a while back which does not use SVG commands. > > http://kb.4d.com/resources/inug?msgid=GmailId145b02d07486aa50 > > > John DeSoi, Ph.D. > >> On Oct 13, 2016, at 4:14 PM, Chip Scheide >>

Re: Sharepoint vs 4D...

2016-10-14 Thread bob . miller
Robert, Sharepoint is a Microsoft product that provides document storage and collaboration using a web-bsed "template". It integrates closely with MS Office, so its strength is document management and storage. One can choose one of many templates, such as a simple library or a sophisticated

Re: ​HTML Tag Mismatch Finder!

2016-10-14 Thread steve simpson
On Thu, Oct 13, 2016 at 11:00 PM, ​ ​ Sujit Shah wrote: > > > Is there a magic tool that can find a mismatched tag in several hundred > lines of HTML Code? > > One which can work with embedded 4D Tags?? > ​https://www.htmlvalidator.com/​ Steve

Re: Sharepoint vs 4D

2016-10-14 Thread David Samson
Hello Robert, I found this which appears to be fair comparison. https://msdn.microsoft.com/en-us/library/ff647105.aspx David > I have client that wants to rewrite an old 4D database from scratch. At > least one member on the board is pushing for us to consider Sharepoint or > another non-4D

Re: Listbox cell - On Data Change - how to tell old and new values?

2016-10-14 Thread Kirk Brooks
Keith, You said this is for a selection based listbox so the command would be Old([table]field). I don't use a selection based listboxes if I need heavy validation pre or post saving so I'm not sure how long you can count on modified changes NOT being saved but I am certain OLD will work while

RE: HTML Tag Mismatch Finder!

2016-10-14 Thread Epperlein, Lutz (agendo)
> I have seen some validators get confused by the 4D Tags thats why I ask. I wouldn't call them validators if they get problems with html comments ... ;-) > I want to be able to collapse and expand the tree.. Yes you can do that too. But I'm fairly sure every html aware IDE or editor is able to

Re: HTML Tag Mismatch Finder!

2016-10-14 Thread Sujit Shah
On Fri, Oct 14, 2016 at 6:42 PM, Epperlein, Lutz (agendo) < lutz.epperl...@agendo.de> wrote: > We use a full-fledged development environment: WebStorm by Jetbrains. > There are many inspector services among others for html too. > Embedded 4D Tags are html comments simply. > > Regards > Lutz > I

Re: How to resize PNG images for button icons

2016-10-14 Thread Arnaud de Montard
> Le 14 oct. 2016 à 01:02, Wayne Stewart a écrit : > > Hi, > > For those that went to the world tour last year there was a php > example written by Angelo Caroprese. Posted on 4DBB a few days ago: --

Re: Sharepoint vs 4D...

2016-10-14 Thread Balinder Walia
Robert, SharePoint is Document Management System which can be linked with MS Office Apps. It has it's own storage and I think it using SQL. It high configurable but still SharePoint is not a tool for writing Business Database Applications on it's own. Be upfront and tell them that many have