Re: How to Verify Page Setup for a Form?

2020-04-09 Thread Patrick Emanuel via 4D_Tech
I would say "QS_Toolbox", form editor ;-)

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Use Named Selection Unexpectedly Loads First Record of Named Selection

2020-03-13 Thread Patrick Emanuel via 4D_Tech
Hi Douglas


Doc says:
When you create a named selection, the current record is “remembered” by the
named selection. USE NAMED SELECTION retrieves the position of this record
and makes the record the new current record; this command loads the current
record.

In your example, the first record is the "current record". So for me, it
works like it should be.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: 4D Summit Virtual?

2020-03-12 Thread Patrick Emanuel via 4D_Tech
It seems difficult now for any European to come in USA for the next month.




-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: DOCUMENT LIST : how do I know the documents are valid

2019-11-21 Thread Patrick Emanuel via 4D_Tech
Just an idea I set once on a project: check the size of the document. Until
size is changing, consider that the copy/move is not finish and wait 1
second more.



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Command(s) with column and C-number

2019-11-21 Thread Patrick Emanuel via 4D_Tech
Hi Arnaud,

You're absolutely right. Thanks to remind me it and figure out this!



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Command(s) with column and C-number

2019-11-20 Thread Patrick Emanuel via 4D_Tech
Hi,

I would say that it helps you if you share code with someone which is not
working with the same 'language', or between different version of 4D.
Sometimes, commands are renamed and using the token (:C) force to update
the syntax.
It is also the same for constants ;-)

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Event handler method in component

2019-11-11 Thread Patrick Emanuel via 4D_Tech
Hi Arnaud,

I had also the same problem and the only way I found is, like all of us, to
insert a method onto the host to call back it.
Not sure that the object is a solution. Nothing found on this and not sure
that another solution exists.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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
**

Components and external data

2019-10-30 Thread Patrick Emanuel via 4D_Tech

Hi,
I understand that if a component needs to have access to 1 or more 
tables there are 2 ways to do this:
- Inject the table definition(s) into the host
- USE DATABASE and connect to an external database/datafile.

I have some questions about using external databases in the context of 
a component.

Given the following situation:
[Host_Database] <- [component] -> [external_for_Component]

- in the case of client/server how is the external database managed?
 -- would I place it in the component's resource folder?
 -- is it automagically moved to the client via some other mechanism?
 -- or is the component's external database call passed back to the 
server, call(s) made and then data transferred to client from server?
 -- something else

- As I read the 4D docs it seems that the external database can NOT 
have/use a field of type C_Object as this is not supported by SQL, and 
access is done to the external database only through SQL. 
  -- Is this a correct interpretation?

- In a component with an external database, would I need to switch back 
and forth between access to the external database and the host system?
ex:
method call from host includes pointer to table or field of host. To 
satisfy the method call, data from the external database needs to be 
accessed. I USE DATABASE(External) to the external database do query, 
get data. 
- do I need to place the retrieved external database data into 
variable(s)?
- do I need to then USE DATABASE(Host) before working with the host 
table/field(s)?

Thanks for answering, and any other tips you may have regarding 
external databases and components.

Chip
We have done so much, with so little, for so long;
We are now qualified to anything with nothing 
  - unknown
**
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
**


Hi Chip,

I use this mecanism every time in QS Toolbox and will speak about this during 
the presentation planned next January.
You really pointed out how to manage. Now, about C_OBJECT, I don't save them. 
One trick could be to Jsonify it as text and perform the reverse action when 
you need to get access to the information.

So, I manage action on server with the option 'Execute on server' as method's 
property and for variable, I use GET/SET VARIABLE TO VARIABLE commands.

Here is a SQL code on how to manage action executed on external database and 
internal one:
Begin SQL
USE REMOTE DATABASE DATAFILE :[$QS_VCS_COMP_DB_PATH] AUTO_CLOSE;

SELECT count(*) 
from VCS
INTO :[$Count];

USE DATABASE SQL_INTERNAL;

End SQL

You can ping me directly at: pat.emanuel67 @ gmail. com

Patrick


_
Sent from http://4d.1045681.n5.nabble.com

