Re: Coloured button background

2016-08-31 Thread Mitchell Shiller
Thanks Tom. What I learned is that OBJECT SET COLOR works with regular buttons as your demo shows. However, it does not work with 3D Buttons. I want to display an icon at the same time. So I will roll my own. Mitch ** 4D

Re: Coloured button background

2016-09-01 Thread Mitchell Shiller
Merci Arnaud… mais (but) Custom buttons do not allow you to have a popup menu feature. So I can get most of what I want but not all. BTW, it is not to hard to create my own- using a text variable and the form events:On Mouse Enter, On Mouse Leave and On Clicked. I can create a highlight

Coloured button background

2016-08-28 Thread Mitchell Shiller
Hi, I would like to create a toolbar with buttons that have a custom color background but also can have the pop up menu property. (As seen on many web layouts). Object Set Rgb Color does not allow me to change the background color of buttons, just the text color. If I use a custom button

Re: Survey on 4D¹s strategy for implementing Preemptive Processing / worker processes

2016-11-02 Thread Mitchell Shiller
Cannon has a great suggestion which would certainly help get over some of the challenges of coding for Preemptive Processing. Static Variables. Set up at run time. Can never be changed but can vary from runtime to runtime. As distinct from contants which are compiled and can not be changed

Re: 4D UI code questions and observations

2017-01-09 Thread Mitchell Shiller
Doug, Cannon, Kirk, David, Arnaud, JPR and all those who have contributed to this interested discussion. Thanks! I am a permanent lurker, routine poster and occasional contributor to the NUG. I suspect that there are others like myself who do not have the in depth background /experience or

Question about storing data outside of datafile

2017-02-16 Thread Mitchell Shiller via 4D_Tech
Kirk, Not sure this will help in your situation but this is what we do. This applies to OSX only. I store all documents (hundreds of thousands) in their native format outside the data file in a directory on the same drive as the 4D datafile. I store the files by client / patient in their own

Re: Clean Slate - Modern User Experience

2017-04-16 Thread Mitchell Shiller via 4D_Tech
As requested, I have posted a link to a folder with some samples: https://www.dropbox.com/sh/3rhyxaaqok0in2m/AADJZmWfoRTpTDuoC08a951ra?dl=0 In it you will find; 1) The Spectrum palette I use for this project 2) The same palette ported to the OS Color Picker 3) Dialog - this is a basic detail

Re: PDF's

2017-04-16 Thread Mitchell Shiller via 4D_Tech
You can use Miyako’s pdf plugin to do basic pdf manipulation. For instance we receive our faxes as pdf’s from an e-fax service. In our application, we create thumbnails of the various pages. The staff can then chose to delete pages (i.e. the cover page) or group pages together as a single pdf.

Re: Clean Slate - Modern User Experience

2017-04-16 Thread Mitchell Shiller via 4D_Tech
Kirk, I just re-did the UI of my application. Here are a few tips form my experience. 1) Start by picking a color palette of 4-6 colors. I use Spectrum- great app for selecting colors based on their relationship- monochromatic, analogous, complementary etc. Make a table and decide which

Preventing On Start Up from Running

2017-04-23 Thread Mitchell Shiller via 4D_Tech
Hi, I accidentally inserted some recursive code in my Start Up procedure. Now I when I open the database, I can’t get to the design environment. I can’t remember how I prevent this form happening. I know it has something to do with preferences… I think TIA Mitch

re: PROCESS 4D TAGS

2017-04-28 Thread Mitchell Shiller via 4D_Tech
BTW the template is: “ ” Randy, I tried the compatibility option but that didn’t do it. Mitch ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html

Re: PROCESS 4D TAGS [Solved]

2017-04-28 Thread Mitchell Shiller via 4D_Tech
Thanks Jim. So based on your post, I tried it with Select Document and as you note it works. Then I changed the path name to use the Folder Separator constant even though “:” (semi-colon) seemed to be working fine and voila, the code works. Don’t know why but it works. Mitch

PROCESS 4D TAGS

2017-04-28 Thread Mitchell Shiller via 4D_Tech
v14 OSX HTML Template: Method: C_TEXT(tHTML;tTemplate;$tPathname;tData) $tPathname:=Get 4D folder(Current resources folder)+"Templates"+":"+"Test Template.html" tTemplate:=Document to text($tPathname) tData:="Hello There" PROCESS 4D TAGS(tTemplate;tHTML) Result: The

v14 and OS Sierra - Any real life issues

2017-06-15 Thread Mitchell Shiller via 4D_Tech
Hi, The compatibility chart says “Compatible” but not “Certified”. Any real life issues, show-stoppers, annoyances? Both for Server and Developer. TIA Mitch ** 4D Internet Users Group (4D iNUG) FAQ:

Intermittent 4D Server / System crashes

2018-01-28 Thread Mitchell Shiller via 4D_Tech
Hi, 4D Server 16.2 Mac OS 10.13.2 running on a MacMini (Late 2014) 8GB RAM External RAID 0+1 Samsung SSD. Using SoftRaid XT Only applications running are: 4D Server (no stored procedures), 15 users Carbon Copy Cloner 5.05 (latest) scheduled to run every hour except from 22:00 - 6:00 when

