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
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
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
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
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
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
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
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.
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
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
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
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
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
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:
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
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.
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
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
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
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
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
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
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
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
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.
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
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
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:
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);
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
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
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.
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:
>>
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
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:
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
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
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
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
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
>
> 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:
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
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
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
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
45 matches
Mail list logo