Re: [Pharo-users] Want to create a text Field using SPEC2 to get Value from User

2020-07-28 Thread shawon58
Hello KMO i follow your step one by one and make the form but i want to run : connectPresenters myButton whenActivatedDo: [LibC system: 'a.bat', myTextField asString]. That means when i put any value in text field than press click me than that value need to send to my bat file as string. so i

Re: [Pharo-users] Intermediate-Level Tutorials for Pharo

2020-07-28 Thread Russ Whaley
Back on the 'Intermediate Tutorials' question... I would love to see intermediate tutorials on Spec2 and Seaside and perhaps how to best adapt an (Sp)Application to serve both 'presenters' with guidelines on what responsibility goes where on the presenter/component, application, and model(s).

Re: [Pharo-users] Class side vs instance side (variables and methods)

2020-07-28 Thread Esteban Maringolo
Hi, The "class vs instance" side is one of the most confusing things for newcomers, I remember struggling with it when I learnt Smalltalk (and also was a novice in OOP). It helps you thinking it this way: the instance side is everything that will affect all instances of such class, and you can

Re: [Pharo-users] Class side vs instance side (variables and methods)

2020-07-28 Thread Richard Sargent
On Tue, Jul 28, 2020 at 4:35 PM G B via Pharo-users < pharo-users@lists.pharo.org> wrote: > Being new not only to Smalltalk, but OOP in general, I think I finally am > understanding things. One area I am still unsure about is the class side > versus the instance side. Does one usually use the

[Pharo-users] Class side vs instance side (variables and methods)

2020-07-28 Thread G B via Pharo-users
--- Begin Message --- Being new not only to Smalltalk, but OOP in general, I think I finally am understanding things. One area I am still unsure about is the class side versus the instance side. Does one usually use the class side when they want those inherited in every subclass, which frees

Re: [Pharo-users] Want to create a text Field using SPEC2 to get Value from User

2020-07-28 Thread kmo
This code should give you a clue of how to do what you want. You can file it in or type it in yourself. You can run it from the playground with the command - SimpleExample new openWithSpec. How it works - You need to subclass SpPresenter. You need to set up an instance method called

[Pharo-users] Want to create a text Field using SPEC2 to get Value from User

2020-07-28 Thread shawon58
Hello Is there anyone who have idea how to create a textinputfield in spec2/GUI in pharo and get the value from that text field. Cause i want to use LibC fuction to send the text field data to a BAT file. So need help to create a simple textfield that can get the value. I need guide line badly.

Re: [Pharo-users] Fuel - FLSerializer tests are not working (pharo 8)

2020-07-28 Thread Davide Varvello via Pharo-users
--- Begin Message --- Hi, I discovered why tests are failing. The reason is that Fuel is using root directory as working path instead of the working directory. Unfortunately the root dir is not writeable (of course) and so the failings. I guess the mistake occurs because since Pharo (7?) the