**
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: LIST USER FORMS does not work on 4D Server anymore

2019-10-17 Thread Patrick Emanuel via 4D_Tech
Hi Julio,

If you have a look on the red icon present on the documentation and let the
mouse on it, you'll see 'Not for server'. 
If you click on it, you'll get all commands 'Not for server'.

This information is also available on our latest QS_toolbox version.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: post-icon conversion

2019-10-11 Thread Patrick Emanuel via 4D_Tech
4D Tech mailing list wrote
> FYI, the find is working, but the replace is not.  The ID's stay negative
> even though I tell 4D to replace them without the negative.

Unfortunaly,yes, you're right. I remember having written a method to do that
by code, and not working at all. I got confirmation later on the forum that
wasn't possible by code 
This is why I said, until V18 where we should be able to manipulate flat
files, we have to do that one by one 'a la mano'

Patrick




-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: post-icon conversion

2019-10-11 Thread Patrick Emanuel via 4D_Tech
Waiting  V18 to manipulate project files which for some will be flat format
could be a solution for someone whose want to deliver an application in V18
For the others which are not able to move to v18 for some reasons (client
doesn't change system version, ), they have to do that 'manually', one
by one. I don't say that is good to stay, but market is there and has it own
contraints.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: post-icon conversion

2019-10-07 Thread Patrick Emanuel via 4D_Tech
Hi,

I really suggest you to export your library to a folder and to set this
folder into your "ressources" folder.
After that, redo the link with all pictures, unfortunally, must be done
manually.
At long terms, it is an investment because the day you have to update the
picture, you just have to change it into this folder. If you also have a
look, this way is more and more recommanded.
Export the library is not the biggest part of the job and can be done in few
secondes intead of the update.

Have a look on QS_Toolbox, you have tools to help you to do that (export and
located the pictures).

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Printing structures

2019-10-04 Thread Patrick Emanuel via 4D_Tech
Thanks a lot!!!

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Printing structures

2019-10-03 Thread Patrick Emanuel via 4D_Tech
Hi Tom,

should be good if you're able to share it here ;-)

Cheers

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: [ANN] AJ_Tools_UnitTest

2019-08-30 Thread Patrick Emanuel via 4D_Tech
Thanks Maurice for all these tools!

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: AW: v13 or v15 Pic Library usage

2019-08-21 Thread Patrick Emanuel via 4D_Tech
If you have any question, don't hesitate to ping me at the association email
: i...@asociation-qualisoft.eu

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: v13 or v15 Pic Library usage

2019-08-21 Thread Patrick Emanuel via 4D_Tech
Hi Chip

you can use QS_Toolbox. There is a tool which list you the objects using
pictures. 
The current version (2.20) is in V15

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Stylesheet Search?

2019-07-13 Thread Patrick Emanuel via 4D_Tech
Hi Robert,

In QS_Toolbox there are 2 functions:
- one to list style sheet definition
- one which list all object and style sheet attach

To change them, you have to do it manually.
In the future, we should be able to update this information directly on the
exported project file.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Quick Open Method (QOM)

2019-07-08 Thread Patrick Emanuel via 4D_Tech
Hi Tim,

yes, you did. Thanks again

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Quick Open Method (QOM)

2019-07-08 Thread Patrick Emanuel via 4D_Tech
Hi Tim,

thanks a lot :-)
I'm fine with commands METHOD  and work a lot with them in QST. My
concern is about how you display the result inside the "Find" result dialog
from 4D application.
If it is not this, it is really realistic as result.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Quick Open Method (QOM)

2019-07-08 Thread Patrick Emanuel via 4D_Tech
Hi Tim

Very impressive and useful!
Great job.

By curiosity, can you explain us the trick you use to get the result into
the search dialog?

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: v15 to v17 Conversion of Obsolete _o_C_STRING/_o_ARRAY STRING Commands

2019-06-07 Thread Patrick Emanuel via 4D_Tech
Absolutly, and there are also some tools (free) that can help you, like
QS_Toolbox ;-)




-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Printing structures

2019-05-08 Thread Patrick Emanuel via 4D_Tech
well done!

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Printing Structure Diagram

