Re: [Pharo-users] my mistake on Spec?

2018-03-07 Thread Sean P. DeNigris
Yuriy Babah wrote > something understood, worked Great! Feel free to keep asking questions and also there are several Discord channels where one can often get immediate dialogue and answers. - Cheers, Sean -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

Re: [Pharo-users] my mistake on Spec?

2018-03-07 Thread Yuriy Babah
something understood, worked " m: = GUI_ListCourtCase new. m openWithSpec: # defaultSpec2. "do something" m inspect " I see an instance variable that is not related to widgets 2018-03-07 22:11 GMT+03:00 Yuriy Babah : > i'm very pleased to! > Generally, I'm not a

Re: [Pharo-users] my mistake on Spec?

2018-03-07 Thread Yuriy Babah
i'm very pleased to! Generally, I'm not a professional programmer. I'm a builder-designer. Аlthough I have been interested in programming for a long time. Аnd sometimes I use it. Faro is very elegant, he has a cool debugger and an inspector, in my opinion. Well, you yourself probably know this. I

Re: [Pharo-users] my mistake on Spec?

2018-03-07 Thread Stephane Ducasse
I'm happy Let us know about your project! And if you need I can do a code review. Stef On Tue, Mar 6, 2018 at 1:36 PM, Yuriy Babah wrote: > Yes, i'm undestand. Looks good now. > > > > > 2018-03-05 23:10 GMT+03:00 Stephane Ducasse : >> >> You

Re: [Pharo-users] my mistake on Spec?

2018-03-06 Thread Yuriy Babah
Yes, i'm undestand. Looks good now. 2018-03-05 23:10 GMT+03:00 Stephane Ducasse : > You should initialize the instance variable > > #subjectTextInput > > I suggest to do your UI incrementally. > > Stef > > On Mon, Mar 5, 2018 at 9:08 PM, Stephane Ducasse >

Re: [Pharo-users] my mistake on Spec?

2018-03-05 Thread Stephane Ducasse
You should initialize the instance variable #subjectTextInput I suggest to do your UI incrementally. Stef On Mon, Mar 5, 2018 at 9:08 PM, Stephane Ducasse wrote: > defaultSpec2 > > ^ SpecLayout composed > newColumn: [ :col | > col > newRow: [ :row | > row > add:

Re: [Pharo-users] my mistake on Spec?

2018-03-05 Thread Stephane Ducasse
defaultSpec2 ^ SpecLayout composed newColumn: [ :col | col newRow: [ :row | row add: #plaintiffsTextInput; add: #addButtonPlaintiffs ]; newRow: [ :row | row add: #defendantsTextInput; add: #addButtonDefendants ]; newRow: [ :row | row add: #thirdPartiesTextInput; add: #addButtonThirdParties ];

Re: [Pharo-users] my mistake on Spec?

2018-03-05 Thread Stephane Ducasse
I'm trying to understand. I do not get a DNU with the following. You cannot put row out of nowhere. defaultSpec ^ SpecLayout composed newColumn: [ :col | col newRow: [ :row | row

Re: [Pharo-users] my mistake on Spec?

2018-03-05 Thread Yuriy Babah
yesterday i did it, and got --> doesNotUndestand #layout 2018-03-05 20:28 GMT+03:00 Stephane Ducasse : > First implement all the missing methods that you use in the spec class > method. > Then let us know. > > Stef > > > On Sun, Mar 4, 2018 at 2:56 PM, Yuriy Babah

Re: [Pharo-users] my mistake on Spec?

2018-03-05 Thread Stephane Ducasse
First implement all the missing methods that you use in the spec class method. Then let us know. Stef On Sun, Mar 4, 2018 at 2:56 PM, Yuriy Babah wrote: > Thanks for your help, Stef. > Mistakes remain, but I will try to understand them > > 2018-03-04 16:35 GMT+03:00

Re: [Pharo-users] my mistake on Spec?

2018-03-04 Thread Yuriy Babah
Thanks for your help, Stef. Mistakes remain, but I will try to understand them 2018-03-04 16:35 GMT+03:00 Stephane Ducasse : > I'm doing a pass on your code > > OrderedCollection new is better to me than #() asOrderedCollection. > > GUI_ListCourtCase new openWithSpec >

Re: [Pharo-users] my mistake on Spec?

2018-03-04 Thread Stephane Ducasse
I'm doing a pass on your code OrderedCollection new is better to me than #() asOrderedCollection. GUI_ListCourtCase new openWithSpec => DNU So I added the first missing method, but you should define the corresponding methods in the class. On Sun, Mar 4, 2018 at 2:28 PM, Stephane Ducasse

Re: [Pharo-users] my mistake on Spec?

2018-03-04 Thread Stephane Ducasse
Hi yuri some feedback before looking into spec. tab method bodies then do not use instance variables with uppercase. Stef On Sun, Mar 4, 2018 at 2:26 PM, Yuriy Babah wrote: > changed > > 2018-03-04 16:20 GMT+03:00 Yuriy Babah : >> >> Is it

Re: [Pharo-users] my mistake on Spec?

2018-03-04 Thread Yuriy Babah
changed 2018-03-04 16:20 GMT+03:00 Yuriy Babah : > Is it enough if I just attach it? > > I slightly changed the code, that leads to error: "DoesNotUndestand > #plaintiffsTextInput" . > > Now I'm studying Help on Spec in SystemBrowser . > > > > 2018-03-04 15:23 GMT+03:00

Re: [Pharo-users] my mistake on Spec?

2018-03-04 Thread Yuriy Babah
Is it enough if I just attach it? I slightly changed the code, that leads to error: "DoesNotUndestand #plaintiffsTextInput" . Now I'm studying Help on Spec in SystemBrowser . 2018-03-04 15:23 GMT+03:00 Stephane Ducasse : > Hi Yuriy > > this is difficult to debug

Re: [Pharo-users] my mistake on Spec?

2018-03-04 Thread Stephane Ducasse
Hi Yuriy this is difficult to debug remotely. Do you have your code somewhere? Stef On Sat, Mar 3, 2018 at 8:41 AM, Yuriy Babah wrote: > Hi! > I'm trying to write GUI element with Spec, Pharo6.1x64 on Linux. > Do according to the SpecBooklet. > > Finished the fragment,

[Pharo-users] my mistake on Spec?

2018-03-02 Thread Yuriy Babah
Hi! I'm trying to write GUI element with Spec, Pharo6.1x64 on Linux. Do according to the SpecBooklet. Finished the fragment, and try do: ui := GUI_ListCourtCase new openWithSpec . -> #value was sent to nil. I look in a debugger and: *openWithSpecLayout: aSpec"Build the widget