On 26 December 2012 01:13, Ben Coman <btc@openinworld.com> wrote:
First, pharo-users is a better forum for such questions.
That said, I recently used Polymorph for the first time. �I found Laurent Laffont's Pharocast [2]
a good tutorial.

[1] http://lists.gforge.inria.fr/mailman/listinfo/pharo-users
[2] http://www.pharocasts.com/2011/02/pharo-gui-with-polymorph.html


Frank Church wrote:
Is there a simple example of how to create a GUI form in Pharo or Squeak?

I want to accomplish a simple task with a form:

1. Create a form with a button and edit control and 2 text areas.

2. Enter a value into the edit control.

3. Run a database query using the value in the edit control as a parameter
and return the results in text area 1

4. Run a shell script using the value in the edit control as a parameter
and return the results in text area 2

I have OpenDBX running successfully and I don't think using OSProcess and
CommandShell will be that difficult.

Creating the form is the part I don't know how to accomplish.

I have done some searching and there seems to be a surprising dearth of
info on how to create a simple GUI from scratch using Pharo or Squeak.





I realized I had posted to the wrong mailing llist.
Anyway I am working my way through the PBE book and I will get there soon enough.



--
Frank Church

=======================
http://devblog.brahmancreations.com