Long text entry field

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

Long text entry field

Offray
Hi all,

Thanks to the Stephan's advices,  I'm making progress in my small
planning application and hopefully today I will have a working
prototype. Now I would like to add some properties to the PlanColumn
class, one of them is a long description of what the day is gonna be
about. I can fill it using TextEntreDialogWindow, as in Stephan's code
but I would like to have a more apt widget for long text. Unfortunately
I can't find it by myself. Any pointers to where is it? How can I create
a widget for a long text entry?

Cheers,

Offray

Reply | Threaded
Open this post in threaded view
|

Re: Long text entry field

Stephan Eggermont-3
On 15-09-15 14:55, Offray Vladimir Luna Cárdenas wrote:

> Hi all,
>
> Thanks to the Stephan's advices,  I'm making progress in my small
> planning application and hopefully today I will have a working
> prototype. Now I would like to add some properties to the PlanColumn
> class, one of them is a long description of what the day is gonna be
> about. I can fill it using TextEntreDialogWindow, as in Stephan's code
> but I would like to have a more apt widget for long text. Unfortunately
> I can't find it by myself. Any pointers to where is it? How can I create
> a widget for a long text entry?

There are several rubric examples that might help you.
Please note that I am making some improvements to the PlanBoard code
that might be useful for your application.

Stephan



Reply | Threaded
Open this post in threaded view
|

Re: Long text entry field

Nicolai Hess
In reply to this post by Offray


2015-09-15 14:55 GMT+02:00 Offray Vladimir Luna Cárdenas <[hidden email]>:
Hi all,

Thanks to the Stephan's advices,  I'm making progress in my small planning application and hopefully today I will have a working prototype. Now I would like to add some properties to the PlanColumn class, one of them is a long description of what the day is gonna be about. I can fill it using TextEntreDialogWindow, as in Stephan's code but I would like to have a more apt widget for long text. Unfortunately I can't find it by myself. Any pointers to where is it? How can I create a widget for a long text entry?

Just like TextEntryDialogWindow, but use TextEditorDialogWindow, for example:

Smalltalk ui theme
        textEditorIn: ActiveWorld
        text: 'Enter some text'
        title: 'Editor'
        entryText: String loremIpsum
        entryHeight:300


 

Cheers,

Offray


Reply | Threaded
Open this post in threaded view
|

Re: Long text entry field

Offray
Thanks Nicolai. This is what I was looking for.

Cheers,

Offray

On 15/09/15 08:52, Nicolai Hess wrote:


2015-09-15 14:55 GMT+02:00 Offray Vladimir Luna Cárdenas <[hidden email]>:
Hi all,

Thanks to the Stephan's advices,  I'm making progress in my small planning application and hopefully today I will have a working prototype. Now I would like to add some properties to the PlanColumn class, one of them is a long description of what the day is gonna be about. I can fill it using TextEntreDialogWindow, as in Stephan's code but I would like to have a more apt widget for long text. Unfortunately I can't find it by myself. Any pointers to where is it? How can I create a widget for a long text entry?

Just like TextEntryDialogWindow, but use TextEditorDialogWindow, for example:

Smalltalk ui theme
        textEditorIn: ActiveWorld
        text: 'Enter some text'
        title: 'Editor'
        entryText: String loremIpsum
        entryHeight:300


 

Cheers,

Offray



Reply | Threaded
Open this post in threaded view
|

Re: Long text entry field

Offray
In reply to this post by Stephan Eggermont-3
Thanks Stephan,

I will publish my variation of your work. Is pretty specific for the
needs of our local hackerspace, but will be really nice to share code.

Cheers,

Offray

On 15/09/15 08:37, Stephan Eggermont wrote:

> On 15-09-15 14:55, Offray Vladimir Luna Cárdenas wrote:
>> Hi all,
>>
>> Thanks to the Stephan's advices,  I'm making progress in my small
>> planning application and hopefully today I will have a working
>> prototype. Now I would like to add some properties to the PlanColumn
>> class, one of them is a long description of what the day is gonna be
>> about. I can fill it using TextEntreDialogWindow, as in Stephan's code
>> but I would like to have a more apt widget for long text. Unfortunately
>> I can't find it by myself. Any pointers to where is it? How can I create
>> a widget for a long text entry?
>
> There are several rubric examples that might help you.
> Please note that I am making some improvements to the PlanBoard code
> that might be useful for your application.
>
> Stephan
>
>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Long text entry field

Stephan Eggermont-3
Hi Offray,

On 15-09-15 16:08, Offray Vladimir Luna Cárdenas wrote:
> I will publish my variation of your work. Is pretty specific for the
> needs of our local hackerspace, but will be really nice to share code.

Good. It is very helpful to have lots of examples of how to do things
with Morphic (and then how to do them with Bloc)

Stephan