Angled Text Disappearing


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Angled Text Disappearing

  1. #1
    Anthony Emmerick Guest

    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?

  2. #2
    Eric D. Burdo Guest

    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?




  3. #3
    Eric D. Burdo Guest

    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?

    >
    >




  4. #4
    Karl E. Peterson Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center