2019-05-07 Thread Patrick Emanuel via 4D_Tech
Bonjour Alexander

QS_Toolbox source is opened, that mean you have access to the code.
If you have a look on the method 'TOOLS_Export_Drawn_Structure', you'll see
the picture is resized to fit the screen and the export is in JPG
I you just want to get the SVG file without any resizing, you just have to
use these code lines (not tested):

C_TEXT($vTStruc;$1;$NomImage)
$NomImage:="myStructurePictureFile"
EXPORT STRUCTURE($vTStruc)
TEXT TO DOCUMENT("myStructure.xml";$vTStruc)
$ScreenShot:=SUPPORT_Draw_Structure ("myStructure.xml") // without second
parameter => SVG file
DELETE DOCUMENT("myStructure.xml")
WRITE PICTURE FILE($NomImage;$ScreenShot;".svg")


Let me know :)

Patrick





-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Printing Structure Diagram

2019-04-18 Thread Patrick Emanuel via 4D_Tech
Hi,

In QS_Toolbox, I've implemented the Vincent solution.
You can view inside the component the diagram and also export it as picture.

Have a look here: association-qualisoft.eu



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Easy dynamic field highlighting

2019-02-17 Thread Patrick Emanuel via 4D_Tech
Very nice and useful.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: SDI on WIndows doesnt respect a toolbar

2019-02-02 Thread Patrick Emanuel via 4D_Tech
And it is worst than you can imagine. On an engined application, the toolbar
is displayed as a separate dialog!

Not sure that it really useful.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Tracking Field Data Changes

2019-01-15 Thread Patrick Emanuel via 4D_Tech
Hi Luc,

I'm interested if it doesn't matter to you to provide it to me also.
My email is pat.emanuel67 (at) gmail.com

Thanks

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: v16 Replacement for 4D-Pack command: 'AP Get table info'

2018-12-11 Thread Patrick Emanuel via 4D_Tech
Hi,

there some existing tools based on the EXPORT STRUCTURE command which is now
the command to use to get the info that you are looking for.

You have this excellent article on 4D blog:
https://blog.4d.com/detailed-analysis-database-structure/ which explain how
to use this command and which also give you more information than you can
get with 'AP Get table Info'.

I've also integrate this capability into the QS_Toolbox componant that you
can download for free.

Hope this will help you.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: I've updated sideORDA

2018-11-17 Thread Patrick Emanuel via 4D_Tech
Thanks a lot Kirk.
Your presentation was very instructive and useful.


Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Help->v11 to v17 Upgrade or New?

2018-10-22 Thread Patrick Emanuel via 4D_Tech
4D Tech mailing list wrote
> I am not uploading directly from 4D. I thought about implementing that but
> decided against it since 4D is going that direction them selves. Waiting
> to see what they come up with.

I understood the same from teh Summit.
Anyway, there is an existing  module in QS_Toolbox doing this, but I will
not improve it more that it is today until the 4D Release having this
function (v18?) and will concentrate my work on the others modules.





-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Help->v11 to v17 Upgrade or New?

2018-10-20 Thread Patrick Emanuel via 4D_Tech
Hi Kirk,


4D Tech mailing list wrote
> Did I just hear you say something about uploading direct from 4D into
> GitHub... 

It is not what I understood. He used GitHub to manage his version. But, if
you're right, I'm also very interested by this ;-)



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Help->v11 to v17 Upgrade or New?

2018-10-19 Thread Patrick Emanuel via 4D_Tech
About QS_Toolbox, the one I really know, there is a bunch of tools in the 
Structure Analysis   
part.
It works from V15 to V17, but nothing has been added since V16R6.
QS_Toolbox performed very few update for you. Its goal is to identify what
you can do, but you keep the control on what you update.

I'm currently thinking to update it for V17 and surely it will take a while
for me due to all things I have in my mind.

About  CodeAnalysis
  ,
it is the also a very useful tool. I will let Dani to speak more about it.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Help->v11 to v17 Upgrade or New?

2018-10-19 Thread Patrick Emanuel via 4D_Tech
4D Tech mailing list wrote
> So, there are more than 700 lines of code with the deprecated “_o_”
> prefix. Perhaps I could make a lot of that go away via Search/Replace (a
> feature that I normally don’t use).

