On 9 October 2011 02:08, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Hi!
There is this method:
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= UIManager>>multiLineRequest: queryString centerAt: aPoint initialAnswer: defaultAnswer answerHeight: answerHeight     "Create a multi-line instance of me whose question is queryString with     the given initial answer. Invoke it centered at the given point, and     answer the string the user accepts.  Answer nil if the user cancels.  An     empty string returned means that the ussr cleared the editing area and     then hit 'accept'.  Because multiple lines are invited, we ask that the user     use the ENTER key, or (in morphic anyway) hit the 'accept' button, to     submit; that way, the return key can be typed to move to the next line."
    self deprecated: 'Use multiLineRequest: queryString centerAt: aPoint initialAnswer: defaultAnswer answerHeight: ' on: '7 September 2011' in: 'Pharo1.4'.     ^self subclassResponsibility -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Apparently, the deprecation message says to use this very method. Which method should I use? Shall I open an entry?
i really wonder why such things are there? UI manager has to provide a simple interface, without any sophisticated stuff, like multiline/multibutton etc. Lets stop bloating the interface, it leads nowhere. -- Best regards, Igor Stasenko.