The way I deal with this problem is to prepare a plain document with the desired orientation, paper size, etc. and load it from disk as needed. Also, I disable the context menu be default and display a dynamic menu that contains only authorised actions by code.
You can call OBJECT SET CONTEXT MENU during On Click which will activate the standard menu, so it is possible to switch the type of menu depending on modifiers, for example. > 2018/06/10 15:54、JOHN BAUGHMAN via 4D_Tech <[email protected]> のメール: > > After reading some earlier posts on this subject I believe it is not possible > to set the orientation of a 4D Write Pro area on a form. If it is possible, > could someone please show me how. I do not see a standard action for this and > anything else remotely related to orientation is strictly for printing. ********************************************************************** 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:[email protected] **********************************************************************

