On Thu, Mar 22, 2018 at 1:41 AM, brett wrote:
> Thank you -- of course ! I had that "ui close" in my code !!! , I'd expected
> the
> form to take control until I exited the form itself and had not considered
> the code would 'fall straight through' to the 'ui close'
>
Thank you -- of course ! I had that "ui close" in my code !!! , I'd expected
the
form to take control until I exited the form itself and had not considered
the code would 'fall straight through' to the 'ui close'
The example form now displays on Pharo's World and is active as expected.
>From
Have you left in that ui close statement that was in your first post? I tried
you code and it worked fine - but if you issue a close you'll have nothing
to see!
--
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
dragoncity-2 wrote
> When I run the
>
> |ui | ... etc from a Playground, I don't get a working UI Form, but
> I get a correctly defined static image layout of the form under 'Morph' IN
> the Playground.
>
> I expected the CustomerSatisfaction UI form to appear as a independent
> item on
You've defined this as an instance method, not a class method
Thanks for that observation! On closer read indeed I had missed the
'class' word in the defaultSpec text on page 6, it
took a little fiddling to get a Class method defined.
Its 'almost' working :-)
When I run the
|ui | ...
On 21 March 2018 at 08:37, dragoncity wrote:
> I had already defined & accepted defaultSpec , as per page 6.
>
> Attached is my CustomerSatisfaction.st file : I assume Pharo will suck it
> back in !
You've defined this as an instance method, not a class method.
If
I had already defined & accepted defaultSpec , as per page 6.
Attached is my CustomerSatisfaction.st file : I assume Pharo will suck
it back in !
On 21/03/18 17:55, Alistair Grant wrote:
On 21 March 2018 at 03:12, dragoncity wrote:
Hello, I'm just getting
at the end of the fifth page
"
The widgets have now been defined and configured, but their placement in
the UI has not yet been specified. This is the role of the class side method
defaultSpec .
"
CustomerSatisfaction class >> defaultSpec
^ SpecLayout composed
newRow: [ :row |
row add:
On 21 March 2018 at 03:12, dragoncity wrote:
> Hello, I'm just getting into Pharo, and am trying to
> do the example 'tutorial' UI programs in chapter 2 of The Spec UI Framework
> book. I have a special interest in end user GUI interfaces for programs. I
> enter the
Hello, I'm just getting into Pharo, and am trying to
do the example 'tutorial' UI programs in chapter 2 of The Spec UI
Framework book. I have a special interest in end user GUI interfaces
for programs. I enter the first example code as written and the methods
are all accepted without errors.
10 matches
Mail list logo