Thanks for your reply, I guess I should have read the help file first.
I tried to draw on one bitmap, assign the image to another bitmap, and assign that image to the form. It only works partly, because while I did get the desired effect (drawing is finished before displaying), there's a new problem. It seems that between the drawings, gray rows of different shades appear and disappear instantly.
I know that gray is the default color of a new bitmap, but the bitmap is drawn completely white before displaying, so how can I see them?
This is very difficult to explain in text, so I attached another example.