Some tools can help you like QS_Toolbox from me or CodeAnalysis from Dani
Beaubien for example, and they should help you to idenify what to update for
your migration.
These tools are free and very helpful.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Structure to TEXT files... GitHub

2018-10-17 Thread Patrick Emanuel via 4D_Tech
As I know, not yet for the moment, may be later V18 or 
V17R3 give us, for the moment, the capability to manage sources with  a
Version control system, like Hithub does.



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Selection to JSON Date Conversion

2018-10-09 Thread Patrick Emanuel via 4D_Tech
is that helpfull ?

4D-Forum disucssion
  



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Sending Text Messages From 4D

2018-08-22 Thread Patrick Emanuel via 4D_Tech
I know the Bertrand Soubeyrand provide a product doing this.
https://www.soubeyrand-4d-developer.eu/



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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 display PDF

2018-08-21 Thread Patrick Emanuel via 4D_Tech
Thanks a lot.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: How to get the Transparent property of a form object?

2018-07-18 Thread Patrick Emanuel via 4D_Tech
Hi Kirk,

in the Apparence tab of object properties, you should find Transparency
option.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Consider upvoting this feature request: FORM Export as JSON

2018-07-18 Thread Patrick Emanuel via 4D_Tech
I really guess it is on work, but not yet present in v17R2 (no new command in
the language part).
So, do not hesitate to vote to push up the feature request.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
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: Any way to determine how a field's data storage is set?

2018-07-07 Thread Patrick Emanuel via 4D_Tech
Hi,

Explore the XML export of the structure. You'll find what you are looking
for.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: FORM GET OBJECTS and getting info about Subforms

2018-07-02 Thread Patrick Emanuel via 4D_Tech
Hi Bob,

in QS_Toolbox, you have a module that give you information about form
objects, included subform.
Have a look on the method FORMS_GetObjectDetails, you will find what you are
looking for.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: Command name but what about Keywords?

2018-07-02 Thread Patrick Emanuel via 4D_Tech
4D Tech mailing list wrote
> Yes, I wondered about that. I'm not certain how well it work in the
> METHOD SET CODE context.
> 
> Ideally I would like something like the new syntax:
> Count parameters:C259
> 
> or with a constant:
> Carriage return:K15:38

I tried to keep method code lile you described and never be able to display
the "token" information after a METHOD SET CODE execution. May a solution is
to use an object where the property would be "the method name" and the
content of the property would be the code. Reading it at the lastest moment
and assign to the value of the METHOD SET CODE.
Just an idea, not tested



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: Command name but what about Keywords?

2018-07-01 Thread Patrick Emanuel via 4D_Tech
Hi,

In QS_Toolbox, inside the Convert part, you have the way to display constant
& their token number. The catching "text" & "id" is generic and performed
only when you call the Convert module.
Have a look on the code (it is open since the last Summit) at the method
"Get4DKeyWords"

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: Macro to check that local variables are declared in a method? [Solved]

2018-04-29 Thread Patrick Emanuel via 4D_Tech
Hi,

I have this regex to find all kind of variable in QS_Toolbox. May it will
help you to increase the impact of your method ;-)

$PatternVariables:="(?mi-s)(\\b[[:alpha:]][\\w+]*\\b)[?=\\:|\\;|\\)|\\>|\\<|\\{|\\}|\\]|\\[|\\r|\\n]|(\\$[\\w+]*\\b)|(<>[[:alpha:]][\\w+]*\\b)"


Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: Picture resources

2018-04-27 Thread Patrick Emanuel via 4D_Tech
Hi,

you have to open the *32bits* 4D v16 version and to export your picture
library. This is the only one way to get you pictures back. 
Then, one by one replace the call from a file coming from your ressources
folder.
Easy, but take times. Or get help with QS_Toolbox ;-)

Patrick




-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: Macro to check that local variables are declared in a method?

2018-04-27 Thread Patrick Emanuel via 4D_Tech
Hi,

