مرتضی حمزه ئی
شنبه 13 مرداد 1386, 10:38 صبح
من میخواهم بصورت فعال دگمه بستن گزارش در برنامه ای که با vb نوشته ام نمایش داده شود ولی هرکاری میکنم دگمه بستن فعال نمیشود و کاربر نمیتواند از طریق این دگمه صفحه گزارش راببندد ممنون میشوم اگرکمک کنید کدش بصورت زیر است ولی خط اول بودونبودش تاثیری نداره
CRViewer1.EnableCloseButton =True
CRViewer1.EnablePrintButton = True
CRViewer1.Zoom (100)
Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = Report
CRViewer1.ViewReport
CRViewer1.EnableCloseButton =True
CRViewer1.EnablePrintButton = True
CRViewer1.Zoom (100)
Screen.MousePointer = vbHourglass
CRViewer1.ReportSource = Report
CRViewer1.ViewReport