A Method of Shielding the Print Button in the Data Report Preview Mode Based on VB
Zhan Xi · 2010
Data report preview is a functionality supported by Data Report component in VB, which can make the report previewed in the manner of You See Is What You Get before it is actually printed. There are print and export buttons, and a zoom combine box in the preview interface, realizing the print and export functionalities when report is previewed. However, these buttons should be prohibited in some conditions. This paper introduces a good method that can achieve the goal.