Re: XLS plugins by Miyako

2019-04-03 Thread Foucauld Perotin via 4D_Tech
David Samson wrote : 
>I am also using the first one ( XLS :
>https://github.com/miyako/4d-plugin-xls ) and have been for years.

Thanks David! Same as Alexander Heintz...

FP

**
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: XLS plugins by Miyako

2019-04-03 Thread Foucauld Perotin via 4D_Tech
Alexander Heintz wrote: 
>I am using the first one XLS (4d-plugin-xls)
>It is a bit more complex to program as you need to release objects etc,
>but is is far more stable, especially on mac.

Sold!

Vielen Dank, Alexander, für diese schnelle Antwort! :)

Grüße,

F. 

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

XLS plugins by Miyako

2019-04-03 Thread Foucauld Perotin via 4D_Tech
Hi,

Miyako built two different plugins to write Excel files, based on two different 
libraries.

XLS : https://github.com/miyako/4d-plugin-xls
XLS II : https://github.com/miyako/4d-plugin-xls-basic-excel

Note : XLS II reads and writes, but for reading, I’m already using this third 
one, by Miyako too, naturally...

FreeXL : https://github.com/miyako/4d-plugin-free-xl

So, if you tried and use those, which one do you prefer? I’m not asking to 
Miyako, since I know he will answer "oh, I justed wrapped the libraries, I 
can’t tell which one is the best!" :)

But you, who are using one or the other, or both, you might prefer one for some 
reason. So, what is your opinion? :)

Regards,

F. 
**
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: Force the execution of an object method

2017-03-14 Thread Foucauld Perotin via 4D_Tech
Thanks David, thanks Jim and thank Chip for your replies. And sorry that I 
didn’t post earlier.

It’is for reasons of organization of my software that I wanted to do that part 
in an object method (actually, I have to create recursive links, so doing the 
research in another process is the best for me. I have to do the same stuff in 
a lot of fields or variables. I do it with a single (project) method called by 
the object method, and so in the context of the object method.

Finally, I did use my not so satisfying idea : in the project method (called by 
CALL FORM) I set some process variables, then I do a GOTO OBJECT, and in the 
object method context I get the event On Getting Focus, with a control by one 
of my process variables. It seems to work. If I have problems, I’ll move to a 
project method On Outside Call, as Chip suggests 

Thanks,

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

Force the execution of an object method

2017-03-12 Thread Foucauld Perotin via 4D_Tech
Hi,

I am doing things by using CALL WORKER, and then reply by CALL FORM. Last june, 
you alreadu discussed here the possibility to have the form method being used 
then by using CALL PROCESS (Current Process). I wanted to do something like 
that, BUT I would like to do the end of the job in an object method, actually 
the same one that did the initial call, and object methods cannot get the event 
On Outside Call.

Something might be possible with On Getting Focus, with a GOTO OBJECT before in 
the project method, but it does not seem to me to be really clean (if focus can 
only be on one single object, if the object has already the focus, etc.). I 
would not like to use POST EVENT as well. So, I would prefer to be able to 
force the "On Data Change" event for my object, for example.

Any idea of how I could do that?

Thanks!
 
Foucauld Pérotin
 
 Try again.
 Fail again. Fail better.
 
 Samuel Beckett 

**
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: Put File

2017-01-21 Thread Foucauld Perotin
Cannon Smith write: 
>Select document with the new File name entry parameter?

Yes, yes, yes! 
> "Allows user to enter a file name in a 'Save as' dialog box. "

How did I missed that? I a already using the command for a lot of other things.
(old habits are terrific...)

Thanks a lot! :)

FP 



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

Put File

2017-01-21 Thread Foucauld Perotin
Hi,

Do you know how I could get a dialog to create a file, with a prompt and a 
default name?

Till recent times, I used the tp_Put File command of the ToolBox pack from 
Thibaud, but I have to replace it now to be compliant with 4D 64-bit (and I 
shall also need it for Windows). A File Toolkit did exist too. But I do not 
find how to replace these tools, and the syntax of the 4D command Create 
document is really poor. 

Any idea of the good tool I missed? 

Thanks!

FP 

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

Questions about workers

2016-10-16 Thread Foucauld Perotin
Hi,

I have some questions about workers. Sorry if it is obvious for some of you. I 
still don’t feel so comfortable with this new stuff. 

- May the workers be local processes? (naming them with a $, I guess)

- What about the stack size ? I see nothing about that, and I do not understand 
why. I guess the stack will have the mystery "default size", but I’m not 
sure... ;)

- I know that preemptive execution implies no interprocess variables. OK. But, 
if the preemptive aspect is not a priority for me now, can I still use 
inteprocess variables without any problem in my workers?

