[COTDC] - 23 PopupChoiceDialogWindowWithMessage

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

[COTDC] - 23 PopupChoiceDialogWindowWithMessage

laurent laffont
Today:  PopupChoiceDialogWindowWithMessage

(with proper subject)

Comment Of The Day Contest - One Day One Comment
Rules: 
#1: Each day a not commented class is elected. Each day the best comment will be integrated with name of the author(s).
#2: If you cannot comment it, deprecate it.
Laurent

Reply | Threaded
Open this post in threaded view
|

Re: [COTDC] - 23 PopupChoiceDialogWindowWithMessage

laurent laffont
I've tried:

PopupChoiceDialogWindowWithMessage new
title: 'I''m a popup';
message: 'Hello world';
labels: #(one two free);
lines: #('I love' 'poping' 'everywhere');
openInWorld.

but some MNU .... someone know how to use it ?

Laurent


On Wed, Mar 2, 2011 at 8:03 PM, laurent laffont <[hidden email]> wrote:
Today:  PopupChoiceDialogWindowWithMessage

(with proper subject)

Comment Of The Day Contest - One Day One Comment
Rules: 
#1: Each day a not commented class is elected. Each day the best comment will be integrated with name of the author(s).
#2: If you cannot comment it, deprecate it.
Laurent


Reply | Threaded
Open this post in threaded view
|

Re: [COTDC] - 23 PopupChoiceDialogWindowWithMessage

laurent laffont
I'm a dialog which ask the user to select a element in a list. See me in action:

UIManager default inform:
(UIManager default 
chooseFrom: #(one two three) 
values: #('1' '2' '3')  
message: 'Select one' 
title: 'PopupChoiceDialogWindowWithMessage example')  

Laurent Laffont - @lolgzs

Pharo Smalltalk Screencasts: http://www.pharocasts.com/
Blog: http://magaloma.blogspot.com/


On Thu, Mar 3, 2011 at 6:26 PM, laurent laffont <[hidden email]> wrote:
I've tried:

PopupChoiceDialogWindowWithMessage new
title: 'I''m a popup';
message: 'Hello world';
labels: #(one two free);
lines: #('I love' 'poping' 'everywhere');
openInWorld.

but some MNU .... someone know how to use it ?

Laurent


On Wed, Mar 2, 2011 at 8:03 PM, laurent laffont <[hidden email]> wrote:
Today:  PopupChoiceDialogWindowWithMessage

(with proper subject)

Comment Of The Day Contest - One Day One Comment
Rules: 
#1: Each day a not commented class is elected. Each day the best comment will be integrated with name of the author(s).
#2: If you cannot comment it, deprecate it.
Laurent