Re: Intermittent 4D Server / System crashes

2018-02-01 Thread Mitchell Shiller via 4D_Tech
Thanks for the suggestions: 1) Upgrading to 16.3 HF1. I will do this but none of the reported bug fixes seems to address the problem. 2) This is a 32 bit application 2) Memory setting. Since this is 32 bit on OSX my understanding is that the memory allocation is fixed by the OS at around 2 GB.

Re: Intermittent server crashes

2018-02-08 Thread Mitchell Shiller via 4D_Tech
I believe I have a clue. The last three crashes occurred overnight when new updates were available to be installed. i.e. I get the notification on the desktop from macOS that an update is ready. The server ran fine for 7 days prior to that. How do I report this to 4D? Thanks Mitch

Re: 4D data on the web - what do you use?

2018-03-15 Thread Mitchell Shiller via 4D_Tech
For what is is worth, I had the complete opposite experience in Quebec. (Remember that health care is a provincial mandate, so experience varies from province to province.) In the last two years, Quebec overhauled the interface for payments for doctors, and those services covered by

CalDAV server from 4D

2019-01-04 Thread Mitchell Shiller via 4D_Tech
Hi, For years I have generated read only .ics files from data in 4D. These were then stored on a share point on my OSX Server. Well, now Apple has removed almost all features from Server. (In fact, I have now installed it). I would like to still serve up the .ics files so that they can be

Re: 4D Write for v17

2018-12-15 Thread Mitchell Shiller via 4D_Tech
g the 32 bit clients as soon as I have got > everything just so. > > HTH > Steve (UKVD) > > On 15/12/2018, 15:04, "4D_Tech on behalf of Mitchell Shiller

4D Write for v17

2018-12-14 Thread Mitchell Shiller via 4D_Tech
Hi, In process of migrating from v16 32 bit to v17 64 bit all on Mac. Converted my interpreted database, but can’t find a copy of 4D Write for v17. The v16 version won’t load in v 17. I wanted to convert all my 4D Write to 4D WritePro in 32 bit. Once stable then jetison the old 4D Write and

Re: 4D Write for v17

2018-12-15 Thread Mitchell Shiller via 4D_Tech
Thanks. I will have to some of the conversion in v16 and then some in v17. My interface needs some of the newer features e.g. standard actions available in v17. I was hoping to develop and test side by side in the same database. I’ll open two versions. Thanks. > > Maybe 4D Write version 16

4D Write Pro-Creating Paragraphs

2019-02-11 Thread Mitchell Shiller via 4D_Tech
Hi, Banging my head against the wall on this one. Obviously a simple answer but it seems to be eluding me. I want to programmatically create a series of paragraphs in WP, Different paragraphs would have different attributes - e.g. font and margins etc. I cannot find any examples in the KB or

V17 R - Mojave compatibility

2019-02-15 Thread Mitchell Shiller via 4D_Tech
Hi, I know that 17.1 is Mojave compatible. I am using 17R3. (I need some 4D WP features). Question: will there be an 17 R release that will be Mojave compatible or will I have to wait for v18? Thanks Mitch Sent from my iPhone

Procedural printing HTML or a WebArea

2019-11-03 Thread Mitchell Shiller via 4D_Tech
Hi, I generate an HTML document that is displayed in a WebArea. Once completed, I need to generate a PDF procedurally. (No user interaction) Is there a way to either 1) print out a Web Area ( the contents could be more than 1 page long) 2) convert the HTML to a PDF. I am on Mac. 4Dv17R5.

Web Area not visible

2019-11-06 Thread Mitchell Shiller via 4D_Tech
Hi, MacOs 12.6 4D v17R6 Create a form. Put a Web Area on it. Open the form and the Web Area is visible. Same layout. Select “Use embedded Web rendering engine”. Open the form and the Web Area is not visible Any ideas? What am I missing? Thanks Mitch

Re: Web Area not visible

2019-11-07 Thread Mitchell Shiller via 4D_Tech
Thanks Kirk. That did it. Mitch ** 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: Web Area, 4D method Parameters

2019-11-12 Thread Mitchell Shiller via 4D_Tech
Thanks. That did it. >> > > It probably should be > > > -- > > Peter Bozek ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub:

Web Area, 4D method Parameters

2019-11-11 Thread Mitchell Shiller via 4D_Tech
Hi, Starting working on displaying a table in a web area. Have my HTML working correctly. i.e. my 4D data is displaying correctly. My goal is to run a 4D method when clicking on a table row. My table row is populated with the following HTML (rest of document left out for brevity sake);

Re: Web Area not visible

2019-11-07 Thread Mitchell Shiller via 4D_Tech
Kirk, I could run Chrome on it, but I need to access 4D methods and that requires the embedded engine. Anyone else notice this problem? Takes 1 minute to recreate. New dB. Create a form. Put a web area on it. Select use embedded engine. Run form. Just want to know if it is particular to my

Structure and Verification issue