– Is the use of workers not for a high velocity compute section of an app, but 
for a regular part, with basic records filling and so, reasonable or not? with 
the idea to call the worker-process by the "call form" command, when needed). 
Why would I do that? Because some of my apps have a concept of several 
permanent processes with reuse of those. So, the workers would be better than 
the processes which are most of the time sleeping, then wake up, then go back 
to sleep, and so on...

Thanks for your upcoming replies! :)

-- 
Foucauld Pérotin
 
 Try again.
 Fail again. Fail better.
 
 Samuel Beckett 
**
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
**

TinyMCE in Web Area (again)

2016-09-27 Thread Foucauld Perotin
Hi,

TinyMCE is a great editor (that’s what I think) and it does provide clean HTML 
tags (that’s what I need). My problem with 4D Write Pro is the permanent use of 
. I have no need of font name or font size in my rich text. So, I wish to 
use TinyMCE in a web area...

Well, what is the state of the art with the topic of the TinyMCE integration 
with 4D?

- Rolf Bachmann kindly provides a free component on Github :
  

It works with very few 4D code, and it works. Rolf made that in 2013 and 
updated it several times. There are 3 releases for 4D v13, v14 and v15. Rolf 
uses TinyMCE 4.x for that component. I do not now what changes he made or did 
not make in the standard TinyMCE.

- Thomas Maul uses TinyMCE for its Email component. Actually, I have not tried 
it. (I thing it was an older version of TinyMCE.)

– In your talks about TinyMCE, some seemed to have difficulties, in particular 
refreshment issues.

Rolf Bachmann’s use of TinyMCE is the most simple possible (and it is great 
that way). My own needs would make me go further with customization : using 
templates, CSS and classes of style, etc.

So, my question: have some of you been further recently using tinyMCE in Web 
Area? if yes, what about this work in progress? lot of issues? few? :)

TinyMCE on the web: 

Best regards,

-- 
Foucauld Pérotin

  In this world of imperfection we gladly welcome even partial intimacies.
  - Robert Louis Stevenson, Travels with a Donkey in the Cévennes
  
**
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: XLIFF Editor for macOS?

2016-09-26 Thread Foucauld Perotin
Hi,

Alan Chan wrote: 
>Why not writing your own XLIFF converter in 4D?
>
>We prepare the language in simple text in CSV format just in TextEdit.
>After translation, we simply convert the text into XLIFF with 4D code.

Thanks for the info. I’m sure I could. But theses days, I have A LOT other 
things to do... ;) So, mixing the use of 4DPop (where I do the first 
translation, name the groups and resnames) and the use of a an XML editor like 
BBEdit (that acutally do the job) for the following laguages is OK. I just 
regret not to find a very simple standalone XLIFF editor that could edit the 
resname attribute, which is the main one for my use of XLIFF in 4D. 

If I had time, I would build a 4D app, somwehow similar to 4D Pop XLIFF, but 
with several languages together.

Regards,

FP
**
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: XLIFF Editor for macOS?

2016-09-25 Thread Foucauld Perotin
Hi Peter,

Thanks for your reply.

Peter Bozek wrote:
>> So, do you know some good macOS XLIFF editor, free or not? For now, people
>> working with me are using a simple text editor (BBEdit).
>I do not have an answer, just want to ask what's wrong with BBEdit? It has
>nice features I found helpful - ability to collapse groups,
>color highlighting and validity checking.

Nothing is really wrong with BBEdit (I love it!) but for non-developper users 
that work on translations, plain XML tagged text may not be the better 
framework. Actually, they did not really complain, but I would prefer to 
provide a cleaner framework for that job.

FP

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

XLIFF Editor for macOS?

2016-09-25 Thread Foucauld Perotin
Hi,

I am using XLIFF with the resname syntax to localize my application. For my own 
use, the 4DPop XLIFF component is OK. But I also need to work with several 
other people for some specific translation. I know I could use the 4DPop XLIFF 
database outside of my application, but it does not really fit my expectations. 

So, I am trying to find a good macOS Editor that could do the job. I tried 
several (Counterparts Lite, XLiff Editor, XLIFFTool, iXLIFF). Some are working 
better than others (some are not working at all!) but none of those seem to be 
able to edit the resname attribute, and that is a major problem for me. I am 
using resname to provide the specific context of each label, and without that 
information, the translation cannot be real good.

So, do you know some good macOS XLIFF editor, free or not? For now, people 
working with me are using a simple text editor (BBEdit).

Thank you for you replies.

Regards,

Foucauld Perotin
-- 
  Teluric, database publishing +33 535 542 647
  33300 Bordeaux · France
  http://www.teluric.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
**