Hey John, Yes ... I replaced both the WP object and the toolbar subform and now it works OK!
Thanks Pat On Fri, 22 Jun 2018 at 16:44, John Baughman via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Are you using the write-like toolbar? > > I had this problem and solved it by recreating the form from scratch. Copy > everything from the old form except the toolbar sub form and 4D Write Pro > area then add the sub form and area as you would normally. > > I could not get Write Pro to work properly with the tool bar in any > pre-existing form. > > John > > > John Baughman > Kailua, Hawaii > john...@hawaii.rr.com > > > On Jun 22, 2018, at 4:34 AM, Pat Bensky via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > > Further to my earlier post regarding the 4Dwrite toolbar ... > > I discovered that I was using an older version of the demo database. So I > > got the latest one and copied the necessary elements from the demo db > over > > to my db. > > Now I get an error message on calling *WP Get selection:* > > > > $wpRange:=*WP Get selection*(WP_WriteProArea) > > > > The message is "Form object not found or form object is not a 4D Write > pro > > form object" > > > > But it IS!!!! > > > > If I check the WP_WriteProArea object in the Expression area it shows: > > > > {title:4D Write Pro New > > > Document,dateCreation:2018-06-22T14:26:01.635Z,dateModified:2018-06-22T14:26:24.609Z,version:2.01,backgroundColor:16777215} > > > > That looks like an object to me! > > > > So why would I be getting that error? > > > > I'm using v16r6, Mac > > > > Thanks! > > > > Pat > > > > -- > > ************************************************* > > 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 > > ********************************************************************** > ********************************************************************** > 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 **********************************************************************