Hi John,

I am on your side with this.
Especially the need to use INVOKE ACTION to set specific attributes is 
something I don't understand.

Our users want to be able to set some defaults for the Write Pro area, for 
example the default zoom % and the default view mode
Now I have to use for example INVOKE 
ACTION("pageMode?value=draft";WP_WriteProArea) and INVOKE 
ACTION("zoom?value=150%";WP_WriteProArea) to accomplish this.
Even further, the Write Pro area needs to have the focus or else the invoke 
action command doesn't work

I know there are some workarounds / hacks for this, but I don't like it.

Gr,

Piotr


> On Jun 10, 2018, at 10:18 AM, JOHN BAUGHMAN wrote:
>
> 2. Have 2 icons in my tool bar, like in the print dialog, for Portrait and 
> Landscape and be able to use them as one can from the contextual menu.
>

There is a way to do set ordination programmatically...

INVOKE ACTION("pageOrientation?value=landscape";WP_WriteProArea)

Does anyone else find finding how to do something in 4D Write Pro a painful 
proposition. Everything is spread out...

WP commands
ST Commands
OB Commands
Standard Actions/4D Write Pro Standard Actions/Invoke Action
etc., etc...

I would love a single place to go where I can find what is needed without 
having to guess what section of the LRM to go to?

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

Reply via email to