Hey All, This is really several issues. I think the Write component I am using isn’t setup to handle printing (not print preview which does work) from outside the component. No way to send in appointed to the area in the host db.
And then there is the issue about having a classic toolbar that was created so that it made upgrading to 4D Write Pro easier (since most of use a similar tool bar)… That only works correctly in certain releases and not in the .dot releases. I think the toolbar is supposed to show up as a widget but you won’t find it unless you are in a particular R release or in v18 (I think). Anyway, I’ve presently resorted to have a button (thank you Barclay) on the form that handles a direct print to printer. Not sure if this will help anyone but it’s here for posterity. Note: yes I could alter the source code and set these things up but I intend to move the client to the pro toolbar and well there’s only so much time... Appreciate, John... > Hey All, > > I have installed the component “WR_Toolbar_Classic.4dbase” which works in all > cases except. I also have named the WP area the same as what the calling > component expects “WP_WriteProArea" > > When I select Print form the File menu using the classic menubar (subform) I > get the following error: > > "Error when executing the method “Print(WR_Toolbar_Classic)” at line number 7 > > passed variable is not a write object." > > But it is a write object and works correctly in the host form. > > Has anyone else had issues or seen this? Ideas? > > BTW, the File -> Print Preview works fine showing the write area. > > I hope I explained this clearly. > > Thanks for your help, > John... ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************