realbasic-nug
[Top] [All Lists]

Re: Create virtually a CANVAS subclass

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Create virtually a CANVAS subclass
From: Dominik Fusina - The Captain <realbasiclist at fusina dot net>
Date: Wed, 28 Dec 2005 20:44:21 +0100
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Thread-index: AcYL5xjqV5pWUnfaEdqlzAARJHHC3A==
Thread-topic: Create virtually a CANVAS subclass
OK.
I try ! ;)


on 28/12/05 19:33, Norman Palardy at npalardy at great-white-software dot com
wrote:

> 
> 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>

----------------------
RB 2005 PRO r 4:
:( I don't like IDE : too slow, and not clear!
:( too many bugs for a release #4...
:( too expensive "release" program...
An old RB 1.0 user :(
----------------------
RB 5.5.5 on OS X Tiger
----------------------
   Dominik Fusina
     - France -


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