That's a bug in Polymorph. I don't know why it displays an input box for simple selections? Lukas 2010/7/18 Mariano Martinez Peck <marianopeck@gmail.com>:
I even think
 PluggableTextMorph >> promptForCancel    "Ask if it is OK to cancel changes to text"    (self confirm: 'Changes have not been saved. Is it OK to cancel those changes?' translated)       ifTrue: [model clearUserEditFlag].
is better ;)
On Sun, Jul 18, 2010 at 2:56 PM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
sorry, I attach picture.
On Sun, Jul 1orry8, 2010 at 2:56 PM, Mariano Martinez Peck <marianopeck@gmail.com> wrote:
Hi Lukas. I was taking a look to the OBDefinitionPanel >> aboutToChange:
because it sucks for me those popups. First, it has a TWO cancel option, and an input (to type and subselect items from the menu) that has no sense for two only options.
So, I would like something simple. I want a popup with a label: "'Changes have not been saved."Â Â and two simple buttons: "save" and "discard". Not hirzontal selection lines, but buttons.
I take a look into the methods and hierrarchy of OBInteractionRequest but I didn't find how to do it.
Thanks in advance for any hints you can give me.
Cheers
Mariano
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch