You wrote:

> .....Just did the last test you suggest, i.e, FillOval (having first set
> ForeColor to a visible color), with the result that non-cloned Canvases
> fill with Ovals and cloned canvases do nothing.  I'm not sure what is
> meant by 'malpositioned', but operations like FillRect work just fine
> in Methods, I just don't get any refresh from Paint Event.

My "malpositioned" I mean positioned somewhere that you can't see them --
most likely, off the window, or perhaps embedded in some other control
that's been set to invisible.

My current best bet is that it's either that, or the cloned controls are
invisible for some reason (either they have .Visible=False, or some parent
control they belong to does).

HTH,
- Joe


Prior to previous post, I added  .Visible=True statements to the cloning
loop.

Again, all Canvases are doing the right graphical stuff, as addressed from
Methods.

If I instantiate any Canvas in Window1 by dragging it in (anywhere), then
that
instance triggers Paint and refreshes. It seems to me that that proves that
this
cannot be a matter of malpositioning, since I use the same code to position
and size
the canvases, regardless of whether they were dragged in or cloned.
However, only non-cloned Canvases trigger the Paint event.
Paul

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to