2019-12-09 Thread Mitchell Shiller via 4D_Tech
Hi, Went to verify my structure today after a week of coding. I noticed no anomalies or issue with the db but I like to make sure all is OK. Verification reports that anomalies are found. But when I check the log, none are highlighted. I ran a repair 2X. A compact. But verification still

Re: Structure and Verification issue: Solved

2019-12-10 Thread Mitchell Shiller via 4D_Tech
I read the Verify Log File in BBEdit and searched for “Warning". 3 Occurrences. Corrected the offending forms. Verified and it found a bunch of Orphan methods. Repair and all is fine now. Lesson: Do not read the Verify Log file in Safari. It does not correctly display all of the information.

Re: Structure and Verification issue

2019-12-10 Thread Mitchell Shiller via 4D_Tech
For my small >> databases I just delete the index files and let 4D regenerate them. But for >> big databases it may take a while to rebuild them. >> >>> On Dec 9, 2019, at 5:50 PM, Mitchell Shiller via 4D_Tech >>> <4d_tech@lists.4d.com> wrote: >>

Write Pro view mode

2019-10-28 Thread Mitchell Shiller via 4D_Tech
Hi, Is there a way to procedurally change the view mode of a 4D Write Pro area. I’m using 4D 17R6. I have a widget on a page which is displayed in Page mode. I want to be able to procedurally hide or show the toolbars. Thanks Mitch Sent from my iPad

Write Pro view mode

2019-10-29 Thread Mitchell Shiller via 4D_Tech
Thanks, I had the old docs on my computer. Mitch ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub:

Log integration failed

2019-11-19 Thread Mitchell Shiller via 4D_Tech
Hi, I have sporadic crashes on my 4D Server that I am trying to solve. But that is not my issue today. The server is set to 1) Integrate the log file if database incomplete and 2) Restore from backup if the database is damaged. Also the cache flush is set to 20 sec. 95% of the time this works

RE: Web Area not visible

2020-01-03 Thread Mitchell Shiller via 4D_Tech
Hi, A combination of things solved my problems. 1) If you have multiple web areas on the same page, make sure that the have different variable and object names. 2) Be sure and define the variables for the URL and the Progress. Let me know if that works. Mitch

Reading and writing large arrays to disk

2020-01-05 Thread Mitchell Shiller via 4D_Tech
Hi, I have large string arrays (about 200 k elements). I need to write and read them to disk. Speed is the most important criteria. Options 1) Create a text variable (loop with CR delimiter) and then TEXT TO DOCUMENT. 2) VARIABLE TO BLOB, COMPRESS BLOB, BLOB TO DOCUMENT 3) OB SET ARRAY, JSON

Re: Reading and writing large arrays to disk

2020-01-06 Thread Mitchell Shiller via 4D_Tech
So I tested my setup. V17R5, MacOS Mojave. My results were slightly different. Your mileage may vary. Compared BLOB, JSON Stringify Array, and OB SET ARRAY / JSON Stringify. For writing an array that exists in memory, BLOB was fastest with average times in 6-9 milliseconds. JSA was in the

Re: Administration window on Server

2020-04-20 Thread Mitchell Shiller via 4D_Tech
On Apr 20, 2020, at 15:00, 4d_tech-requ...@lists.4d.com wrote: > > There's a blog entry (somewhere, sorry) about customizing the admin window. > I'm sure it tells how to open custom or default. I looked at the blog entry that seems most relevant. It seems to deal with setting up a custom

Re: Administration window on Server

2020-04-21 Thread Mitchell Shiller via 4D_Tech
> > Call "OPEN ADMINISTRATION WINDOW" in "On Server Startup”. Thanks. Don’t know how I missed that…. Mitch ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options:

Administration window on Server

2020-04-19 Thread Mitchell Shiller via 4D_Tech
Hi, In previous versions when 4D Server would start up, the Administration window would automatically appear. In v18, the window stays hidden. I realize that it consumed CPU cycles and is best hidden. Is there any way to make it automatically appear? Thanks Mitch

WAN vs LAN Cache

2020-04-28 Thread Mitchell Shiller via 4D_Tech
Hi, Just upgraded to 18.1LTS When users connect via the LAN, caching of structure, plugins etc takes place only the first time we run the database. This is the expected behavior. However when I run it over my a WAN, it downloads the cache files every time I connect. In the cache, I see a

Re: WAN vs LAN Cache

2020-04-29 Thread Mitchell Shiller via 4D_Tech
Using MacOS 10.13.6 Application 18.1 LTS. Single instance of the application, stored in Applications folder. So unfortunately that doesn’t explain it. I will test on another machine using 10.14.6 Mitch > In v17R5 that number changes if you use different instances of 4D. As long as > you use

Looking for programmer for Web and SMS

2022-09-07 Thread Mitchell Shiller via 4D_Tech
Hi, I am looking to hire a 4D programmer or 2 separate programmers to help with following. I have an Electronic Medical Record (written in 4D (Currently v18. Soon v19). I would like to accomplish the following 2 tasks: Create a web portal to allow patients to book appointments online. The