Hi Piotr,

        I highly recommend the 4D Write-Like toolbar…

                http://download.4d.com/4DBlog/Tips/4DWriteLikeToolbarDemo.zip

        It has nearly everything needed including zoom and view mode that you 
mentioned. If for nothing else it’s  great to use as an example of how to 
manage most of the 4D Write Pro attributes. I have adopted it for all my 4D 
Write Pro areas with only a couple of additions. I added “4D Expressions” to 
the Insert menu and added the orientation icons I mentioned earlier. Both were 
very easy to add using the tool bar's example.


John

  
John Baughman
1331 Auwaiku Street
Kailua, Hawaii  96734
(808) 262-0328
john...@hawaii.rr.com

> On Jun 20, 2018, at 9:45 PM, Piotr Chabot Stadhouders via 4D_Tech 
> <4d_tech@lists.4d.com> wrote:
> 
> 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
> **********************************************************************

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