Xojo Conferences
XDCMay2019MiamiUSA

Control embedding (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: bitmap from picture description
Next thread: REALinvisibleControl top/left problems


Re: class extensions...   -   Jan Erik Moström <
  Control embedding   -   Alexander Cohen
   Re: Control embedding   -   Will Cosgrove
    Re: Control embedding   -   Alexander Cohen
     Re: Control embedding   -   Will Cosgrove
    Color Data   -   Matheau Dakoske

Control embedding
Date: 15.09.02 19:57 (Sun, 15 Sep 2002 14:57:45 -0400)
From: Alexander Cohen
I was wondering how we should look at control embedding when cretaing a
Toolbox control within a plugin. Should we embed it ourselves within the
plugin, or does RB take care of that?

Re: Control embedding
Date: 15.09.02 20:17 (Sun, 15 Sep 2002 14:17:34 -0500)
From: Will Cosgrove

On Sunday, September 15, 2002, at 01:57 PM, Alexander Cohen wrote:

> I was wondering how we should look at control embedding when cretaing a
> Toolbox control within a plugin. Should we embed it ourselves within
> the
> plugin, or does RB take care of that?

I do embedding in one of my plug-ins and RB doesn't seem to
automatically do it. What I did was added a boolean property that is
"AutoEmbed." Then when the control is created I check the flag and if
it's true I call AutoEmbedControl(). Seems to work with a few controls
inside RB, but milage may vary.

Cheers,
Will C.

---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>

Re: Control embedding
Date: 15.09.02 21:19 (Sun, 15 Sep 2002 16:19:29 -0400)
From: Alexander Cohen
On 9/15/02 3:17 PM, "Will Cosgrove" <<email address removed>> wrote:

>
> On Sunday, September 15, 2002, at 01:57 PM, Alexander Cohen wrote:
>
>> I was wondering how we should look at control embedding when cretaing a
>> Toolbox control within a plugin. Should we embed it ourselves within
>> the
>> plugin, or does RB take care of that?
>
> I do embedding in one of my plug-ins and RB doesn't seem to
> automatically do it. What I did was added a boolean property that is
> "AutoEmbed." Then when the control is created I check the flag and if
> it's true I call AutoEmbedControl(). Seems to work with a few controls
> inside RB, but milage may vary.

So, say I autoembed the control, what would happen if it is used in a page
panel or tab panel within RB? I'm guessing that RB does some kind of
embedding in these cases, right!

Re: Control embedding
Date: 15.09.02 21:26 (Sun, 15 Sep 2002 15:26:36 -0500)
From: Will Cosgrove

On Sunday, September 15, 2002, at 03:19 PM, Alexander Cohen wrote:

> On 9/15/02 3:17 PM, "Will Cosgrove" <<email address removed>> wrote:
>
>>
>> On Sunday, September 15, 2002, at 01:57 PM, Alexander Cohen wrote:
>>
>>> I was wondering how we should look at control embedding when
>>> cretaing a
>>> Toolbox control within a plugin. Should we embed it ourselves within
>>> the
>>> plugin, or does RB take care of that?
>>
>> I do embedding in one of my plug-ins and RB doesn't seem to
>> automatically do it. What I did was added a boolean property that is
>> "AutoEmbed." Then when the control is created I check the flag and if
>> it's true I call AutoEmbedControl(). Seems to work with a few
>> controls
>> inside RB, but milage may vary.
>
> So, say I autoembed the control, what would happen if it is used in a
> page
> panel or tab panel within RB? I'm guessing that RB does some kind of
> embedding in these cases, right!

Yeah, it takes care of it in those situations.

Cheers,
Will

---
A searchable archive of this list is available at:
<http://dbserver.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>