Lines, circles, text disappears


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Lines, circles, text disappears

  1. #1
    Anne-Mie Guest

    Lines, circles, text disappears


    I'm using thisform.line, thisform.circle, thisform.print,.. methods to put
    some lines, circles, text on my form.
    This works all fine. But sometimes the screen get cleared and I don't know
    why. Does anyone have some experience with this?





  2. #2
    Tamar E. Granor Guest

    Re: Lines, circles, text disappears

    On 3 Jul 2002 03:05:53 -0800, "Anne-Mie" <amv@advalvas.be> wrote:

    >
    >I'm using thisform.line, thisform.circle, thisform.print,.. methods to put
    >some lines, circles, text on my form.
    >This works all fine. But sometimes the screen get cleared and I don't know
    >why. Does anyone have some experience with this?


    Those methods draw right on the form, so anything that clears the
    form, including the Cls method or the CLEAR command, can make them
    disappear. You're better off using the Shape control to put lines and
    circles on a form, and the Label control for text.

    Tamar

  3. #3
    Anne-Mie Guest

    Re: Lines, circles, text disappears


    Tamar E. Granor <> wrote:
    >On 3 Jul 2002 03:05:53 -0800, "Anne-Mie" <amv@advalvas.be> wrote:
    >
    >>
    >>I'm using thisform.line, thisform.circle, thisform.print,.. methods to

    put
    >>some lines, circles, text on my form.
    >>This works all fine. But sometimes the screen get cleared and I don't know
    >>why. Does anyone have some experience with this?

    >
    >Those methods draw right on the form, so anything that clears the
    >form, including the Cls method or the CLEAR command, can make them
    >disappear. You're better off using the Shape control to put lines and
    >circles on a form, and the Label control for text.
    >
    >Tamar


    That is just my problem. I don't use cls or Clear but still my form is cleared.
    What can be other events or methods that clear the form? I call a method(with
    circle and line) to draw my picture. I see my picture but sometimes the picture
    get cleared immidiately. When I put a button on my form and just call the
    draw method the picture stays there.



  4. #4
    Tamar E. Granor Guest

    Re: Lines, circles, text disappears

    On 3 Jul 2002 06:00:37 -0800, "Anne-Mie" <amv@advalvas.be> wrote:

    >That is just my problem. I don't use cls or Clear but still my form is cleared.
    >What can be other events or methods that clear the form? I call a method(with
    >circle and line) to draw my picture. I see my picture but sometimes the picture
    >get cleared immidiately. When I put a button on my form and just call the
    >draw method the picture stays there.
    >


    I don't really know what else might clear the form. Once I realized
    how fragile that kind of drawing was, I never used it.

    Is there a reason for not using shape and label controls?

    Tamar

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