Hi Pat, Maybe you are right, thanks for the suggestion, but I "don't want to even go there". I could also connect a beamer to my laptop and beam write Pro on the wall in 500% (Dutch humor)
Gr, Piotr > -----Oorspronkelijk bericht----- > Van: Pat Bensky <pben...@gmail.com> > Verzonden: dinsdag 26 juni 2018 12:33 > Aan: 4D iNug Technical <4d_tech@lists.4d.com> > Onderwerp: Re: Any way to detect change to 4D Write Pro orientation. > > Piotr, > Perhaps you will need to: > - Make it enterable > - Give it the focus > - Set the zoom > - Make it non-enterable > - Make the other object the focus > > A bit clunky ... but should work OK? > > Pat > > On Tue, 26 Jun 2018 at 07:54, Piotr Chabot Stadhouders via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > Hi John, > > > > I am already using the 4D Write Pro toolbar, and I like it! It also > > has most things the user needs, and I am also able to modify and > > extend it. I can't wait for a new version to show up. > > However, as said, I am talking about programmatically setting > > defaults, because I don't think users like it when I say they have to > > click 5 buttons every time to create the view they want For some > > defaults we have to use INVOKE ACTION and even more the Pro area has > > got to have the focus > > > > Besides the fact that I find this not intuitive there is one thing I > > don't > > understand: > > As I said (can someone confirm this?) the area has to have the focus > > to use INVOKE ACTION for setting the zoom for example. > > But what if I want to show an area that is not enterable / disabled > > and I want to set the zoom to 150%? Is this even possible? > > > > Gr, > > > > Piotr > > > > > > > -----Oorspronkelijk bericht----- > > > Van: JOHN BAUGHMAN <john...@hawaii.rr.com> > > > Verzonden: donderdag 21 juni 2018 10:04 > > > Aan: 4D iNug Technical <4d_tech@lists.4d.com> > > > Onderwerp: Re: Any way to detect change to 4D Write Pro orientation. > > > > > > 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 > > > **************************************************************** > ****** > > > > -- > ************************************************* > CatBase - Top Dog in Data Publishing > tel: +44 (0) 207 118 7889 > w: http://www.catbase.com > skype: pat.bensky > ************************************************* ********************************************************************** 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 **********************************************************************