Hi Dmitry,
In VFP Advanced, there is a SYS() function to do it, for example,
=SYS(9008,1) && Enables maximize the report preview window automatically
More information:
http://baiyujia.com/vfpdocuments/f_vfp9fix54.asp[ENHANCED] VFP 9.0 FIX - SYS(9008) ENABLES OR DISABLES MAXIMIZING THE REPORT PREVIEW WINDOW AUTOMATICALLY
Best regards,
Chen