I love the concept of tables in 4D Write Pro.
You can only add or change them by code, which is fine by me for the moment.
But what to do if a table has been created, and, in the 4D Write Pro document,
you would want to add a column, or a row? Or change the width, the borders etc?
Apparently th
Try putting the collection in a c_object and store the c_object in an c_object
field, or put the collection directly into the c_object field
I am assuming that $tableObj is the object reference to the table. If tables
are anything like images, your plan might not work. Each time a document is
Another thing we’re struggling with is that we’re building 4D WP documents
using code and make tables so that the resulting area can be easily turned into
an HTML email.
Unfortunately, that makes the Write area awkward for a user to modify. It’s not
easy to manipulate the tables (delete/add col
You’re right, John.
When I re-open the document, the table has another reference, and WP SELECT
doesn’t work anymore…
Is there any other way to get the object reference for a table in a 4D Write
PRO document?
WP Get selection doesn’t seem to work for table objects:
$WPRange:=WP Get selection
In v17, we can now get the element id’s, and also select the table objects in a
document, so that is definitely an improvement.
But, in case there is more than 1 table in the document, I fail to get a
reference for the table where the cursor is in… has anyone figured out how to
do that?
How c
te PRO: editing a table / collections
In v17, we can now get the element id’s, and also select the table objects in a
document, so that is definitely an improvement.
But, in case there is more than 1 table in the document, I fail to get a
reference for the table where the cursor is in… has anyone f
mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von Two Way
> Communications via 4D_Tech
> Gesendet: Mittwoch, 11. Juli 2018 12:21
> An: 4D iNug Technical <4d_tech@lists.4d.com>
> Cc: Two Way Communications
> Betreff: Re: 4D Write PRO: editing a table / collections
>
>
: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von Two Way
Communications via 4D_Tech
Gesendet: Mittwoch, 11. Juli 2018 16:37
An: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Two Way Communications
Betreff: Re: 4D Write PRO: editing a table / collections
Thanks Achim!
Can I also
t-
> Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von Two Way
> Communications via 4D_Tech
> Gesendet: Mittwoch, 11. Juli 2018 16:37
> An: 4D iNug Technical <4d_tech@lists.4d.com>
> Cc: Two Way Communications
> Betreff: Re: 4D Write PRO: editing a t
<4d_tech@lists.4d.com>
Cc: Two Way Communications
Betreff: Re: 4D Write PRO: editing a table / collections
Thanks Achim. But what if the cell is not selected, and I want to fill the
cells by programming?
Rudy Mortier
Two Way Communications bvba
> On 11 Jul 2018, at 17:00, Achim Pe
new text and set parameters 3 and 4 accordingly.
>>
>> Achim
>>
>>
>>
>>
>> -Ursprüngliche Nachricht-
>> Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von Two Way
>> Communications via 4D_Tech
>> Gesendet: Mittwoch,
On Jul 10, 2018, at 10:41 PM, Two Way Communications via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> You’re right, John.
>
> When I re-open the document, the table has another reference, and WP SELECT
> doesn’t work anymore…
>
> Is there any other way to get the object reference for a table in a
a table reference can be obtained from
WP Create table range
http://doc.4d.com/4Dv17/4D/17/WP-Create-table-range.301-3703205.en.html
WP Get elements
http://doc.4d.com/4Dv17/4D/17/WP-Get-elements.301-3703212.en.html
or
WP Get element by ID
http://doc.4d.com/4Dv17/4D/17/WP-Get-element-by-ID.301-3
Re: 4D Write PRO: editing a table / collections
So, what if the user has created a table (through a method), and now want to
select a cell in that table and change it’s background color, or it’s width?
How can we do that?
Rudy Mortier
Two Way Communications bvba
> On 11 Jul 2018, at 17:05
Achim, have you tried this yourself?
I think it is not possible in 4D Write PRO v17 to select 1 or more cells in a
table and then be able to get the cells reference by code.
Just follow this scenario:
- the user creates a table in 4D Write PRO (by clicking a button containing the
code WP Inse
Communications via 4D_Tech
Gesendet: Donnerstag, 12. Juli 2018 12:44
An: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Two Way Communications
Betreff: Re: 4D Write PRO: editing a table / collections
Achim, have you tried this yourself?
I think it is not possible in 4D Write PRO v17 to se
Auftrag von Two Way
Communications via 4D_Tech
Gesendet: Donnerstag, 12. Juli 2018 12:44
An: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Two Way Communications
Betreff: Re: 4D Write PRO: editing a table / collections
Achim, have you tried this yourself?
I think it is not possible in 4D Wri
17 matches
Mail list logo