On Dec 28, 2005, at 11:15 AM, Dominik Fusina - The Captain wrote:
Hi,
I create a CANVAS subclass (myCanvas) and I generate CANVAS objects
dynamically into a window with “new” operator.
To do this, today I must to create a (empty) CANVAS object with
superclass
“myCanvas” and an index number to “0”.
But I would like to create “myCanvas” instances without that default
and
physical object, just like that, with using “new” operator only
(virtual
action).
- I want my main window empty ! -
Why ? Because I need to initialize differents default values before
“myCanvas” object be created (open).
Is it possible ?
(I hope to be clear ;) )
Thanx,
Not with plain canvas subclasses or most other control subclasses.
IF you use a container control you might be able to do something like
this.
Basically each container would just hold one standard control and then
you can instantiate those at run time and embed them using embedwithin.
_______________________________________________
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>
|