Prev: Best method of determining path, relative path and/or flie name
Next: 'original' FileOpen Dialog
From: David Youngblood on 13 Jun 2010 07:58 "Leo" <ttdhead(a)gmail.com> wrote in message news:hv226n$p2f$1(a)news.eternal-september.org... > Larry Serflaten wrote on 13/06/2010 : >> "Leo" <ttdhead(a)gmail.com> wrote >>> I have an app that refuses to cooperate when I turn wordwrap on then >>> off while the status bar is visible. If I perform those actions, the >>> status bar does not get drawn correctly. What is the best way of >>> solving this. There must be a way as notepad seems to gracefuly handle >>> it (I am currently just forbiding this opperation by displaying a >>> msgbox and exiting the operation). Thankyou. >> >> >> Concise code to demostrate the problem would help in offering a >> solution..... >> >> LFS > > Private Sub mnuViewStatusBar_Click() > If mnuViewStatusBar.Checked Then > mnuViewStatusBar.Checked = False > sbrMain.Visible = False > Me.ActiveControl.Height = Me.ScaleHeight It would appear that you are only resizing one textbox. If you then switch wordwrap, the alternate textbox may be the wrong size. You could try resizing both. David
From: Leo on 13 Jun 2010 08:20 David Youngblood brought next idea : > "Leo" <ttdhead(a)gmail.com> wrote in message > news:hv226n$p2f$1(a)news.eternal-september.org... >> Larry Serflaten wrote on 13/06/2010 : >>> "Leo" <ttdhead(a)gmail.com> wrote >>>> I have an app that refuses to cooperate when I turn wordwrap on then >>>> off while the status bar is visible. If I perform those actions, the >>>> status bar does not get drawn correctly. What is the best way of >>>> solving this. There must be a way as notepad seems to gracefuly handle >>>> it (I am currently just forbiding this opperation by displaying a >>>> msgbox and exiting the operation). Thankyou. >>> >>> >>> Concise code to demostrate the problem would help in offering a >>> solution..... >>> >>> LFS >> >> Private Sub mnuViewStatusBar_Click() >> If mnuViewStatusBar.Checked Then >> mnuViewStatusBar.Checked = False >> sbrMain.Visible = False >> Me.ActiveControl.Height = Me.ScaleHeight > > It would appear that you are only resizing one textbox. If you then switch > wordwrap, the alternate textbox may be the wrong size. You could try resizing > both. > > David Thankyou for spotting that simple little error that I should be ashamed of missing. -- ClassicVB Users Regroup! comp.lang.basic.visual.misc Free usenet access at http://www.eternal-september.org
First
|
Prev
|
Pages: 1 2 Prev: Best method of determining path, relative path and/or flie name Next: 'original' FileOpen Dialog |