Re: procedurally delete anchored image in 4D Write Pro

2018-05-25 Thread Keisuke Miyako via 4D_Tech
there is no reason why a "delete" command should not exist, I suppose, but 4D Write Pro is about constructing dynamic documents using templates, by evaluating embedded expressions and/or combining prepared segments (range objects), so I would imagine that a delete command is not really in high

Re: 4D Write Pro: traverse throught all available headers and footers

2018-05-25 Thread Keisuke Miyako via 4D_Tech
Hello, the command is ST Get content type http://doc.4d.com/4Dv16/4D/16.3/ST-Get-content-type.301-3652488.en.html > 2018/05/26 0:46、Piotr Chabot Stadhouders via 4D_Tech <4d_tech@lists.4d.com> > のメール: > I need to traverse through all expressions

Re: Why are columns of a non-focusable listbox not enterable?

2018-05-25 Thread Keith Culotta via 4D_Tech
Try something like this: OBJECT SET ENTERABLE(*;"LB1";False) OBJECT SET FOCUS RECTANGLE INVISIBLE(*;"LB1";True) FORM GET ENTRY ORDER($aNames;*) DELETE FROM ARRAY($aNames;1) // the is "LB1" FORM SET ENTRY ORDER($aNames) Keith - CDI > On May 25, 2018, at 1:08 PM, Piotr Chabot Stadhouders via

RE: Why are columns of a non-focusable listbox not enterable?

2018-05-25 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, you've got me there OK, so 90% of the time the listbox doesn't need to be enterable I don't want it to have the focus because I want other objects to keep the focus At some point (the other 10%) I want it to be enterable OBJECT SET ENTERABLE on a column doesn't work, because the listbox is

4D Write Pro: get all expressions

2018-05-25 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Below is a code snippet (not my own) that loops through all expressions in a 4D Write Pro document It seems that when an expression is the very first element in the document it is not detected Does anybody know a solution? Is there a better way to get all expressions? Thanks, Piotr

RE: procedurally delete anchored image in 4D Write Pro

2018-05-25 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Justin, Miyako, INVOKE ACTION works, but then I was realizing that this only works with an Write Pro on a Form and not when using an "offscreen" 4D Write Pro object variable That's why I thought I must be overlooking a command to do the deleting So there are 2 possibilities: 1. We are

4D Write Pro: traverse throught all available headers and footers

2018-05-25 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Does anybody know of a way how to traverse through all available headers and footers of a document? I have an 4D Write Pro object and in some circumstances I get an error when using WP SET FRAME How do I know if, and so which frames are available in a 4D Write Pro object I need to traverse