Drawing a Canvas

Christ Tassilo (tassilo@skipper.physics.sunysb.edu)
Thu, 18 Mar 1999 15:02:50 -0500 (EST)


Hi rooters, I'm new to the family and what I would very carefully
describe as unexperienced. I have the following problem:

Inside a macro I create a Canvas with all bells and whistles

I create two pads and with them a histogram each

I "Draw" the pads and histograms and here the problems start:

I get the canvas with the histograms, but the menu line never gets
finished or even started. The canvas can be varied in size but the
histograms are never adapted.

I do some other stuff in a loop that later is supposed to fill the
histograms but currently leaves them untouched and empty. After each loop
I call the Update method on the Canvas. Nothing happens...

After this" other stuff" is done the histograms are saved and the file
is closed: That works again. The same thing can be done over and over again.
The only problem is the "nonfinished drawing"...

What do I do wrong?

Thanks,

Tassilo