| | |
to stop window minimization automatically
Please support our VB.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: Nov 2008
Posts: 34
Reputation:
Solved Threads: 0
Hi Friends
I am using crystal report, when i click button1(for switcing to print page) so the printing form becomes infront, but when i click on print button of that form & get printout,imidiatlity that form become minimize & hides on task bar
but it's necessary that form must be there & tere is a button(close) on that form when i click on that than form must be close or minimize, Not automatically
please help me to solve this problem
I am using crystal report, when i click button1(for switcing to print page) so the printing form becomes infront, but when i click on print button of that form & get printout,imidiatlity that form become minimize & hides on task bar
but it's necessary that form must be there & tere is a button(close) on that form when i click on that than form must be close or minimize, Not automatically
please help me to solve this problem
Not sure how this works with Crystal Report, it works with "normal" forms. Trap Resize event and if minimizing, set WindowState back to normal
VB.NET Syntax (Toggle Plain Text)
Private Sub Form1_Resize(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Resize ' If Me.WindowState = FormWindowState.Minimized Then Me.WindowState = FormWindowState.Normal End If End Sub
Teme64 @ Windows Developer Blog
![]() |
Other Threads in the VB.NET Forum
- Previous Thread: Format Number
- Next Thread: Problem in deployment
| Thread Tools | Search this Thread |
.net .net2008 2005 2008 access account application arithmetic array basic beginner browser button buttons center check click code combo crystalreport cuesent database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic dropdownlist excel exists fade file-dialog filter forms ftp generatetags hardcopy html images input insert intel listview module monitor net networking number open output panel passingparameters picturebox picturebox1 picturebox2 port print printing problem project regex right-to-left searchvb.net select settings shutdown socket sqldatbase sqlserver survey tcp temperature text textbox timespan toolbox transparency trim txttoxmlconverter user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year





