-
Angled Text Disappearing
I have just used the advice on “Print Text at An Angle” (Ask the Pro - VBPJ
January 1999). I get it to work very well but once the form loses focus,
the angled text disappears. I am using it on the “Switch” or menu form of
my MDI application. This form remains loaded and showing at all times while
the application is running. The angled text disappears when another form
is loaded and shown.
Any solution?
-
Re: Angled Text Disappearing
Set the Auto = true for the form, or draw it in the Paint event of the form.
--
Eric D. Burdo, Red-Leif International
VB Programmer and Consultant
<http://www.redleif.com/vb>
*** Please reply to the newsgroup so all can benefit. ***
"Anthony Emmerick" <emmerick@worldonline.co.za> wrote in message
news:3a273fad$1@news.devx.com...
>
> I have just used the advice on "Print Text at An Angle" (Ask the Pro - VBPJ
> January 1999). I get it to work very well but once the form loses focus,
> the angled text disappears. I am using it on the "Switch" or menu form of
> my MDI application. This form remains loaded and showing at all times while
> the application is running. The angled text disappears when another form
> is loaded and shown.
>
> Any solution?
-
Re: Angled Text Disappearing
Blasted spellchecker... that is supposed to be set AutoRedraw = True on your form.
--
Eric D. Burdo, Red-Leif International
VB Programmer and Consultant
<http://www.redleif.com/vb>
*** Please reply to the newsgroup so all can benefit. ***
"Eric D. Burdo" <vbtips@redleif.com> wrote in message news:3a27a9f1$1@news.devx.com...
> Set the Auto = true for the form, or draw it in the Paint event of the form.
>
> --
>
> Eric D. Burdo, Red-Leif International
> VB Programmer and Consultant
> <http://www.redleif.com/vb>
>
> *** Please reply to the newsgroup so all can benefit. ***
>
>
> "Anthony Emmerick" <emmerick@worldonline.co.za> wrote in message
> news:3a273fad$1@news.devx.com...
> >
> > I have just used the advice on "Print Text at An Angle" (Ask the Pro - VBPJ
> > January 1999). I get it to work very well but once the form loses focus,
> > the angled text disappears. I am using it on the "Switch" or menu form of
> > my MDI application. This form remains loaded and showing at all times while
> > the application is running. The angled text disappears when another form
> > is loaded and shown.
> >
> > Any solution?
>
>
-
Re: Angled Text Disappearing
Hi Anthony --
As with all custom painting, there are two ways to handle it. You can either set
AutoRedraw to True and Cls/Paint as the mood suits you, or you can repaint on every
Paint event. Your choice.
Later... Karl
--
http://www.mvps.org/vb
"Anthony Emmerick" <emmerick@worldonline.co.za> wrote in message
news:3a273fad$1@news.devx.com...
>
> I have just used the advice on “Print Text at An Angle” (Ask the Pro - VBPJ
> January 1999). I get it to work very well but once the form loses focus,
> the angled text disappears. I am using it on the “Switch” or menu form of
> my MDI application. This form remains loaded and showing at all times while
> the application is running. The angled text disappears when another form
> is loaded and shown.
>
> Any solution?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks