adding subpresenters programaticaly

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

adding subpresenters programaticaly

Günther Schmidt
Hi,

How do I add subpresenters programaticaly, ie. adding TextPresenters
into a composit presenter?

Günther


Reply | Threaded
Open this post in threaded view
|

Re: adding subpresenters programaticaly

Ian Bartholomew-19
Günther,

> How do I add subpresenters programaticaly, ie. adding TextPresenters into
> a composit presenter?

Have a look at FramingLayout class>>example1

It's intention is to show how to use FramingLayout but it does also serve as
an example of how to build views programmatically.

--
Ian

Use the Reply-To address to contact me.
Mail sent to the From address is ignored.


Reply | Threaded
Open this post in threaded view
|

Re: adding subpresenters programaticaly

Runar Jordahl-3
In reply to this post by Günther Schmidt
Reply | Threaded
Open this post in threaded view
|

Re: adding subpresenters programaticaly

Günther Schmidt
Dear Runar,

thanks, #createIn:on: was exactly what I needed, works perfect.

One more problem though.

How do I make the subpresenter container (a Presenter 'Container view')
add scrollbars?

Günther



Runar Jordahl schrieb:
> Look at Randy's response in this post:
> http://groups.google.com/groups?hl=no&lr=&threadm=41b666a2%241%40news.totallyobjects.com&rnum=1&prev=/groups%3Fq%3D%2522switching%2Bviews%2522%2Bsmalltalk%26hl%3Dno%26lr%3D%26selm%3D41b666a2%25241%2540news.totallyobjects.com%26rnum%3D1
>
> I followed his advice and found it very helpful. I can provide more info for
> you later if you want.
>
> Runar Jordahl
>
>