realbasic-nug
[Top] [All Lists]

DrawInto call problem

To: "REALbasic NUG" <realbasic-nug at lists dot realsoftware dot com>
Subject: DrawInto call problem
From: "Peter Bozek" <peter dot bozek at gmail dot com>
Date: Thu, 28 Sep 2006 23:24:59 +0200
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=BBsX2mRnYrXvYiLxfyjUd8xczpyOc/CdFg1sr62mOXfUWQVpV/6nXsH4gFRqVNP/wHKr90zFVIOZkFlDWkQpzGBRcy+wCuRWUy1RdsetEh/ntIPyjRZgepF0UbA6SH/Khic15bxsXgcgudU2Pg5BsXbavegaZucUNd52yzQP4L0=
I tried this question on other lists, but did not get an ansver:

I created a ContainerControl named MyContainer with several objects.
When I put it into window, it works fine. I tried to put into window a
Canvas with following paint method

dim aContainer a MyContainer

aContainer = New MyContainer
aContainer.Initialize
aContainer.Show  // this line does not seem to have any effect on
aContainer.DrawInto (g,0,0)

but nothing is drawn. It seems that Paint method of objects in
Container is not called at all.

I would like to use this technique to draw the same objects many time
on a page (like label printing.) Does anybody know what I am doing
wrong?

--
Peter Bozek
_______________________________________________
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>


<Prev in Thread] Current Thread [Next in Thread>
  • DrawInto call problem, Peter Bozek <=