I haven't a macro but a tool that try to answer to this point (not only).
It works on local ($), variable (without $ or <>) and global (<>) variable.
Manage $ and <> variables is pretty easy, standard variable, more difficult.
So, this code works with method of all objects and cross declaration to
identify variables declared and not used anymore, or used, and not declare.
For that, you can have a look on QS_Toolbox, v2.20ß. You get the source for
free
The final release of this version is planned for the beginning of May.

Hope that is can help you.

Patrick




-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: What happened to LISTBOX Get Information?

2018-04-20 Thread Patrick Emanuel via 4D_Tech
I really like the both options, these will very helpful !



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: How to Determine Field Type from XML Structure Export?

2018-04-20 Thread Patrick Emanuel via 4D_Tech
Hi,

You have an example here:
https://blog.4d.com/detailed-analysis-database-structure/

and it is included into the QS_Toolbox component, with some more
functionalities.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: Web

2018-04-11 Thread Patrick Emanuel via 4D_Tech
Did you check preference in 4D about security. There is some improvement on
it. It may be the cause.
For that, there is an article on the 4D Blog (blog.4d.com)

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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 Summit 2018 Comments

2018-04-10 Thread Patrick Emanuel via 4D_Tech
Hi,

>> naming relations is needed to take make the code readable. 
>Laurent's suggestion is to export the structure in XML, modify all the
relation names in the text file, and reimport the structure as XML. It will
be faster than to go across the complete graphical structure representation. 


I've just tried this and get an error message because table already existed
(with a version < v17). Does it work started with the v17?
Just to know.

Thanks

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: xml to array

2018-03-27 Thread Patrick Emanuel via 4D_Tech
Hi,

Arnaud de Montard publised some time ago a method to convert XML to JSON. 
May it can help you to do what you are looking for.

Here is the link : http://forums.4d.com/Post/FR/18847378/1/20786990#20786990

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: Moving picture resources from one database to another

2018-02-10 Thread Patrick Emanuel via 4D_Tech
Hi,

This method works well only if you are not in a 64 bits version. All old
pictures format aren't recognize.
So, if you want that work, use this code in a 32 bits version.



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Creating .docx files

2018-01-24 Thread Patrick Emanuel via 4D_Tech
I forgot to answer to this: What do you have in your autoloader.php file? 
it is not mine, but the phpword one. It is a part of the php librairy. 

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Creating .docx files

2018-01-24 Thread Patrick Emanuel via 4D_Tech
What's "Export_Echappement"? (echappement means "escape", right? Does this 
method add escape characters? 

Yes, indeed. I translate some method names but i'm too french sometimes ;-)
but you catch the wording.
I will update in my componant, thanks.
Here is the code:
C_TEXT($1;$0)
If (Count parameters=1)
C_LONGINT($i)
$value_t:=$1
$metacharacters_t:=Char(Quote)+Char(Double quote)+"\\[]{}<>"
For ($i;1;Length($metacharacters_t))
$metacharacter_t:=Substring($metacharacters_t;$i;1)
$value_t:=Replace string($value_t;$metacharacter_t;"";*)  // 
par un espace
End for 
$0:=$value_t
End if 

-

Regarding other points:

*SET DATABASE PARAMETER*(PHP use external interpreter;0) 
-> To be sure to use the php interpreter of 4D in case of you have your own
one.

$OK:=*PHP Execute*("";"quit_4d_php") 
-> I use it to clear the memory. I don't know if I'm right, but I get it by
looking some code from 4D-men

*PHP SET OPTION*(PHP raw result;*True*) 
-> to get all 'error' information.

$OK:=*PHP Execute*("";"relaunch_4d_php") 
-> I observe that sometimes, the first call do nothing. So, I restart the
'motor' before trying to do the job.

*DELAY PROCESS*(*Current process*;20) 
-> To let few  time but long time at processor time machine to finish all
previous commands.

Hope it's helpful

Patrick





-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Creating .docx files

2018-01-23 Thread Patrick Emanuel via 4D_Tech
Hi,

I've extract and compile code lines for you.
If you have able to participate to the next Summit, you will get special
gift containing some example of phpword code.
It works with the v0.12.1

here the code, and let me know.


