Hi All, The offending command is:
WP PRINT(WP_WriteProArea) It appears that the component is expecting “WP_WriteProArea” to be an object. I don’t recall the ins and outs off passing params from the host to the component. But I do know that the host and component have different scopes. So you cannot create the same variable in the host and expect it to be seen by the component. So how does the component get the “WP_WriteProArea” variable? Anyone have any idea? Thanks, John… > 4D v17.2 64bit Windows > Windows 10 Pro > > We are using the "WR_Toolbar_Classic.4dbase” component. Reason is because it > closely resembles the earlier 4D Write UI. > > Anyway, everything works except we get an error trying to print. > > "Error when executing the method “Print(WR_Toolbar_Classic)” at line number 7” > > passed variable is not a Write object. > > Everything else works as far as I can tell. Print Preview works. Adding a > button and calling “WP PRINT([Letters]wpTemplate) ” works. > > Since I didn’t create this component, 4D did, then there must be a fix that I > have not been able to come up with. > > Has anyone ran into this? Is there a fix? > > Thanks, > 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:[email protected] **********************************************************************