C_BLOB($Blob)

$NomSortie:="DocumentName.docx"


$PhpCode:=Create document($script)
$script_t:=""
$script_t:=$script_t+"createSection();\r"  // portrait by
default
$script_t:=$script_t+"$section->getSettings()->setPageNumberingStart(1);\r"
$script_t:=$script_t+"$section->addText(htmlspecialchars('"+Export_Echappement
($Texte)+"'));\r"
$script_t:=$script_t+"$objWriter=\\PhpOffice\\PhpWord\\IOFactory::createWriter($PHPWord,
'Word2007');\r"
$script_t:=$script_t+"$objWriter->save('"+$NomSortie+"');\r ?>"


CONVERT FROM TEXT($script_t;"UTF-8";$Blob)
$Texte:=Convert to text($Blob;"UTF-8")
SEND PACKET($PhpCode;$Texte)
CLOSE DOCUMENT($PhpCode)

SET DATABASE PARAMETER(PHP use external interpreter;0)
$OK:=PHP Execute("";"quit_4d_php")
PHP SET OPTION(PHP raw result;True)
$OK:=PHP Execute("";"relaunch_4d_php")
DELAY PROCESS(Current process;20)

ON ERR CALL("PHP_Error")
While (($isOK=False) & ($compteur<3))  // Try 3 times before exit
$Progression:=$Progression+$pas
$compteur:=$compteur+1
$isOK:=PHP Execute($script;"";$result)
DELAY PROCESS(Current process;15)  // 1/4 seconde delay
End while

$isOK:=PHP Execute("";"quit_4d_php")





-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v16 List Box Set Enterable not working?

2018-01-23 Thread Patrick Emanuel via 4D_Tech
Hi,

I never had any issues with EDIT ITEM

Did you try something like this in your code:


$Row:=size of array(ar_invBalance)+1
LISTBOX INSERT ROWS (*;"ListBoxName";$Row)
ar_invBalance{$row}:="New item"
OBJECT SET ENTERABLE(ar_invBalance{$row};True) 
EDIT ITEM(ar_invBalance;$row) 

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v16 List Box Set Enterable not working?

2018-01-23 Thread Patrick Emanuel via 4D_Tech
Hi ,

did you try something like this:

$Row:=size of array(ar_invBalance)+1
LISTBOX INSERT ROWS (*;"ListBoxName";$Row)
ar_invBalance{$row}:="New item"
OBJECT SET ENTERABLE(ar_invBalance{$row};True) 
EDIT ITEM(ar_invBalance;$row) 


the command LISTBOX INSERT ROWS adds the row(s) at the end of each array.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Creating .docx files

2018-01-21 Thread Patrick Emanuel via 4D_Tech
Did you try with phpword?
It is a php librairy usefull to create .DOCX document.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
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: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: HTML Editor in 4D

2017-03-28 Thread Patrick Emanuel via 4D_Tech
Hi,

I had the same need few times ago and change TinyMCE for jhtmlarea.
jhtmlarea can be manage exactly like TinyMCE except than I found that is
easier to work with it.

I have not the 4D database here, but i'm pretty sure that I haven't activate
the webkit option.

Patrick



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
View this message in context: 
http://4d.1045681.n5.nabble.com/HTML-Editor-in-4D-tp5750973p5750979.html
Sent from the 4D Tech mailing list archive at Nabble.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
**

Re: Host Structure in a component

2017-03-13 Thread Patrick Emanuel via 4D_Tech
I had no issue with this kind of code from a compiled component.
However, you can write:

ARRAY LONGINT($tableNums;0) 
ARRAY TEXT($tableNames;0) 
Begin SQL 
 SELECT TABLE_ID , TABLE_NAME 
 FROM _USER_TABLES 
 INTO :$tableNums, :$tableNames;
End SQL 



-
Patrick EMANUEL

Administrator
www.association-qualisoft.eu 
(Soft1002, Simply Asso & QS_Toolbox)
--
View this message in context: 
http://4d.1045681.n5.nabble.com/Host-Structure-in-a-component-tp5750741p5750744.html
Sent from the 4D Tech mailing list archive at Nabble.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
**